/drivers/staging/rtl8188eu/core/ |
D | rtw_ioctl_set.c | 495 int keyid, res; in rtw_set_802_11_add_wep() local 500 keyid = wep->KeyIndex & 0x3fffffff; in rtw_set_802_11_add_wep() 502 if (keyid >= 4) { in rtw_set_802_11_add_wep() 524 wep->KeyLength, wep->KeyIndex, keyid)); in rtw_set_802_11_add_wep() 526 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->KeyMaterial), wep->KeyLength); in rtw_set_802_11_add_wep() 528 psecuritypriv->dot11DefKeylen[keyid] = wep->KeyLength; in rtw_set_802_11_add_wep() 530 psecuritypriv->dot11PrivacyKeyIndex = keyid; in rtw_set_802_11_add_wep() 534 psecuritypriv->dot11DefKey[keyid].skey[0], in rtw_set_802_11_add_wep() 535 psecuritypriv->dot11DefKey[keyid].skey[1], in rtw_set_802_11_add_wep() 536 psecuritypriv->dot11DefKey[keyid].skey[2], in rtw_set_802_11_add_wep() [all …]
|
D | rtw_pwrctrl.c | 171 int keyid; in ips_leave() local 191 for (keyid = 0; keyid < 4; keyid++) { in ips_leave() 192 if (pmlmepriv->key_mask & BIT(keyid)) { in ips_leave() 193 if (keyid == psecuritypriv->dot11PrivacyKeyIndex) in ips_leave() 194 result = rtw_set_key(padapter, psecuritypriv, keyid, 1); in ips_leave() 196 result = rtw_set_key(padapter, psecuritypriv, keyid, 0); in ips_leave()
|
D | rtw_mlme.c | 1594 int rtw_set_key(struct adapter *adapter, struct security_priv *psecuritypriv, int keyid, u8 set_tx) in rtw_set_key() argument 1626 psetkeyparm->keyid = (u8)keyid;/* 0~3 */ in rtw_set_key() 1628 pmlmepriv->key_mask |= BIT(psetkeyparm->keyid); in rtw_set_key() 1630 psetkeyparm->algorithm, psetkeyparm->keyid, pmlmepriv->key_mask); in rtw_set_key() 1633 psetkeyparm->algorithm, keyid)); in rtw_set_key() 1638 memcpy(&(psetkeyparm->key[0]), &(psecuritypriv->dot11DefKey[keyid].skey[0]), keylen); in rtw_set_key() 1642 memcpy(&(psetkeyparm->key[0]), &(psecuritypriv->dot11DefKey[keyid].skey[0]), keylen); in rtw_set_key() 1646 memcpy(&psetkeyparm->key, &psecuritypriv->dot118021XGrpKey[keyid], keylen); in rtw_set_key() 1651 memcpy(&psetkeyparm->key, &psecuritypriv->dot118021XGrpKey[keyid], keylen); in rtw_set_key()
|
D | rtw_mlme_ext.c | 5293 pmlmeinfo->key_index = pparm->keyid; in setkey_hdl() 5296 ctrl = BIT(15) | ((pparm->algorithm) << 2) | pparm->keyid; in setkey_hdl() 5299 "keyid:%d\n", pparm->algorithm, pparm->keyid); in setkey_hdl() 5300 write_cam(padapter, pparm->keyid, ctrl, null_sta, pparm->key); in setkey_hdl()
|
/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_set.c | 345 sint keyid; in r8712_set_802_11_add_wep() local 348 keyid = wep->KeyIndex & 0x3fffffff; in r8712_set_802_11_add_wep() 349 if (keyid >= WEP_KEYS) in r8712_set_802_11_add_wep() 362 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep() 364 psecuritypriv->DefKeylen[keyid] = wep->KeyLength; in r8712_set_802_11_add_wep() 365 psecuritypriv->PrivacyKeyIndex = keyid; in r8712_set_802_11_add_wep() 366 if (r8712_set_key(padapter, psecuritypriv, keyid) == _FAIL) in r8712_set_802_11_add_wep()
|
D | rtl871x_mlme.c | 1228 sint keyid) in r8712_set_key() argument 1251 psetkeyparm->keyid = (u8)keyid; in r8712_set_key() 1257 psecuritypriv->DefKey[keyid].skey, keylen); in r8712_set_key() 1262 psecuritypriv->DefKey[keyid].skey, keylen); in r8712_set_key() 1265 if (keyid < 1 || keyid > 2) { in r8712_set_key() 1271 &psecuritypriv->XGrpKey[keyid - 1], keylen); in r8712_set_key() 1275 if (keyid < 1 || keyid > 2) { in r8712_set_key() 1281 &psecuritypriv->XGrpKey[keyid - 1], keylen); in r8712_set_key()
|
D | rtl871x_cmd.h | 190 u8 keyid; member 211 u8 keyid; member
|
D | rtl871x_mlme.h | 206 struct security_priv *psecuritypriv, sint keyid);
|
D | rtl871x_cmd.c | 930 psta->aid = psta->mac_id = psetstakey_rsp->keyid; /*CAM_ID(CAM_ENTRY)*/ in r8712_setstaKey_cmdrsp_callback()
|
/drivers/staging/rtl8188eu/include/ |
D | rtw_cmd.h | 163 u8 keyid; member 189 u8 keyid; member
|
D | rtw_mlme.h | 424 int keyid, u8 set_tx);
|
/drivers/net/wireless/st/cw1200/ |
D | wsm.h | 1024 u8 keyid; /* Unique per key identifier (0..3) */ member 1039 u8 keyid; /* Key ID */ member 1050 u8 keyid; /* Key ID */ member 1056 u8 keyid; /* Key ID */ member 1064 u8 keyid; /* Key ID */ member
|
D | sta.c | 732 wsm_key->wep_group.keyid = key->keyidx; in cw1200_set_key() 766 wsm_key->tkip_group.keyid = key->keyidx; in cw1200_set_key() 790 wsm_key->aes_group.keyid = key->keyidx; in cw1200_set_key() 802 wsm_key->wapi_pairwise.keyid = key->keyidx; in cw1200_set_key() 809 wsm_key->wapi_group.keyid = key->keyidx; in cw1200_set_key()
|
/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.h | 46 void ath6kl_cfg80211_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid,
|
D | main.c | 670 void ath6kl_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, bool ismcast) in ath6kl_tkip_micerr_event() argument 681 sta = ath6kl_find_sta_by_aid(ar, (keyid >> 2)); in ath6kl_tkip_micerr_event() 686 "ap tkip mic error received from aid=%d\n", keyid); in ath6kl_tkip_micerr_event() 690 NL80211_KEYTYPE_PAIRWISE, keyid, in ath6kl_tkip_micerr_event() 693 ath6kl_cfg80211_tkip_micerr_event(vif, keyid, ismcast); in ath6kl_tkip_micerr_event()
|
D | core.h | 951 void ath6kl_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, bool ismcast);
|
D | cfg80211.c | 1362 void ath6kl_cfg80211_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, in ath6kl_cfg80211_tkip_micerr_event() argument 1366 "%s: keyid %d, ismcast %d\n", __func__, keyid, ismcast); in ath6kl_cfg80211_tkip_micerr_event() 1370 NL80211_KEYTYPE_PAIRWISE), keyid, NULL, in ath6kl_cfg80211_tkip_micerr_event()
|
/drivers/net/wireless/admtek/ |
D | adm8211.h | 483 u8 keyid; member
|
/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 2142 static int set_group_key(struct adapter *padapter, u8 *key, u8 alg, int keyid) in set_group_key() argument 2166 psetkeyparm->keyid = (u8)keyid; in set_group_key() 2203 static int set_wep_key(struct adapter *padapter, u8 *key, u8 keylen, int keyid) in set_wep_key() argument 2218 return set_group_key(padapter, key, alg, keyid); in set_wep_key()
|
/drivers/staging/wlan-ng/ |
D | hfa384x.h | 760 u16 keyid; member
|