Home
last modified time | relevance | path

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

12

/drivers/net/wireless/mwifiex/
Die.c328 struct ieee_types_header *rsn_ie, *wpa_ie = NULL; in mwifiex_set_mgmt_ies() local
341 rsn_ie = (void *)cfg80211_find_ie(WLAN_EID_RSN, in mwifiex_set_mgmt_ies()
343 if (rsn_ie) { in mwifiex_set_mgmt_ies()
344 memcpy(gen_ie->ie_buffer, rsn_ie, rsn_ie->len + 2); in mwifiex_set_mgmt_ies()
345 ie_len = rsn_ie->len + 2; in mwifiex_set_mgmt_ies()
361 if (rsn_ie || wpa_ie) { in mwifiex_set_mgmt_ies()
381 struct mwifiex_ie *ar_ie = NULL, *rsn_ie = NULL; in mwifiex_del_mgmt_ies() local
385 rsn_ie = kmalloc(sizeof(struct mwifiex_ie), GFP_KERNEL); in mwifiex_del_mgmt_ies()
386 if (!rsn_ie) in mwifiex_del_mgmt_ies()
389 rsn_ie->ie_index = cpu_to_le16(priv->rsn_idx); in mwifiex_del_mgmt_ies()
[all …]
Dtdls.c873 memcpy((u8 *)&sta_ptr->tdls_cap.rsn_ie, pos, in mwifiex_process_tdls_action_frame()
Djoin.c343 memcpy(rsn_ie_tlv->rsn_ie, &priv->wpa_ie[2], in mwifiex_append_rsn_ie_wpa_wpa2()
Dmain.h652 struct ieee_types_generic rsn_ie; member
Dfw.h732 u8 rsn_ie[1]; member
/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c588 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
601 if ((*rsn_ie != _WPA2_IE_ID_) || (*(rsn_ie+1) != (u8)(rsn_ie_len - 2))) in rtw_parse_wpa2_ie()
604 pos = rsn_ie; in rtw_parse_wpa2_ie()
657 int 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
697 if (rsn_ie) { in rtw_get_sec_ie()
698 memcpy(rsn_ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_sec_ie()
703 rsn_ie[i], rsn_ie[i+1], rsn_ie[i+2], rsn_ie[i+3], rsn_ie[i+4], in rtw_get_sec_ie()
704 rsn_ie[i+5], rsn_ie[i+6], rsn_ie[i+7])); in rtw_get_sec_ie()
1023 elems->rsn_ie = pos; in rtw_ieee802_11_parse_elems()
/drivers/staging/rtl8712/
Dieee80211.c330 int r8712_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, in r8712_parse_wpa2_ie() argument
341 if ((*rsn_ie != _WPA2_IE_ID_) || (*(rsn_ie+1) != (u8)(rsn_ie_len - 2))) in r8712_parse_wpa2_ie()
343 pos = rsn_ie; in r8712_parse_wpa2_ie()
370 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, in r8712_get_sec_ie() argument
389 memcpy(rsn_ie, &in_ie[cnt], in r8712_get_sec_ie()
Dieee80211.h788 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
Drtl871x_ioctl_linux.c287 u8 wpa_ie[255], rsn_ie[255]; in translate_scan() local
294 IELength, rsn_ie, &rsn_len, in translate_scan()
321 "%02x", rsn_ie[i]); in translate_scan()
334 rsn_ie); in translate_scan()
/drivers/staging/rtl8723au/core/
Drtw_ieee80211.c523 int rtw_parse_wpa2_ie23a(const u8 *rsn_ie, int rsn_ie_len, int *group_cipher, in rtw_parse_wpa2_ie23a() argument
536 if (*rsn_ie != WLAN_EID_RSN || *(rsn_ie+1) != (u8)(rsn_ie_len - 2)) { in rtw_parse_wpa2_ie23a()
540 pos = rsn_ie; in rtw_parse_wpa2_ie23a()
/drivers/staging/vt6655/
Diowpa.h118 u8 rsn_ie[WPA_IE_LEN]; member
Dwpactl.c625 memcpy(scan_buf->rsn_ie, pBSS->byRSNIE, pBSS->wRSNLen); in wpa_get_scan()
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c2699 const u8 *rsn_ie; in ath6kl_get_rsn_capab() local
2706 rsn_ie = cfg80211_find_ie(WLAN_EID_RSN, beacon->tail, beacon->tail_len); in ath6kl_get_rsn_capab()
2707 if (!rsn_ie) in ath6kl_get_rsn_capab()
2710 rsn_ie_len = *(rsn_ie + 1); in ath6kl_get_rsn_capab()
2712 rsn_ie += 2; in ath6kl_get_rsn_capab()
2717 rsn_ie += 2; in ath6kl_get_rsn_capab()
2723 rsn_ie += 4; in ath6kl_get_rsn_capab()
2729 cnt = get_unaligned_le16(rsn_ie); in ath6kl_get_rsn_capab()
2730 rsn_ie += (2 + cnt * 4); in ath6kl_get_rsn_capab()
2736 cnt = get_unaligned_le16(rsn_ie); in ath6kl_get_rsn_capab()
[all …]
/drivers/staging/rtl8188eu/include/
Dieee80211.h1141 u8 *rsn_ie; member
1213 int rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
/drivers/net/wireless/ipw2x00/
Dlibipw_rx.c1273 memcpy(network->rsn_ie, info_element, in libipw_parse_info_param()
1510 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
Dlibipw.h645 u8 rsn_ie[MAX_WPA_IE_LEN]; member
Dlibipw_wx.c220 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in libipw_translate_scan()
/drivers/net/wireless/brcm80211/brcmfmac/
Dwl_cfg80211.c1616 const struct brcmf_tlv *rsn_ie; in brcmf_cfg80211_connect() local
1644 rsn_ie = brcmf_parse_tlvs((const u8 *)sme->ie, in brcmf_cfg80211_connect()
1647 if (rsn_ie) { in brcmf_cfg80211_connect()
1648 ie = rsn_ie; in brcmf_cfg80211_connect()
1649 ie_len = rsn_ie->len + TLV_HDR_LEN; in brcmf_cfg80211_connect()
3790 const struct brcmf_tlv *rsn_ie; in brcmf_cfg80211_start_ap() local
3829 rsn_ie = brcmf_parse_tlvs((u8 *)settings->beacon.tail, in brcmf_cfg80211_start_ap()
3836 if ((wpa_ie != NULL || rsn_ie != NULL)) { in brcmf_cfg80211_start_ap()
3846 (struct brcmf_vs_tlv *)rsn_ie, true); in brcmf_cfg80211_start_ap()
/drivers/net/wireless/hostap/
Dhostap_wlan.h632 u8 rsn_ie[MAX_WPA_IE_LEN]; member
Dhostap_80211_rx.c460 memcpy(bss->rsn_ie, rsn, rsn_len); in hostap_rx_sta_beacon()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c2005 memcpy(network->rsn_ie, info_element, in ieee80211_parse_info_param()
2340 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
Dieee80211_wx.c219 p += sprintf(p, "%02x", network->rsn_ie[i]); in rtl819x_translate_scan()
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c239 u8 wpa_ie[255], rsn_ie[255]; in translate_scan() local
243 …rtw_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, rsn_ie, &rsn_len, wpa_ie, &wpa_l… in translate_scan()
269 p += sprintf(p, "%02x", rsn_ie[i]); in translate_scan()
278 start = iwe_stream_add_point(info, start, stop, &iwe, rsn_ie); in translate_scan()
/drivers/staging/rtl8192e/
Drtllib_rx.c2114 memcpy(network->rsn_ie, info_element, in rtllib_parse_info_param()
2437 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
Drtllib_wx.c226 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in rtl819x_translate_scan()

12