Home
last modified time | relevance | path

Searched refs:psetkeyparm (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_mlme.c1150 struct setkey_parm *psetkeyparm; in r8712_set_key() local
1157 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 …]
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_mlme.c1930 struct setkey_parm *psetkeyparm; in rtw_set_key() local
1934 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 …]
Drtw_ap.c1312 struct setkey_parm *psetkeyparm; in rtw_ap_set_key() local
1321 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()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_mlme.c1592 struct setkey_parm *psetkeyparm; in rtw_set_key() local
1602 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 …]