Searched refs:psetkeyparm (Results 1 – 3 of 3) sorted by relevance
1158 psetkeyparm = kzalloc(sizeof(*psetkeyparm), GFP_ATOMIC); in r8712_set_key()1159 if (!psetkeyparm) { in r8712_set_key()1164 psetkeyparm->algorithm = in r8712_set_key()1167 psetkeyparm->algorithm = in r8712_set_key()1175 memcpy(psetkeyparm->key, in r8712_set_key()1180 memcpy(psetkeyparm->key, in r8712_set_key()1189 memcpy(psetkeyparm->key, in r8712_set_key()1191 psetkeyparm->grpkey = 1; in r8712_set_key()1199 memcpy(psetkeyparm->key, in r8712_set_key()1201 psetkeyparm->grpkey = 1; in r8712_set_key()[all …]
1920 struct setkey_parm *psetkeyparm; in rtw_set_key() local1925 if (!psetkeyparm) { in rtw_set_key()1936 psetkeyparm->set_tx = set_tx; in rtw_set_key()1937 if (is_wep_enc(psetkeyparm->algorithm)) in rtw_set_key()1940 switch (psetkeyparm->algorithm) { in rtw_set_key()1953 psetkeyparm->grpkey = 1; in rtw_set_key()1958 psetkeyparm->grpkey = 1; in rtw_set_key()1962 kfree(psetkeyparm); in rtw_set_key()1969 kfree(psetkeyparm); in rtw_set_key()1975 pcmd->parmbuf = (u8 *)psetkeyparm; in rtw_set_key()[all …]
1311 struct setkey_parm *psetkeyparm; in rtw_ap_set_key() local1320 psetkeyparm = rtw_zmalloc(sizeof(struct setkey_parm)); in rtw_ap_set_key()1321 if (!psetkeyparm) { in rtw_ap_set_key()1327 psetkeyparm->keyid = (u8)keyid; in rtw_ap_set_key()1329 padapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_ap_set_key()1331 psetkeyparm->algorithm = alg; in rtw_ap_set_key()1333 psetkeyparm->set_tx = set_tx; in rtw_ap_set_key()1349 memcpy(&(psetkeyparm->key[0]), key, keylen); in rtw_ap_set_key()1352 pcmd->parmbuf = (u8 *)psetkeyparm; in rtw_ap_set_key()