Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_cmd.c603 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local
618 psetstakey_para = kzalloc(sizeof(*psetstakey_para), GFP_KERNEL); in rtw_setstakey_cmd()
619 if (!psetstakey_para) { in rtw_setstakey_cmd()
628 kfree(psetstakey_para); in rtw_setstakey_cmd()
633 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_setstakey_cmd()
637 memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); in rtw_setstakey_cmd()
640 psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd()
642 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd()
645 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd()
647 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd()
[all …]
/linux-6.1.9/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-6.1.9/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.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()