Home
last modified time | relevance | path

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

/linux/drivers/staging/rtl8723bs/core/
H A Drtw_cmd.c862 struct set_stakey_parm *psetstakey_para; in rtw_setstakey_cmd() local
869 psetstakey_para = kzalloc_obj(*psetstakey_para); in rtw_setstakey_cmd()
870 if (!psetstakey_para) { in rtw_setstakey_cmd()
875 memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); in rtw_setstakey_cmd()
878 psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd()
880 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd()
883 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd()
885 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd()
893 kfree(psetstakey_para); in rtw_setstakey_cmd()
901 kfree(psetstakey_para); in rtw_setstakey_cmd()
[all …]
H A Drtw_ap.c1228 struct set_stakey_parm *psetstakey_para; in rtw_ap_set_pairwise_key() local
1238 psetstakey_para = kzalloc_obj(*psetstakey_para); in rtw_ap_set_pairwise_key()
1239 if (!psetstakey_para) { in rtw_ap_set_pairwise_key()
1245 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_ap_set_pairwise_key()
1247 psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; in rtw_ap_set_pairwise_key()
1249 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in rtw_ap_set_pairwise_key()
1251 memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); in rtw_ap_set_pairwise_key()