Home
last modified time | relevance | path

Searched refs:psetstakey_para (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/staging/r8188eu/core/
Drtw_cmd.c622 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local
637 psetstakey_para = kzalloc(sizeof(*psetstakey_para), GFP_KERNEL); in rtw_setstakey_cmd()
638 if (!psetstakey_para) { in rtw_setstakey_cmd()
647 kfree(psetstakey_para); in rtw_setstakey_cmd()
652 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_setstakey_cmd()
656 memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); in rtw_setstakey_cmd()
659 psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd()
661 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd()
664 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd()
666 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd()
[all …]
/linux-5.19.10/drivers/staging/rtl8712/
Drtl871x_cmd.c517 struct set_stakey_parm *psetstakey_para; in r8712_setstakey_cmd() local
527 psetstakey_para = kmalloc(sizeof(*psetstakey_para), GFP_ATOMIC); in r8712_setstakey_cmd()
528 if (!psetstakey_para) { in r8712_setstakey_cmd()
535 kfree(psetstakey_para); in r8712_setstakey_cmd()
538 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in r8712_setstakey_cmd()
541 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in r8712_setstakey_cmd()
543 psetstakey_para->algorithm = (unsigned char) in r8712_setstakey_cmd()
547 psetstakey_para->algorithm, false); in r8712_setstakey_cmd()
549 memcpy(&psetstakey_para->key, &sta->x_UncstKey, 16); in r8712_setstakey_cmd()
551 memcpy(&psetstakey_para->key, in r8712_setstakey_cmd()
/linux-5.19.10/drivers/staging/rtl8723bs/core/
Drtw_cmd.c900 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local
907 psetstakey_para = rtw_zmalloc(sizeof(struct set_stakey_parm)); in rtw_setstakey_cmd()
908 if (!psetstakey_para) { in rtw_setstakey_cmd()
913 memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); in rtw_setstakey_cmd()
916 psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd()
918 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd()
921 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd()
923 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd()
931 kfree(psetstakey_para); in rtw_setstakey_cmd()
939 kfree(psetstakey_para); in rtw_setstakey_cmd()
[all …]
Drtw_ap.c1270 struct set_stakey_parm *psetstakey_para; in rtw_ap_set_pairwise_key() local
1280 psetstakey_para = rtw_zmalloc(sizeof(struct set_stakey_parm)); in rtw_ap_set_pairwise_key()
1281 if (!psetstakey_para) { in rtw_ap_set_pairwise_key()
1287 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_ap_set_pairwise_key()
1289 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in rtw_ap_set_pairwise_key()
1291 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in rtw_ap_set_pairwise_key()
1293 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in rtw_ap_set_pairwise_key()