Searched refs:psetkeyparm (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_mlme.c | 1554 struct setkey_parm *psetkeyparm; in rtw_set_key() local 1563 psetkeyparm = kzalloc(sizeof(struct setkey_parm), GFP_KERNEL); in rtw_set_key() 1564 if (!psetkeyparm) { in rtw_set_key() 1570 psetkeyparm->algorithm = (unsigned char)psecuritypriv->dot118021XGrpPrivacy; in rtw_set_key() 1573 __func__, psetkeyparm->algorithm)); in rtw_set_key() 1575 psetkeyparm->algorithm = (u8)psecuritypriv->dot11PrivacyAlgrthm; in rtw_set_key() 1578 __func__, psetkeyparm->algorithm)); in rtw_set_key() 1580 psetkeyparm->keyid = (u8)keyid;/* 0~3 */ in rtw_set_key() 1581 psetkeyparm->set_tx = set_tx; in rtw_set_key() 1582 pmlmepriv->key_mask |= BIT(psetkeyparm->keyid); in rtw_set_key() [all …]
|
/Linux-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme.c | 2170 struct setkey_parm *psetkeyparm; in rtw_set_key() local 2174 psetkeyparm = rtw_zmalloc(sizeof(struct setkey_parm)); in rtw_set_key() 2175 if (!psetkeyparm) { in rtw_set_key() 2181 psetkeyparm->algorithm = (unsigned char)psecuritypriv->dot118021XGrpPrivacy; in rtw_set_key() 2182 …rm->algorithm =(unsigned char)psecuritypriv->dot118021XGrpPrivacy =%d\n", psetkeyparm->algorithm)); in rtw_set_key() 2184 psetkeyparm->algorithm = (u8)psecuritypriv->dot11PrivacyAlgrthm; in rtw_set_key() 2185 …y: psetkeyparm->algorithm =(u8)psecuritypriv->dot11PrivacyAlgrthm =%d\n", psetkeyparm->algorithm)); in rtw_set_key() 2188 psetkeyparm->keyid = (u8)keyid;/* 0~3 */ in rtw_set_key() 2189 psetkeyparm->set_tx = set_tx; in rtw_set_key() 2190 if (is_wep_enc(psetkeyparm->algorithm)) in rtw_set_key() [all …]
|
D | rtw_ap.c | 1488 struct setkey_parm *psetkeyparm; in rtw_ap_set_key() local 1499 psetkeyparm = rtw_zmalloc(sizeof(struct setkey_parm)); in rtw_ap_set_key() 1500 if (psetkeyparm == NULL) { in rtw_ap_set_key() 1506 psetkeyparm->keyid = (u8)keyid; in rtw_ap_set_key() 1508 padapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_ap_set_key() 1510 psetkeyparm->algorithm = alg; in rtw_ap_set_key() 1512 psetkeyparm->set_tx = set_tx; in rtw_ap_set_key() 1528 memcpy(&(psetkeyparm->key[0]), key, keylen); in rtw_ap_set_key() 1531 pcmd->parmbuf = (u8 *)psetkeyparm; in rtw_ap_set_key()
|
/Linux-v5.10/drivers/staging/rtl8712/ |
D | rtl871x_mlme.c | 1179 struct setkey_parm *psetkeyparm; in r8712_set_key() local 1186 psetkeyparm = kzalloc(sizeof(*psetkeyparm), GFP_ATOMIC); in r8712_set_key() 1187 if (!psetkeyparm) { in r8712_set_key() 1192 psetkeyparm->algorithm = in r8712_set_key() 1195 psetkeyparm->algorithm = in r8712_set_key() 1198 psetkeyparm->keyid = (u8)keyid; in r8712_set_key() 1200 switch (psetkeyparm->algorithm) { in r8712_set_key() 1203 memcpy(psetkeyparm->key, in r8712_set_key() 1208 memcpy(psetkeyparm->key, in r8712_set_key() 1217 memcpy(psetkeyparm->key, in r8712_set_key() [all …]
|
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 2088 struct setkey_parm *psetkeyparm; in set_group_key() local 2099 psetkeyparm = kzalloc(sizeof(struct setkey_parm), GFP_KERNEL); in set_group_key() 2100 if (!psetkeyparm) { in set_group_key() 2106 psetkeyparm->keyid = (u8)keyid; in set_group_key() 2108 psetkeyparm->algorithm = alg; in set_group_key() 2110 psetkeyparm->set_tx = 1; in set_group_key() 2126 memcpy(&psetkeyparm->key[0], key, keylen); in set_group_key() 2129 pcmd->parmbuf = (u8 *)psetkeyparm; in set_group_key()
|