Searched refs:psetkeyparm (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_mlme.c | 1578 struct setkey_parm *psetkeyparm; in rtw_set_key() local 1587 psetkeyparm = kzalloc(sizeof(struct setkey_parm), GFP_KERNEL); in rtw_set_key() 1588 if (!psetkeyparm) { in rtw_set_key() 1594 psetkeyparm->algorithm = (unsigned char)psecuritypriv->dot118021XGrpPrivacy; in rtw_set_key() 1597 psetkeyparm->algorithm)); in rtw_set_key() 1599 psetkeyparm->algorithm = (u8)psecuritypriv->dot11PrivacyAlgrthm; in rtw_set_key() 1602 psetkeyparm->algorithm)); in rtw_set_key() 1604 psetkeyparm->keyid = (u8)keyid;/* 0~3 */ in rtw_set_key() 1605 psetkeyparm->set_tx = set_tx; in rtw_set_key() 1606 pmlmepriv->key_mask |= BIT(psetkeyparm->keyid); in rtw_set_key() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme.c | 2305 struct setkey_parm *psetkeyparm; in rtw_set_key() local 2309 psetkeyparm = rtw_zmalloc(sizeof(struct setkey_parm)); in rtw_set_key() 2310 if (psetkeyparm == NULL) { in rtw_set_key() 2314 memset(psetkeyparm, 0, sizeof(struct setkey_parm)); in rtw_set_key() 2317 psetkeyparm->algorithm = (unsigned char)psecuritypriv->dot118021XGrpPrivacy; in rtw_set_key() 2318 …rm->algorithm =(unsigned char)psecuritypriv->dot118021XGrpPrivacy =%d\n", psetkeyparm->algorithm)); in rtw_set_key() 2320 psetkeyparm->algorithm = (u8)psecuritypriv->dot11PrivacyAlgrthm; in rtw_set_key() 2321 …y: psetkeyparm->algorithm =(u8)psecuritypriv->dot11PrivacyAlgrthm =%d\n", psetkeyparm->algorithm)); in rtw_set_key() 2324 psetkeyparm->keyid = (u8)keyid;/* 0~3 */ in rtw_set_key() 2325 psetkeyparm->set_tx = set_tx; in rtw_set_key() [all …]
|
D | rtw_ap.c | 1617 struct setkey_parm *psetkeyparm; in rtw_ap_set_key() local 1628 psetkeyparm = rtw_zmalloc(sizeof(struct setkey_parm)); in rtw_ap_set_key() 1629 if (psetkeyparm == NULL) { in rtw_ap_set_key() 1635 memset(psetkeyparm, 0, sizeof(struct setkey_parm)); in rtw_ap_set_key() 1637 psetkeyparm->keyid = (u8)keyid; in rtw_ap_set_key() 1639 padapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_ap_set_key() 1641 psetkeyparm->algorithm = alg; in rtw_ap_set_key() 1643 psetkeyparm->set_tx = set_tx; in rtw_ap_set_key() 1660 memcpy(&(psetkeyparm->key[0]), key, keylen); in rtw_ap_set_key() 1663 pcmd->parmbuf = (u8 *)psetkeyparm; in rtw_ap_set_key()
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_mlme.c | 1225 struct setkey_parm *psetkeyparm; in r8712_set_key() local 1232 psetkeyparm = kzalloc(sizeof(*psetkeyparm), GFP_ATOMIC); in r8712_set_key() 1233 if (!psetkeyparm) { in r8712_set_key() 1238 psetkeyparm->algorithm = in r8712_set_key() 1241 psetkeyparm->algorithm = in r8712_set_key() 1244 psetkeyparm->keyid = (u8)keyid; in r8712_set_key() 1246 switch (psetkeyparm->algorithm) { in r8712_set_key() 1249 memcpy(psetkeyparm->key, in r8712_set_key() 1254 memcpy(psetkeyparm->key, in r8712_set_key() 1263 memcpy(psetkeyparm->key, in r8712_set_key() [all …]
|
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 2117 struct setkey_parm *psetkeyparm; in set_group_key() local 2128 psetkeyparm = kzalloc(sizeof(struct setkey_parm), GFP_KERNEL); in set_group_key() 2129 if (!psetkeyparm) { in set_group_key() 2135 psetkeyparm->keyid = (u8)keyid; in set_group_key() 2137 psetkeyparm->algorithm = alg; in set_group_key() 2139 psetkeyparm->set_tx = 1; in set_group_key() 2155 memcpy(&(psetkeyparm->key[0]), key, keylen); in set_group_key() 2158 pcmd->parmbuf = (u8 *)psetkeyparm; in set_group_key()
|