Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/drivers/staging/rtl8723bs/core/
Drtw_cmd.c908 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local
916 psetstakey_para = rtw_zmalloc(sizeof(struct set_stakey_parm)); in rtw_setstakey_cmd()
917 if (psetstakey_para == NULL) { in rtw_setstakey_cmd()
922 memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); in rtw_setstakey_cmd()
925 psetstakey_para->algorithm = (unsigned char) psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd()
927 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd()
930 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd()
932 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd()
940 kfree(psetstakey_para); in rtw_setstakey_cmd()
948 kfree(psetstakey_para); in rtw_setstakey_cmd()
[all …]
Drtw_ap.c1267 struct set_stakey_parm *psetstakey_para; in rtw_ap_set_pairwise_key() local
1277 psetstakey_para = rtw_zmalloc(sizeof(struct set_stakey_parm)); in rtw_ap_set_pairwise_key()
1278 if (psetstakey_para == NULL) { in rtw_ap_set_pairwise_key()
1284 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_ap_set_pairwise_key()
1286 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in rtw_ap_set_pairwise_key()
1288 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in rtw_ap_set_pairwise_key()
1290 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in rtw_ap_set_pairwise_key()
/Linux-v5.15/drivers/staging/r8188eu/core/
Drtw_cmd.c968 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local
983 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in rtw_setstakey_cmd()
984 if (!psetstakey_para) { in rtw_setstakey_cmd()
993 kfree(psetstakey_para); in rtw_setstakey_cmd()
998 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_setstakey_cmd()
1002 memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); in rtw_setstakey_cmd()
1005 psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd()
1007 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd()
1010 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd()
1012 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd()
[all …]