Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8712/
H A 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()
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_cmd.c867 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local
875 if (!psetstakey_para) { in rtw_setstakey_cmd()
880 memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); in rtw_setstakey_cmd()
898 kfree(psetstakey_para); in rtw_setstakey_cmd()
906 kfree(psetstakey_para); in rtw_setstakey_cmd()
916 set_stakey_hdl(padapter, (u8 *)psetstakey_para); in rtw_setstakey_cmd()
917 kfree(psetstakey_para); in rtw_setstakey_cmd()
926 struct set_stakey_parm *psetstakey_para; in rtw_clearstakey_cmd() local
948 if (!psetstakey_para) { in rtw_clearstakey_cmd()
957 kfree(psetstakey_para); in rtw_clearstakey_cmd()
[all …]
H A 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()