Searched refs:psetstakey_para (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_cmd.c | 547 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local 556 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in rtw_setstakey_cmd() 559 if (!ph2c || !psetstakey_para || !psetstakey_rsp) { in rtw_setstakey_cmd() 561 kfree(psetstakey_para); in rtw_setstakey_cmd() 566 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_setstakey_cmd() 570 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_setstakey_cmd() 573 psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd() 575 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd() 578 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd() 580 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd() [all …]
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_cmd.c | 633 struct set_stakey_parm *psetstakey_para; in r8712_setstakey_cmd() local 643 psetstakey_para = kmalloc(sizeof(*psetstakey_para), GFP_ATOMIC); in r8712_setstakey_cmd() 644 if (!psetstakey_para) { in r8712_setstakey_cmd() 651 kfree(psetstakey_para); in r8712_setstakey_cmd() 654 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in r8712_setstakey_cmd() 657 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in r8712_setstakey_cmd() 659 psetstakey_para->algorithm = (unsigned char) in r8712_setstakey_cmd() 663 psetstakey_para->algorithm, false); in r8712_setstakey_cmd() 665 memcpy(&psetstakey_para->key, &sta->x_UncstKey, 16); in r8712_setstakey_cmd() 667 memcpy(&psetstakey_para->key, in r8712_setstakey_cmd()
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_cmd.c | 1001 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local 1009 psetstakey_para = rtw_zmalloc(sizeof(struct set_stakey_parm)); in rtw_setstakey_cmd() 1010 if (psetstakey_para == NULL) { in rtw_setstakey_cmd() 1015 memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); in rtw_setstakey_cmd() 1018 psetstakey_para->algorithm = (unsigned char) psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd() 1020 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd() 1024 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd() 1026 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd() 1035 kfree(psetstakey_para); in rtw_setstakey_cmd() 1043 kfree(psetstakey_para); in rtw_setstakey_cmd() [all …]
|
D | rtw_ap.c | 1572 struct set_stakey_parm *psetstakey_para; in rtw_ap_set_pairwise_key() local 1582 psetstakey_para = rtw_zmalloc(sizeof(struct set_stakey_parm)); in rtw_ap_set_pairwise_key() 1583 if (psetstakey_para == NULL) { in rtw_ap_set_pairwise_key() 1589 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_ap_set_pairwise_key() 1592 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in rtw_ap_set_pairwise_key() 1594 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in rtw_ap_set_pairwise_key() 1596 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in rtw_ap_set_pairwise_key()
|
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 2081 struct set_stakey_parm *psetstakey_para; in set_pairwise_key() local 2091 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in set_pairwise_key() 2092 if (!psetstakey_para) { in set_pairwise_key() 2098 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in set_pairwise_key() 2100 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in set_pairwise_key() 2102 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in set_pairwise_key() 2104 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in set_pairwise_key()
|