Home
last modified time | relevance | path

Searched refs:rsn_ie (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/drivers/staging/rtl8712/
H A Dieee80211.c321 int r8712_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, in r8712_parse_wpa2_ie() argument
332 if ((*rsn_ie != _WPA2_IE_ID_) || in r8712_parse_wpa2_ie()
333 (*(rsn_ie + 1) != (u8)(rsn_ie_len - 2))) in r8712_parse_wpa2_ie()
335 pos = rsn_ie; in r8712_parse_wpa2_ie()
364 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, in r8712_get_sec_ie() argument
382 memcpy(rsn_ie, &in_ie[cnt], in r8712_get_sec_ie()
H A Dieee80211.h157 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
H A Drtl871x_ioctl_linux.c132 u8 wpa_ie[255], rsn_ie[255]; in translate_scan_wpa() local
137 pnetwork->network.IELength, rsn_ie, &rsn_len, in translate_scan_wpa()
164 "%02x", rsn_ie[i]); in translate_scan_wpa()
177 rsn_ie); in translate_scan_wpa()
/openbmc/linux/drivers/staging/ks7010/
H A Dks_wlan.h186 struct rsn_ie { struct
219 struct rsn_ie wpa_ie;
220 struct rsn_ie rsn_ie; member
H A Dks_hostif.c133 ap->rsn_ie.id = RSN_INFO_ELEM_ID; in get_current_ap()
134 ap->rsn_ie.size = size; in get_current_ap()
135 memcpy(ap->rsn_ie.body, ap_info->rsn.body, size); in get_current_ap()
142 ap->rsn_ie.id = 0; in get_current_ap()
143 ap->rsn_ie.size = 0; in get_current_ap()
294 ap->rsn_ie.id = *bp; in get_ap_information()
295 ap->rsn_ie.size = read_ie(bp, RSN_IE_BODY_MAX, in get_ap_information()
296 ap->rsn_ie.body); in get_ap_information()
H A Dks_wlan_net.c1148 char *current_ev, struct rsn_ie *rsn, in ks_wlan_add_leader_event()
1272 if (ap->rsn_ie.id == RSN_INFO_ELEM_ID && ap->rsn_ie.size != 0) in ks_wlan_translate_scan()
1274 current_ev, &ap->rsn_ie, in ks_wlan_translate_scan()
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c502 int rtw_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, int *pairwise_cipher, int *is_… in rtw_parse_wpa2_ie() argument
514 if ((*rsn_ie != WLAN_EID_RSN) || (*(rsn_ie+1) != (u8)(rsn_ie_len - 2))) in rtw_parse_wpa2_ie()
517 pos = rsn_ie; in rtw_parse_wpa2_ie()
604 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len) in rtw_get_sec_ie() argument
625 if (rsn_ie) in rtw_get_sec_ie()
626 memcpy(rsn_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_sec_ie()
911 elems->rsn_ie = pos; in rtw_ieee802_11_parse_elems()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dcfg80211.c2712 const u8 *rsn_ie; in ath6kl_get_rsn_capab() local
2720 if (!rsn_ie) in ath6kl_get_rsn_capab()
2723 rsn_ie_len = *(rsn_ie + 1); in ath6kl_get_rsn_capab()
2725 rsn_ie += 2; in ath6kl_get_rsn_capab()
2730 rsn_ie += 2; in ath6kl_get_rsn_capab()
2736 rsn_ie += 4; in ath6kl_get_rsn_capab()
2742 cnt = get_unaligned_le16(rsn_ie); in ath6kl_get_rsn_capab()
2743 rsn_ie += (2 + cnt * 4); in ath6kl_get_rsn_capab()
2749 cnt = get_unaligned_le16(rsn_ie); in ath6kl_get_rsn_capab()
2750 rsn_ie += (2 + cnt * 4); in ath6kl_get_rsn_capab()
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dieee80211.h695 u8 *rsn_ie; member
750 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len);
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A Dhif.c378 const u8 *ht_ie, *wpa_ie, *wmm_ie, *rsn_ie; in wilc_parse_join_bss_param() local
497 rsn_ie = cfg80211_find_ie(WLAN_EID_RSN, ies_data, ies_len); in wilc_parse_join_bss_param()
498 if (rsn_ie) { in wilc_parse_join_bss_param()
499 int rsn_ie_len = sizeof(struct element) + rsn_ie[1]; in wilc_parse_join_bss_param()
508 offset += (rsn_ie[offset] * 4) + 2; in wilc_parse_join_bss_param()
512 offset += (rsn_ie[offset] * 4) + 2; in wilc_parse_join_bss_param()
515 memcpy(param->rsn_cap, &rsn_ie[offset], 2); in wilc_parse_join_bss_param()
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_rx.c1243 memcpy(network->rsn_ie, info_element, in libipw_parse_info_param()
1468 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
H A Dlibipw.h639 u8 rsn_ie[MAX_WPA_IE_LEN]; member
H A Dlibipw_wx.c206 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in libipw_translate_scan()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c2090 const struct brcmf_tlv *rsn_ie; in brcmf_set_key_mgmt() local
2192 if (!rsn_ie) in brcmf_set_key_mgmt()
2194 ie = (const u8 *)rsn_ie; in brcmf_set_key_mgmt()
2195 ie_len = rsn_ie->len + TLV_HDR_LEN; in brcmf_set_key_mgmt()
2366 const struct brcmf_tlv *rsn_ie; in brcmf_cfg80211_connect() local
2404 if (rsn_ie) { in brcmf_cfg80211_connect()
2405 ie = rsn_ie; in brcmf_cfg80211_connect()
2406 ie_len = rsn_ie->len + TLV_HDR_LEN; in brcmf_cfg80211_connect()
5058 const struct brcmf_tlv *rsn_ie; in brcmf_parse_configure_security() local
5070 if (wpa_ie || rsn_ie) { in brcmf_parse_configure_security()
[all …]
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_wlan.h637 u8 rsn_ie[MAX_WPA_IE_LEN]; member
H A Dhostap_80211_rx.c459 memcpy(bss->rsn_ie, rsn, rsn_len); in hostap_rx_sta_beacon()
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_rx.c1873 memcpy(network->rsn_ie, info_element, in ieee80211_parse_info_param()
2138 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
H A Dieee80211_wx.c202 p += sprintf(p, "%02x", network->rsn_ie[i]); in rtl819x_translate_scan()
H A Dieee80211.h1303 u8 rsn_ie[MAX_WPA_IE_LEN]; member
/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib_rx.c2150 memcpy(network->rsn_ie, info_element, in rtllib_parse_info_param()
2401 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
H A Drtllib_wx.c187 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in rtl819x_translate_scan()
H A Drtllib.h1086 u8 rsn_ie[MAX_WPA_IE_LEN]; member
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Djoin.c335 memcpy(rsn_ie_tlv->rsn_ie, &priv->wpa_ie[2], in mwifiex_append_rsn_ie_wpa_wpa2()
H A Dtdls.c1014 memcpy((u8 *)&sta_ptr->tdls_cap.rsn_ie, pos, in mwifiex_process_tdls_action_frame()
H A Dmain.h758 struct ieee_types_generic rsn_ie; member

12