Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c49 u32 wep_key_idx, wep_key_len, wep_total_len; in wpa_set_encryption() local
86 wep_key_idx = param->u.crypt.idx; in wpa_set_encryption()
111 pwep->key_index = wep_key_idx; in wpa_set_encryption()
123 if (wep_key_idx >= WEP_KEYS) { in wpa_set_encryption()
128 memcpy(&psecuritypriv->dot11DefKey[wep_key_idx].skey[0], pwep->key_material, pwep->key_length); in wpa_set_encryption()
129 psecuritypriv->dot11DefKeylen[wep_key_idx] = pwep->key_length; in wpa_set_encryption()
130 rtw_set_key(padapter, psecuritypriv, wep_key_idx, 0, true); in wpa_set_encryption()
516 u32 wep_key_idx, wep_key_len, wep_total_len; in rtw_set_encryption() local
563 wep_key_idx = param->u.crypt.idx; in rtw_set_encryption()
566 if ((wep_key_idx >= WEP_KEYS) || (wep_key_len <= 0)) { in rtw_set_encryption()
[all …]
Dioctl_cfg80211.c497 u32 wep_key_idx, wep_key_len; in rtw_cfg80211_ap_set_encryption() local
533 wep_key_idx = param->u.crypt.idx; in rtw_cfg80211_ap_set_encryption()
536 if ((wep_key_idx >= WEP_KEYS) || (wep_key_len <= 0)) { in rtw_cfg80211_ap_set_encryption()
557 psecuritypriv->dot11PrivacyKeyIndex = wep_key_idx; in rtw_cfg80211_ap_set_encryption()
560 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); in rtw_cfg80211_ap_set_encryption()
562 psecuritypriv->dot11DefKeylen[wep_key_idx] = wep_key_len; in rtw_cfg80211_ap_set_encryption()
564 rtw_ap_set_wep_key(padapter, param->u.crypt.key, wep_key_len, wep_key_idx, 1); in rtw_cfg80211_ap_set_encryption()
702 u32 wep_key_idx, wep_key_len; in rtw_cfg80211_set_encryption() local
734 wep_key_idx = param->u.crypt.idx; in rtw_cfg80211_set_encryption()
756 psecuritypriv->dot11PrivacyKeyIndex = wep_key_idx; in rtw_cfg80211_set_encryption()
[all …]
/linux-6.6.21/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c370 u32 wep_key_idx, wep_key_len = 0; in wpa_set_encryption() local
394 wep_key_idx = param->u.crypt.idx; in wpa_set_encryption()
396 if (wep_key_idx >= WEP_KEYS) in wpa_set_encryption()
397 wep_key_idx = 0; in wpa_set_encryption()
412 pwep->KeyIndex = wep_key_idx; in wpa_set_encryption()
423 if (wep_key_idx >= WEP_KEYS) { in wpa_set_encryption()
427 memcpy(&psecuritypriv->DefKey[wep_key_idx].skey[0], in wpa_set_encryption()
430 psecuritypriv->DefKeylen[wep_key_idx] = in wpa_set_encryption()
432 r8712_set_key(padapter, psecuritypriv, wep_key_idx); in wpa_set_encryption()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c106 int wep_key_idx; member
151 data->wep_key_idx++; in iwl_mvm_wowlan_program_keys()
152 wkc.wep_key.key_offset = data->wep_key_idx; in iwl_mvm_wowlan_program_keys()