psetkeyparm 1554 drivers/staging/rtl8188eu/core/rtw_mlme.c struct setkey_parm *psetkeyparm; psetkeyparm 1563 drivers/staging/rtl8188eu/core/rtw_mlme.c psetkeyparm = kzalloc(sizeof(struct setkey_parm), GFP_KERNEL); psetkeyparm 1564 drivers/staging/rtl8188eu/core/rtw_mlme.c if (!psetkeyparm) { psetkeyparm 1570 drivers/staging/rtl8188eu/core/rtw_mlme.c psetkeyparm->algorithm = (unsigned char)psecuritypriv->dot118021XGrpPrivacy; psetkeyparm 1573 drivers/staging/rtl8188eu/core/rtw_mlme.c __func__, psetkeyparm->algorithm)); psetkeyparm 1575 drivers/staging/rtl8188eu/core/rtw_mlme.c psetkeyparm->algorithm = (u8)psecuritypriv->dot11PrivacyAlgrthm; psetkeyparm 1578 drivers/staging/rtl8188eu/core/rtw_mlme.c __func__, psetkeyparm->algorithm)); psetkeyparm 1580 drivers/staging/rtl8188eu/core/rtw_mlme.c psetkeyparm->keyid = (u8)keyid;/* 0~3 */ psetkeyparm 1581 drivers/staging/rtl8188eu/core/rtw_mlme.c psetkeyparm->set_tx = set_tx; psetkeyparm 1582 drivers/staging/rtl8188eu/core/rtw_mlme.c pmlmepriv->key_mask |= BIT(psetkeyparm->keyid); psetkeyparm 1584 drivers/staging/rtl8188eu/core/rtw_mlme.c __func__, psetkeyparm->algorithm, psetkeyparm->keyid, psetkeyparm 1588 drivers/staging/rtl8188eu/core/rtw_mlme.c __func__, psetkeyparm->algorithm, keyid)); psetkeyparm 1590 drivers/staging/rtl8188eu/core/rtw_mlme.c switch (psetkeyparm->algorithm) { psetkeyparm 1593 drivers/staging/rtl8188eu/core/rtw_mlme.c memcpy(&psetkeyparm->key[0], psetkeyparm 1598 drivers/staging/rtl8188eu/core/rtw_mlme.c memcpy(&psetkeyparm->key[0], psetkeyparm 1603 drivers/staging/rtl8188eu/core/rtw_mlme.c memcpy(&psetkeyparm->key, &psecuritypriv->dot118021XGrpKey[keyid], keylen); psetkeyparm 1604 drivers/staging/rtl8188eu/core/rtw_mlme.c psetkeyparm->grpkey = 1; psetkeyparm 1608 drivers/staging/rtl8188eu/core/rtw_mlme.c memcpy(&psetkeyparm->key, &psecuritypriv->dot118021XGrpKey[keyid], keylen); psetkeyparm 1609 drivers/staging/rtl8188eu/core/rtw_mlme.c psetkeyparm->grpkey = 1; psetkeyparm 1619 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd->parmbuf = (u8 *)psetkeyparm; psetkeyparm 1627 drivers/staging/rtl8188eu/core/rtw_mlme.c kfree(psetkeyparm); psetkeyparm 2119 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct setkey_parm *psetkeyparm; psetkeyparm 2130 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psetkeyparm = kzalloc(sizeof(struct setkey_parm), GFP_KERNEL); psetkeyparm 2131 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!psetkeyparm) { psetkeyparm 2137 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psetkeyparm->keyid = (u8)keyid; psetkeyparm 2139 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psetkeyparm->algorithm = alg; psetkeyparm 2141 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psetkeyparm->set_tx = 1; psetkeyparm 2157 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(&(psetkeyparm->key[0]), key, keylen); psetkeyparm 2160 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c pcmd->parmbuf = (u8 *)psetkeyparm; psetkeyparm 1180 drivers/staging/rtl8712/rtl871x_mlme.c struct setkey_parm *psetkeyparm; psetkeyparm 1187 drivers/staging/rtl8712/rtl871x_mlme.c psetkeyparm = kzalloc(sizeof(*psetkeyparm), GFP_ATOMIC); psetkeyparm 1188 drivers/staging/rtl8712/rtl871x_mlme.c if (!psetkeyparm) { psetkeyparm 1193 drivers/staging/rtl8712/rtl871x_mlme.c psetkeyparm->algorithm = psetkeyparm 1196 drivers/staging/rtl8712/rtl871x_mlme.c psetkeyparm->algorithm = psetkeyparm 1199 drivers/staging/rtl8712/rtl871x_mlme.c psetkeyparm->keyid = (u8)keyid; psetkeyparm 1201 drivers/staging/rtl8712/rtl871x_mlme.c switch (psetkeyparm->algorithm) { psetkeyparm 1204 drivers/staging/rtl8712/rtl871x_mlme.c memcpy(psetkeyparm->key, psetkeyparm 1209 drivers/staging/rtl8712/rtl871x_mlme.c memcpy(psetkeyparm->key, psetkeyparm 1218 drivers/staging/rtl8712/rtl871x_mlme.c memcpy(psetkeyparm->key, psetkeyparm 1220 drivers/staging/rtl8712/rtl871x_mlme.c psetkeyparm->grpkey = 1; psetkeyparm 1228 drivers/staging/rtl8712/rtl871x_mlme.c memcpy(psetkeyparm->key, psetkeyparm 1230 drivers/staging/rtl8712/rtl871x_mlme.c psetkeyparm->grpkey = 1; psetkeyparm 1237 drivers/staging/rtl8712/rtl871x_mlme.c pcmd->parmbuf = (u8 *)psetkeyparm; psetkeyparm 1246 drivers/staging/rtl8712/rtl871x_mlme.c kfree(psetkeyparm); psetkeyparm 1486 drivers/staging/rtl8723bs/core/rtw_ap.c struct setkey_parm *psetkeyparm; psetkeyparm 1497 drivers/staging/rtl8723bs/core/rtw_ap.c psetkeyparm = rtw_zmalloc(sizeof(struct setkey_parm)); psetkeyparm 1498 drivers/staging/rtl8723bs/core/rtw_ap.c if (psetkeyparm == NULL) { psetkeyparm 1504 drivers/staging/rtl8723bs/core/rtw_ap.c psetkeyparm->keyid = (u8)keyid; psetkeyparm 1506 drivers/staging/rtl8723bs/core/rtw_ap.c padapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); psetkeyparm 1508 drivers/staging/rtl8723bs/core/rtw_ap.c psetkeyparm->algorithm = alg; psetkeyparm 1510 drivers/staging/rtl8723bs/core/rtw_ap.c psetkeyparm->set_tx = set_tx; psetkeyparm 1526 drivers/staging/rtl8723bs/core/rtw_ap.c memcpy(&(psetkeyparm->key[0]), key, keylen); psetkeyparm 1529 drivers/staging/rtl8723bs/core/rtw_ap.c pcmd->parmbuf = (u8 *)psetkeyparm; psetkeyparm 2245 drivers/staging/rtl8723bs/core/rtw_mlme.c struct setkey_parm *psetkeyparm; psetkeyparm 2249 drivers/staging/rtl8723bs/core/rtw_mlme.c psetkeyparm = rtw_zmalloc(sizeof(struct setkey_parm)); psetkeyparm 2250 drivers/staging/rtl8723bs/core/rtw_mlme.c if (psetkeyparm == NULL) { psetkeyparm 2256 drivers/staging/rtl8723bs/core/rtw_mlme.c psetkeyparm->algorithm = (unsigned char)psecuritypriv->dot118021XGrpPrivacy; psetkeyparm 2257 drivers/staging/rtl8723bs/core/rtw_mlme.c RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("\n rtw_set_key: psetkeyparm->algorithm =(unsigned char)psecuritypriv->dot118021XGrpPrivacy =%d\n", psetkeyparm->algorithm)); psetkeyparm 2259 drivers/staging/rtl8723bs/core/rtw_mlme.c psetkeyparm->algorithm = (u8)psecuritypriv->dot11PrivacyAlgrthm; psetkeyparm 2260 drivers/staging/rtl8723bs/core/rtw_mlme.c RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("\n rtw_set_key: psetkeyparm->algorithm =(u8)psecuritypriv->dot11PrivacyAlgrthm =%d\n", psetkeyparm->algorithm)); psetkeyparm 2263 drivers/staging/rtl8723bs/core/rtw_mlme.c psetkeyparm->keyid = (u8)keyid;/* 0~3 */ psetkeyparm 2264 drivers/staging/rtl8723bs/core/rtw_mlme.c psetkeyparm->set_tx = set_tx; psetkeyparm 2265 drivers/staging/rtl8723bs/core/rtw_mlme.c if (is_wep_enc(psetkeyparm->algorithm)) psetkeyparm 2266 drivers/staging/rtl8723bs/core/rtw_mlme.c adapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); psetkeyparm 2268 drivers/staging/rtl8723bs/core/rtw_mlme.c DBG_871X("==> rtw_set_key algorithm(%x), keyid(%x), key_mask(%x)\n", psetkeyparm->algorithm, psetkeyparm->keyid, adapter->securitypriv.key_mask); psetkeyparm 2269 drivers/staging/rtl8723bs/core/rtw_mlme.c RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("\n rtw_set_key: psetkeyparm->algorithm =%d psetkeyparm->keyid =(u8)keyid =%d\n", psetkeyparm->algorithm, keyid)); psetkeyparm 2271 drivers/staging/rtl8723bs/core/rtw_mlme.c switch (psetkeyparm->algorithm) { psetkeyparm 2275 drivers/staging/rtl8723bs/core/rtw_mlme.c memcpy(&(psetkeyparm->key[0]), &(psecuritypriv->dot11DefKey[keyid].skey[0]), keylen); psetkeyparm 2279 drivers/staging/rtl8723bs/core/rtw_mlme.c memcpy(&(psetkeyparm->key[0]), &(psecuritypriv->dot11DefKey[keyid].skey[0]), keylen); psetkeyparm 2283 drivers/staging/rtl8723bs/core/rtw_mlme.c memcpy(&psetkeyparm->key, &psecuritypriv->dot118021XGrpKey[keyid], keylen); psetkeyparm 2284 drivers/staging/rtl8723bs/core/rtw_mlme.c psetkeyparm->grpkey = 1; psetkeyparm 2288 drivers/staging/rtl8723bs/core/rtw_mlme.c memcpy(&psetkeyparm->key, &psecuritypriv->dot118021XGrpKey[keyid], keylen); psetkeyparm 2289 drivers/staging/rtl8723bs/core/rtw_mlme.c psetkeyparm->grpkey = 1; psetkeyparm 2294 drivers/staging/rtl8723bs/core/rtw_mlme.c kfree((unsigned char *)psetkeyparm); psetkeyparm 2302 drivers/staging/rtl8723bs/core/rtw_mlme.c kfree((unsigned char *)psetkeyparm); psetkeyparm 2308 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd->parmbuf = (u8 *)psetkeyparm; psetkeyparm 2317 drivers/staging/rtl8723bs/core/rtw_mlme.c setkey_hdl(adapter, (u8 *)psetkeyparm); psetkeyparm 2318 drivers/staging/rtl8723bs/core/rtw_mlme.c kfree((u8 *) psetkeyparm);