Searched refs:psetkeyparm (Results 1 – 4 of 4) sorted by relevance
1150 struct setkey_parm *psetkeyparm; in r8712_set_key() local1157 psetkeyparm = kzalloc(sizeof(*psetkeyparm), GFP_ATOMIC); in r8712_set_key()1158 if (!psetkeyparm) { in r8712_set_key()1163 psetkeyparm->algorithm = in r8712_set_key()1166 psetkeyparm->algorithm = in r8712_set_key()1169 psetkeyparm->keyid = (u8)keyid; in r8712_set_key()1171 switch (psetkeyparm->algorithm) { in r8712_set_key()1174 memcpy(psetkeyparm->key, in r8712_set_key()1179 memcpy(psetkeyparm->key, in r8712_set_key()1188 memcpy(psetkeyparm->key, in r8712_set_key()[all …]
1930 struct setkey_parm *psetkeyparm; in rtw_set_key() local1934 psetkeyparm = rtw_zmalloc(sizeof(struct setkey_parm)); in rtw_set_key()1935 if (!psetkeyparm) { in rtw_set_key()1941 psetkeyparm->algorithm = (unsigned char)psecuritypriv->dot118021XGrpPrivacy; in rtw_set_key()1943 psetkeyparm->algorithm = (u8)psecuritypriv->dot11PrivacyAlgrthm; in rtw_set_key()1945 psetkeyparm->keyid = (u8)keyid;/* 0~3 */ in rtw_set_key()1946 psetkeyparm->set_tx = set_tx; in rtw_set_key()1947 if (is_wep_enc(psetkeyparm->algorithm)) in rtw_set_key()1948 adapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_set_key()1950 switch (psetkeyparm->algorithm) { in rtw_set_key()[all …]
1312 struct setkey_parm *psetkeyparm; in rtw_ap_set_key() local1321 psetkeyparm = rtw_zmalloc(sizeof(struct setkey_parm)); in rtw_ap_set_key()1322 if (!psetkeyparm) { in rtw_ap_set_key()1328 psetkeyparm->keyid = (u8)keyid; in rtw_ap_set_key()1330 padapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_ap_set_key()1332 psetkeyparm->algorithm = alg; in rtw_ap_set_key()1334 psetkeyparm->set_tx = set_tx; in rtw_ap_set_key()1350 memcpy(&(psetkeyparm->key[0]), key, keylen); in rtw_ap_set_key()1353 pcmd->parmbuf = (u8 *)psetkeyparm; in rtw_ap_set_key()
1592 struct setkey_parm *psetkeyparm; in rtw_set_key() local1602 psetkeyparm = kzalloc(sizeof(*psetkeyparm), GFP_KERNEL); in rtw_set_key()1603 if (!psetkeyparm) { in rtw_set_key()1610 psetkeyparm->algorithm = (unsigned char)psecuritypriv->dot118021XGrpPrivacy; in rtw_set_key()1612 psetkeyparm->algorithm = (u8)psecuritypriv->dot11PrivacyAlgrthm; in rtw_set_key()1613 psetkeyparm->keyid = (u8)keyid;/* 0~3 */ in rtw_set_key()1614 psetkeyparm->set_tx = set_tx; in rtw_set_key()1615 pmlmepriv->key_mask |= BIT(psetkeyparm->keyid); in rtw_set_key()1617 switch (psetkeyparm->algorithm) { in rtw_set_key()1620 memcpy(&psetkeyparm->key[0], &psecuritypriv->dot11DefKey[keyid].skey[0], keylen); in rtw_set_key()[all …]