Searched refs:psetkeyparm (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/rtl8723au/core/ |
D | rtw_mlme.c | 1783 struct setkey_parm *psetkeyparm; in rtw_set_key23a() local 1798 psetkeyparm = kzalloc(sizeof(struct setkey_parm), GFP_KERNEL); in rtw_set_key23a() 1799 if (!psetkeyparm) { in rtw_set_key23a() 1806 psetkeyparm->algorithm = (unsigned char) in rtw_set_key23a() 1810 psetkeyparm->algorithm); in rtw_set_key23a() 1812 psetkeyparm->algorithm = (u8)psecuritypriv->dot11PrivacyAlgrthm; in rtw_set_key23a() 1815 psetkeyparm->algorithm); in rtw_set_key23a() 1817 psetkeyparm->keyid = keyid;/* 0~3 */ in rtw_set_key23a() 1818 psetkeyparm->set_tx = set_tx; in rtw_set_key23a() 1819 if (is_wep_enc(psetkeyparm->algorithm)) in rtw_set_key23a() [all …]
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_mlme.c | 1627 struct setkey_parm *psetkeyparm; in rtw_set_key() local 1636 psetkeyparm = kzalloc(sizeof(struct setkey_parm), GFP_KERNEL); in rtw_set_key() 1637 if (psetkeyparm == NULL) { in rtw_set_key() 1642 memset(psetkeyparm, 0, sizeof(struct setkey_parm)); in rtw_set_key() 1645 psetkeyparm->algorithm = (unsigned char)psecuritypriv->dot118021XGrpPrivacy; in rtw_set_key() 1648 psetkeyparm->algorithm)); in rtw_set_key() 1650 psetkeyparm->algorithm = (u8)psecuritypriv->dot11PrivacyAlgrthm; in rtw_set_key() 1653 psetkeyparm->algorithm)); in rtw_set_key() 1655 psetkeyparm->keyid = (u8)keyid;/* 0~3 */ in rtw_set_key() 1656 psetkeyparm->set_tx = set_tx; in rtw_set_key() [all …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_mlme.c | 1237 struct setkey_parm *psetkeyparm; in r8712_set_key() local 1244 psetkeyparm = kzalloc(sizeof(*psetkeyparm), GFP_ATOMIC); in r8712_set_key() 1245 if (psetkeyparm == NULL) { in r8712_set_key() 1250 psetkeyparm->algorithm = in r8712_set_key() 1253 psetkeyparm->algorithm = in r8712_set_key() 1256 psetkeyparm->keyid = (u8)keyid; in r8712_set_key() 1258 switch (psetkeyparm->algorithm) { in r8712_set_key() 1261 memcpy(psetkeyparm->key, in r8712_set_key() 1266 memcpy(psetkeyparm->key, in r8712_set_key() 1275 memcpy(psetkeyparm->key, in r8712_set_key() [all …]
|
/drivers/staging/rtl8723au/os_dep/ |
D | ioctl_cfg80211.c | 426 struct setkey_parm *psetkeyparm; in set_group_key() local 442 psetkeyparm = kzalloc(sizeof(struct setkey_parm), GFP_KERNEL); in set_group_key() 443 if (!psetkeyparm) { in set_group_key() 449 psetkeyparm->keyid = keyid; in set_group_key() 451 padapter->mlmepriv.key_mask |= BIT(psetkeyparm->keyid); in set_group_key() 453 psetkeyparm->algorithm = alg; in set_group_key() 455 psetkeyparm->set_tx = 1; in set_group_key() 457 memcpy(&psetkeyparm->key, parms->key, parms->key_len); in set_group_key() 460 pcmd->parmbuf = (u8 *) psetkeyparm; in set_group_key()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 2150 struct setkey_parm *psetkeyparm; in set_group_key() local 2161 psetkeyparm = kzalloc(sizeof(struct setkey_parm), GFP_KERNEL); in set_group_key() 2162 if (psetkeyparm == NULL) { in set_group_key() 2168 memset(psetkeyparm, 0, sizeof(struct setkey_parm)); in set_group_key() 2170 psetkeyparm->keyid = (u8)keyid; in set_group_key() 2172 psetkeyparm->algorithm = alg; in set_group_key() 2174 psetkeyparm->set_tx = 1; in set_group_key() 2190 memcpy(&(psetkeyparm->key[0]), key, keylen); in set_group_key() 2193 pcmd->parmbuf = (u8 *)psetkeyparm; in set_group_key()
|