Home
last modified time | relevance | path

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

/drivers/staging/rtl8188eu/core/
Drtw_cmd.c570 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local
579 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in rtw_setstakey_cmd()
582 if (!ph2c || !psetstakey_para || !psetstakey_rsp) { in rtw_setstakey_cmd()
584 kfree(psetstakey_para); in rtw_setstakey_cmd()
589 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_setstakey_cmd()
593 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_setstakey_cmd()
596 psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd()
598 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd()
601 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd()
603 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd()
[all …]
/drivers/staging/rtl8712/
Drtl871x_cmd.c630 struct set_stakey_parm *psetstakey_para; in r8712_setstakey_cmd() local
640 psetstakey_para = kmalloc(sizeof(*psetstakey_para), GFP_ATOMIC); in r8712_setstakey_cmd()
641 if (!psetstakey_para) { in r8712_setstakey_cmd()
648 kfree(psetstakey_para); in r8712_setstakey_cmd()
651 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in r8712_setstakey_cmd()
654 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in r8712_setstakey_cmd()
656 psetstakey_para->algorithm = (unsigned char) in r8712_setstakey_cmd()
660 psetstakey_para->algorithm, false); in r8712_setstakey_cmd()
662 memcpy(&psetstakey_para->key, &sta->x_UncstKey, 16); in r8712_setstakey_cmd()
664 memcpy(&psetstakey_para->key, in r8712_setstakey_cmd()
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c2110 struct set_stakey_parm *psetstakey_para; in set_pairwise_key() local
2120 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in set_pairwise_key()
2121 if (!psetstakey_para) { in set_pairwise_key()
2127 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in set_pairwise_key()
2129 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in set_pairwise_key()
2131 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in set_pairwise_key()
2133 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in set_pairwise_key()