Searched refs:psetstakey_para (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/drivers/staging/rtl8723au/core/ |
D | rtw_cmd.c | 665 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd23a() local 679 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in rtw_setstakey_cmd23a() 680 if (!psetstakey_para) { in rtw_setstakey_cmd23a() 689 kfree(psetstakey_para); in rtw_setstakey_cmd23a() 694 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_setstakey_cmd23a() 698 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_setstakey_cmd23a() 701 psetstakey_para->algorithm = in rtw_setstakey_cmd23a() 704 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, in rtw_setstakey_cmd23a() 709 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd23a() 713 memcpy(&psetstakey_para->key, in rtw_setstakey_cmd23a() [all …]
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
D | rtw_cmd.c | 603 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local 619 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in rtw_setstakey_cmd() 620 if (psetstakey_para == NULL) { in rtw_setstakey_cmd() 629 kfree(psetstakey_para); in rtw_setstakey_cmd() 634 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_setstakey_cmd() 638 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_setstakey_cmd() 641 psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd() 643 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd() 646 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd() 648 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd() [all …]
|
/linux-4.4.14/drivers/staging/rtl8712/ |
D | rtl871x_cmd.c | 652 struct set_stakey_parm *psetstakey_para; in r8712_setstakey_cmd() local 662 psetstakey_para = kmalloc(sizeof(*psetstakey_para), GFP_ATOMIC); in r8712_setstakey_cmd() 663 if (psetstakey_para == NULL) { in r8712_setstakey_cmd() 670 kfree(psetstakey_para); in r8712_setstakey_cmd() 673 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in r8712_setstakey_cmd() 676 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in r8712_setstakey_cmd() 678 psetstakey_para->algorithm = (unsigned char) in r8712_setstakey_cmd() 682 psetstakey_para->algorithm, false); in r8712_setstakey_cmd() 684 memcpy(&psetstakey_para->key, &sta->x_UncstKey, 16); in r8712_setstakey_cmd() 686 memcpy(&psetstakey_para->key, in r8712_setstakey_cmd()
|
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/ |
D | ioctl_cfg80211.c | 391 struct set_stakey_parm *psetstakey_para; in set_pairwise_key() local 401 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in set_pairwise_key() 402 if (psetstakey_para == NULL) { in set_pairwise_key() 408 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in set_pairwise_key() 410 psetstakey_para->algorithm = psta->dot118021XPrivacy; in set_pairwise_key() 412 ether_addr_copy(psetstakey_para->addr, psta->hwaddr); in set_pairwise_key() 414 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in set_pairwise_key()
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 2118 struct set_stakey_parm *psetstakey_para; in set_pairwise_key() local 2128 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in set_pairwise_key() 2129 if (psetstakey_para == NULL) { in set_pairwise_key() 2135 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in set_pairwise_key() 2137 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in set_pairwise_key() 2139 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in set_pairwise_key() 2141 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in set_pairwise_key()
|