Home
last modified time | relevance | path

Searched refs:ies_len (Results 1 – 22 of 22) sorted by relevance

/drivers/net/wireless/st/cw1200/
Dscan.c379 size_t ies_len; in cw1200_probe_work() local
416 ies_len = frame.skb->len - sizeof(struct ieee80211_hdr_3addr); in cw1200_probe_work()
418 if (ies_len) { in cw1200_probe_work()
420 (u8 *)cfg80211_find_ie(WLAN_EID_SSID, ies, ies_len); in cw1200_probe_work()
434 memmove(&ssidie[2], nextie, &ies[ies_len] - nextie); in cw1200_probe_work()
Dtxrx.c1170 size_t ies_len = skb->len - (ies - (u8 *)(skb->data)); in cw1200_rx_cb() local
1172 tim_ie = cfg80211_find_ie(WLAN_EID_TIM, ies, ies_len); in cw1200_rx_cb()
/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c228 int rtw_ies_remove_ie(u8 *ies, uint *ies_len, uint offset, u8 eid, u8 *oui, u8 oui_len) in rtw_ies_remove_ie() argument
236 if (!ies || !ies_len || *ies_len <= offset) in rtw_ies_remove_ie()
240 search_len = *ies_len - offset; in rtw_ies_remove_ie()
251 *ies_len = *ies_len - target_ielen; in rtw_ies_remove_ie()
Drtw_mlme_ext.c2399 static int update_hidden_ssid(u8 *ies, u32 ies_len, u8 hidden_ssid_mode) in update_hidden_ssid() argument
2405 ssid_ie = rtw_get_ie(ies, WLAN_EID_SSID, &ssid_len_ori, ies_len); in update_hidden_ssid()
2416 remain_len = ies_len - (next_ie-ies); in update_hidden_ssid()
/drivers/net/wireless/microchip/wilc1000/
Dhif.c512 int ies_len; in handle_rcvd_ntwrk_info() local
523 ies_len = rcvd_info->frame_len - offset; in handle_rcvd_ntwrk_info()
524 if (ies_len <= 0) in handle_rcvd_ntwrk_info()
527 ch_elm = cfg80211_find_ie(WLAN_EID_DS_PARAMS, ies, ies_len); in handle_rcvd_ntwrk_info()
567 u16 ies_len; in wilc_parse_assoc_resp_info() local
573 ies_len = buffer_len - sizeof(*res); in wilc_parse_assoc_resp_info()
575 ret_conn_info->resp_ies = kmemdup(ies, ies_len, GFP_KERNEL); in wilc_parse_assoc_resp_info()
579 ret_conn_info->resp_ies_len = ies_len; in wilc_parse_assoc_resp_info()
1291 size_t ies_len) in wilc_set_join_req() argument
1301 conn_info->req_ies_len = ies_len; in wilc_set_join_req()
[all …]
Dhif.h172 size_t ies_len);
/drivers/staging/wfx/
Dhif_tx.h58 int hif_update_ie_beacon(struct wfx_vif *wvif, const u8 *ies, size_t ies_len);
Dhif_tx.c507 int hif_update_ie_beacon(struct wfx_vif *wvif, const u8 *ies, size_t ies_len) in hif_update_ie_beacon() argument
511 int buf_len = sizeof(struct hif_req_update_ie) + ies_len; in hif_update_ie_beacon()
518 memcpy(body->ie, ies, ies_len); in hif_update_ie_beacon()
/drivers/net/wireless/ath/ath6kl/
Dmain.c428 size_t ies_len = 0; in ath6kl_connect_ap_mode_sta() local
443 ies_len = assoc_info + assoc_req_len - ies; in ath6kl_connect_ap_mode_sta()
448 ies_len = assoc_info + assoc_req_len - ies; in ath6kl_connect_ap_mode_sta()
453 while (pos && pos + 1 < ies + ies_len) { in ath6kl_connect_ap_mode_sta()
454 if (pos + 2 + pos[1] > ies + ies_len) in ath6kl_connect_ap_mode_sta()
495 sinfo->assoc_req_ies_len = ies_len; in ath6kl_connect_ap_mode_sta()
Dcfg80211.c322 size_t ies_len) in ath6kl_set_assoc_req_ies() argument
340 if (ies && ies_len) { in ath6kl_set_assoc_req_ies()
341 buf = kmalloc(ies_len, GFP_KERNEL); in ath6kl_set_assoc_req_ies()
346 while (pos + 1 < ies + ies_len) { in ath6kl_set_assoc_req_ies()
347 if (pos + 2 + pos[1] > ies + ies_len) in ath6kl_set_assoc_req_ies()
2643 const u8 *ies, size_t ies_len) in ath6kl_set_ap_probe_resp_ies() argument
2656 if (ies && ies_len) { in ath6kl_set_ap_probe_resp_ies()
2657 buf = kmalloc(ies_len, GFP_KERNEL); in ath6kl_set_ap_probe_resp_ies()
2661 while (pos + 1 < ies + ies_len) { in ath6kl_set_ap_probe_resp_ies()
2662 if (pos + 2 + pos[1] > ies + ies_len) in ath6kl_set_ap_probe_resp_ies()
/drivers/net/wireless/quantenna/qtnfmac/
Devent.c352 size_t ies_len = 0; in qtnf_event_handle_scan_results() local
398 ies_len = ie_len; in qtnf_event_handle_scan_results()
409 le16_to_cpu(sr->bintval), ies, ies_len, in qtnf_event_handle_scan_results()
/drivers/net/wireless/marvell/mwifiex/
Die.c225 static int mwifiex_update_vs_ie(const u8 *ies, int ies_len, in mwifiex_update_vs_ie() argument
233 vendor_ie = cfg80211_find_vendor_ie(oui, oui_type, ies, ies_len); in mwifiex_update_vs_ie()
Dtdls.c901 int ies_len = 0; in mwifiex_process_tdls_action_frame() local
923 ies_len = len - sizeof(struct ethhdr) - TDLS_REQ_FIX_LEN; in mwifiex_process_tdls_action_frame()
933 ies_len = len - sizeof(struct ethhdr) - TDLS_RESP_FIX_LEN; in mwifiex_process_tdls_action_frame()
941 ies_len = len - sizeof(struct ethhdr) - TDLS_CONFIRM_FIX_LEN; in mwifiex_process_tdls_action_frame()
954 for (end = pos + ies_len; pos + 1 < end; pos += 2 + pos[1]) { in mwifiex_process_tdls_action_frame()
Dutil.c636 int ies_len, struct mwifiex_sta_node *node) in mwifiex_set_sta_ht_cap() argument
645 ies_len); in mwifiex_set_sta_ht_cap()
Dmain.h1610 int ies_len, struct mwifiex_sta_node *node);
/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c1187 size_t ies_len, lci_len = 0, civic_len = 0; in iwl_mvm_ftm_lc_notif() local
1199 ies_len = len - baselen; in iwl_mvm_ftm_lc_notif()
1201 msr_ie = cfg80211_find_ie_match(WLAN_EID_MEASURE_REPORT, ies, ies_len, in iwl_mvm_ftm_lc_notif()
1208 msr_ie = cfg80211_find_ie_match(WLAN_EID_MEASURE_REPORT, ies, ies_len, in iwl_mvm_ftm_lc_notif()
/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1747 static const u8 *_wil_cfg80211_find_ie(const u8 *ies, u16 ies_len, const u8 *ie, in _wil_cfg80211_find_ie() argument
1758 return cfg80211_find_ie(ie[0], ies, ies_len); in _wil_cfg80211_find_ie()
1766 ies_len); in _wil_cfg80211_find_ie()
1842 u16 *ies_len) in _wil_cfg80211_get_proberesp_ies() argument
1853 if (ies_len) in _wil_cfg80211_get_proberesp_ies()
1854 *ies_len = proberesp_len - hlen; in _wil_cfg80211_get_proberesp_ies()
Dwmi.c1700 ft.ies_len = d_len - auth_ie_offset; in wmi_evt_auth_status()
1717 int ies_len = len - offsetof(struct wmi_ft_reassoc_status_event, in wmi_evt_reassoc_status() local
1731 if (ies_len < 0) { in wmi_evt_reassoc_status()
1747 if (d_len != ies_len) { in wmi_evt_reassoc_status()
1750 d_len, ies_len); in wmi_evt_reassoc_status()
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmcu.h367 __le16 ies_len; member
Dmcu.c3145 req->ies_len = cpu_to_le16(sreq->ie_len); in mt7615_mcu_hw_scan()
/drivers/staging/rtl8723bs/include/
Dieee80211.h1128 int rtw_ies_remove_ie(u8 *ies, uint *ies_len, uint offset, u8 eid, u8 *oui, u8 oui_len);
/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c271 static int update_hidden_ssid(u8 *ies, u32 ies_len, u8 hidden_ssid_mode) in update_hidden_ssid() argument
277 ssid_ie = rtw_get_ie(ies, WLAN_EID_SSID, &ssid_len_ori, ies_len); in update_hidden_ssid()
285 remain_len = ies_len - (next_ie - ies); in update_hidden_ssid()