Searched refs:psetstakey_para (Results 1 – 5 of 5) sorted by relevance
| /linux-4.1.27/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.1.27/drivers/staging/rtl8723au/core/ |
| D | rtw_cmd.c | 664 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd23a() local 678 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in rtw_setstakey_cmd23a() 679 if (!psetstakey_para) { in rtw_setstakey_cmd23a() 688 kfree(psetstakey_para); in rtw_setstakey_cmd23a() 693 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_setstakey_cmd23a() 697 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_setstakey_cmd23a() 700 psetstakey_para->algorithm = in rtw_setstakey_cmd23a() 703 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, in rtw_setstakey_cmd23a() 708 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd23a() 712 memcpy(&psetstakey_para->key, in rtw_setstakey_cmd23a() [all …]
|
| /linux-4.1.27/drivers/staging/rtl8712/ |
| D | rtl871x_cmd.c | 662 struct set_stakey_parm *psetstakey_para; in r8712_setstakey_cmd() local 672 psetstakey_para = kmalloc(sizeof(*psetstakey_para), GFP_ATOMIC); in r8712_setstakey_cmd() 673 if (psetstakey_para == NULL) { in r8712_setstakey_cmd() 680 kfree(psetstakey_para); in r8712_setstakey_cmd() 683 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in r8712_setstakey_cmd() 686 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in r8712_setstakey_cmd() 688 psetstakey_para->algorithm = (unsigned char) in r8712_setstakey_cmd() 692 psetstakey_para->algorithm, false); in r8712_setstakey_cmd() 694 memcpy(&psetstakey_para->key, &sta->x_UncstKey, 16); in r8712_setstakey_cmd() 696 memcpy(&psetstakey_para->key, in r8712_setstakey_cmd()
|
| /linux-4.1.27/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.1.27/drivers/staging/rtl8188eu/os_dep/ |
| D | ioctl_linux.c | 2116 struct set_stakey_parm *psetstakey_para; in set_pairwise_key() local 2126 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in set_pairwise_key() 2127 if (psetstakey_para == NULL) { in set_pairwise_key() 2133 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in set_pairwise_key() 2135 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in set_pairwise_key() 2137 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in set_pairwise_key() 2139 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in set_pairwise_key()
|