Searched refs:psetstakey_para (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_cmd.c | 561 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local 570 psetstakey_para = kzalloc(sizeof(*psetstakey_para), GFP_KERNEL); in rtw_setstakey_cmd() 573 if (!ph2c || !psetstakey_para || !psetstakey_rsp) { in rtw_setstakey_cmd() 575 kfree(psetstakey_para); in rtw_setstakey_cmd() 580 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_setstakey_cmd() 584 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_setstakey_cmd() 587 psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd() 589 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd() 592 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd() 594 memcpy(&psetstakey_para->key, in rtw_setstakey_cmd() [all …]
|
/Linux-v5.10/drivers/staging/rtl8712/ |
D | rtl871x_cmd.c | 515 struct set_stakey_parm *psetstakey_para; in r8712_setstakey_cmd() local 525 psetstakey_para = kmalloc(sizeof(*psetstakey_para), GFP_ATOMIC); in r8712_setstakey_cmd() 526 if (!psetstakey_para) { in r8712_setstakey_cmd() 533 kfree(psetstakey_para); in r8712_setstakey_cmd() 536 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in r8712_setstakey_cmd() 539 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in r8712_setstakey_cmd() 541 psetstakey_para->algorithm = (unsigned char) in r8712_setstakey_cmd() 545 psetstakey_para->algorithm, false); in r8712_setstakey_cmd() 547 memcpy(&psetstakey_para->key, &sta->x_UncstKey, 16); in r8712_setstakey_cmd() 549 memcpy(&psetstakey_para->key, in r8712_setstakey_cmd()
|
/Linux-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_cmd.c | 962 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local 970 psetstakey_para = rtw_zmalloc(sizeof(struct set_stakey_parm)); in rtw_setstakey_cmd() 971 if (psetstakey_para == NULL) { in rtw_setstakey_cmd() 976 memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); in rtw_setstakey_cmd() 979 psetstakey_para->algorithm = (unsigned char) psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd() 981 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd() 985 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd() 987 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd() 996 kfree(psetstakey_para); in rtw_setstakey_cmd() 1004 kfree(psetstakey_para); in rtw_setstakey_cmd() [all …]
|
D | rtw_ap.c | 1446 struct set_stakey_parm *psetstakey_para; in rtw_ap_set_pairwise_key() local 1456 psetstakey_para = rtw_zmalloc(sizeof(struct set_stakey_parm)); in rtw_ap_set_pairwise_key() 1457 if (psetstakey_para == NULL) { in rtw_ap_set_pairwise_key() 1463 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_ap_set_pairwise_key() 1465 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in rtw_ap_set_pairwise_key() 1467 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in rtw_ap_set_pairwise_key() 1469 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in rtw_ap_set_pairwise_key()
|
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 2052 struct set_stakey_parm *psetstakey_para; in set_pairwise_key() local 2062 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in set_pairwise_key() 2063 if (!psetstakey_para) { in set_pairwise_key() 2069 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in set_pairwise_key() 2071 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in set_pairwise_key() 2073 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in set_pairwise_key() 2075 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in set_pairwise_key()
|