Searched refs:psetstakey_para (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/drivers/staging/rtl8188eu/core/ |
| D | rtw_cmd.c | 543 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local 552 psetstakey_para = kzalloc(sizeof(*psetstakey_para), GFP_KERNEL); in rtw_setstakey_cmd() 555 if (!ph2c || !psetstakey_para || !psetstakey_rsp) { in rtw_setstakey_cmd() 557 kfree(psetstakey_para); in rtw_setstakey_cmd() 562 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_setstakey_cmd() 566 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_setstakey_cmd() 569 psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd() 571 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd() 574 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd() 576 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd() [all …]
|
| /Linux-v5.4/drivers/staging/rtl8712/ |
| D | rtl871x_cmd.c | 520 struct set_stakey_parm *psetstakey_para; in r8712_setstakey_cmd() local 530 psetstakey_para = kmalloc(sizeof(*psetstakey_para), GFP_ATOMIC); in r8712_setstakey_cmd() 531 if (!psetstakey_para) { in r8712_setstakey_cmd() 538 kfree(psetstakey_para); in r8712_setstakey_cmd() 541 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in r8712_setstakey_cmd() 544 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in r8712_setstakey_cmd() 546 psetstakey_para->algorithm = (unsigned char) in r8712_setstakey_cmd() 550 psetstakey_para->algorithm, false); in r8712_setstakey_cmd() 552 memcpy(&psetstakey_para->key, &sta->x_UncstKey, 16); in r8712_setstakey_cmd() 554 memcpy(&psetstakey_para->key, in r8712_setstakey_cmd()
|
| /Linux-v5.4/drivers/staging/rtl8723bs/core/ |
| D | rtw_cmd.c | 974 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local 982 psetstakey_para = rtw_zmalloc(sizeof(struct set_stakey_parm)); in rtw_setstakey_cmd() 983 if (psetstakey_para == NULL) { in rtw_setstakey_cmd() 988 memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); in rtw_setstakey_cmd() 991 psetstakey_para->algorithm = (unsigned char) psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd() 993 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd() 997 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd() 999 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd() 1008 kfree(psetstakey_para); in rtw_setstakey_cmd() 1016 kfree(psetstakey_para); in rtw_setstakey_cmd() [all …]
|
| D | rtw_ap.c | 1444 struct set_stakey_parm *psetstakey_para; in rtw_ap_set_pairwise_key() local 1454 psetstakey_para = rtw_zmalloc(sizeof(struct set_stakey_parm)); in rtw_ap_set_pairwise_key() 1455 if (psetstakey_para == NULL) { in rtw_ap_set_pairwise_key() 1461 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_ap_set_pairwise_key() 1463 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in rtw_ap_set_pairwise_key() 1465 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in rtw_ap_set_pairwise_key() 1467 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in rtw_ap_set_pairwise_key()
|
| /Linux-v5.4/drivers/staging/rtl8188eu/os_dep/ |
| D | ioctl_linux.c | 2080 struct set_stakey_parm *psetstakey_para; in set_pairwise_key() local 2090 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in set_pairwise_key() 2091 if (!psetstakey_para) { in set_pairwise_key() 2097 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in set_pairwise_key() 2099 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in set_pairwise_key() 2101 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in set_pairwise_key() 2103 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in set_pairwise_key()
|