Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/staging/rtl8723bs/core/
Drtw_cmd.c867 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local
874 psetstakey_para = rtw_zmalloc(sizeof(struct set_stakey_parm)); in rtw_setstakey_cmd()
875 if (!psetstakey_para) { in rtw_setstakey_cmd()
880 memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); in rtw_setstakey_cmd()
883 psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd()
885 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd()
888 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd()
890 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd()
898 kfree(psetstakey_para); in rtw_setstakey_cmd()
906 kfree(psetstakey_para); in rtw_setstakey_cmd()
[all …]
Drtw_ap.c1269 struct set_stakey_parm *psetstakey_para; in rtw_ap_set_pairwise_key() local
1279 psetstakey_para = rtw_zmalloc(sizeof(struct set_stakey_parm)); in rtw_ap_set_pairwise_key()
1280 if (!psetstakey_para) { in rtw_ap_set_pairwise_key()
1286 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_ap_set_pairwise_key()
1288 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in rtw_ap_set_pairwise_key()
1290 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in rtw_ap_set_pairwise_key()
1292 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in rtw_ap_set_pairwise_key()