Home
last modified time | relevance | path

Searched refs:WPA_GET_LE16 (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/contrib/wpa/src/p2p/
H A Dp2p_sd.c381 slen = WPA_GET_LE16(pos); in p2p_rx_gas_initial_req()
390 if (WPA_GET_LE16(pos) != ANQP_VENDOR_SPECIFIC) { in p2p_rx_gas_initial_req()
391 p2p_dbg(p2p, "Unsupported ANQP Info ID %u", WPA_GET_LE16(pos)); in p2p_rx_gas_initial_req()
396 slen = WPA_GET_LE16(pos); in p2p_rx_gas_initial_req()
412 update_indic = WPA_GET_LE16(pos); in p2p_rx_gas_initial_req()
520 status_code = WPA_GET_LE16(pos); in p2p_rx_gas_initial_resp()
522 comeback_delay = WPA_GET_LE16(pos); in p2p_rx_gas_initial_resp()
558 slen = WPA_GET_LE16(pos); in p2p_rx_gas_initial_resp()
581 if (WPA_GET_LE16(pos) != ANQP_VENDOR_SPECIFIC) { in p2p_rx_gas_initial_resp()
582 p2p_dbg(p2p, "Unsupported ANQP Info ID %u", WPA_GET_LE16(pos)); in p2p_rx_gas_initial_resp()
[all …]
H A Dp2p_parse.c288 WPA_GET_LE16(msg->ext_listen_timing), in p2p_parse_attribute()
289 WPA_GET_LE16(msg->ext_listen_timing + 2)); in p2p_parse_attribute()
455 attr_len = WPA_GET_LE16(pos); in p2p_parse_p2p_ie()
/freebsd/contrib/wpa/src/pasn/
H A Dpasn_initiator.c96 len = WPA_GET_LE16(data); in wpas_pasn_wd_sae_rx()
105 alg = WPA_GET_LE16(data); in wpas_pasn_wd_sae_rx()
106 seq = WPA_GET_LE16(data + 2); in wpas_pasn_wd_sae_rx()
107 status = WPA_GET_LE16(data + 4); in wpas_pasn_wd_sae_rx()
141 len = WPA_GET_LE16(data); in wpas_pasn_wd_sae_rx()
150 alg = WPA_GET_LE16(data); in wpas_pasn_wd_sae_rx()
151 seq = WPA_GET_LE16(data + 2); in wpas_pasn_wd_sae_rx()
152 status = WPA_GET_LE16(data + 4); in wpas_pasn_wd_sae_rx()
329 alg = WPA_GET_LE16(data); in wpas_pasn_wd_fils_rx()
330 seq = WPA_GET_LE16(data + 2); in wpas_pasn_wd_fils_rx()
[all …]
H A Dpasn_responder.c62 alg = WPA_GET_LE16(data); in pasn_wd_handle_sae_commit()
63 seq = WPA_GET_LE16(data + 2); in pasn_wd_handle_sae_commit()
64 status = WPA_GET_LE16(data + 4); in pasn_wd_handle_sae_commit()
135 alg = WPA_GET_LE16(data); in pasn_wd_handle_sae_confirm()
136 seq = WPA_GET_LE16(data + 2); in pasn_wd_handle_sae_confirm()
137 status = WPA_GET_LE16(data + 4); in pasn_wd_handle_sae_confirm()
/freebsd/contrib/wpa/src/utils/
H A Dplatform.h15 #define get_unaligned_le16(p) WPA_GET_LE16((void *) (p))
/freebsd/contrib/wpa/src/ap/
H A Dieee802_11_eht.c128 len += ieee80211_eht_ppet_size(WPA_GET_LE16(&eht_cap->ppet[0]), in hostapd_eid_eht_capab_len()
189 WPA_GET_LE16(&eht_cap->ppet[0]), in hostapd_eid_eht_capab()
383 WPA_GET_LE16(&eht_cap[cap_len]) : 0x01ff; in ieee80211_invalid_eht_cap_size()
853 group = WPA_GET_LE16(pos); in sae_commit_skip_fixed_fields()
1232 info->common_info.eml_capa = WPA_GET_LE16(pos); in hostapd_process_ml_assoc_req()
1238 info->common_info.mld_capa = WPA_GET_LE16(pos); in hostapd_process_ml_assoc_req()
1304 control = WPA_GET_LE16(pos); in hostapd_process_ml_assoc_req()
1377 link_info->capability = WPA_GET_LE16(pos); in hostapd_process_ml_assoc_req()
H A Dtaxonomy.c158 WPA_GET_LE16(ie)); in ie_to_string()
216 WPA_GET_LE16(ie)); in ie_to_string()
H A Dgas_query_ap.c524 query->status_code = WPA_GET_LE16(pos); in gas_query_ap_rx()
549 comeback_delay = WPA_GET_LE16(pos); in gas_query_ap_rx()
577 resp_len = WPA_GET_LE16(pos); in gas_query_ap_rx()
H A Dieee802_11_he.c461 sta_rx_mcs_set = WPA_GET_LE16((const u8 *) &sta_mcs_set[i * 2]); in check_valid_he_mcs()
462 ap_tx_mcs_set = WPA_GET_LE16((const u8 *) in check_valid_he_mcs()
H A Dbeacon.c1794 mcs[0] = WPA_GET_LE16(&he_mcs[0]); in hostapd_gen_fils_discovery_nss()
1795 mcs[1] = WPA_GET_LE16(&he_mcs[2]); in hostapd_gen_fils_discovery_nss()
1799 mcs[2] = WPA_GET_LE16(&he_mcs[4]); in hostapd_gen_fils_discovery_nss()
1800 mcs[3] = WPA_GET_LE16(&he_mcs[6]); in hostapd_gen_fils_discovery_nss()
1804 mcs[4] = WPA_GET_LE16(&he_mcs[8]); in hostapd_gen_fils_discovery_nss()
1805 mcs[5] = WPA_GET_LE16(&he_mcs[10]); in hostapd_gen_fils_discovery_nss()
H A Dgas_serv.c1213 rx_anqp_query_list_id(hapd, WPA_GET_LE16(pos), qi); in rx_anqp_query_list()
1677 slen = WPA_GET_LE16(pos); in gas_serv_rx_gas_initial_req()
1704 info_id = WPA_GET_LE16(pos); in gas_serv_rx_gas_initial_req()
1706 elen = WPA_GET_LE16(pos); in gas_serv_rx_gas_initial_req()
H A Dctrl_iface_ap.c334 j == 0 ? "" : " ", WPA_GET_LE16(pos)); in hostapd_ctrl_iface_sta_mib()
993 u16 rxmap = WPA_GET_LE16(&mode->vht_mcs_set[0]); in hostapd_ctrl_iface_status()
994 u16 txmap = WPA_GET_LE16(&mode->vht_mcs_set[4]); in hostapd_ctrl_iface_status()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dhs20_supplicant.c515 data_len = WPA_GET_LE16(pos); in hs20_process_icon_binary_file()
641 pos[9], pos[10], WPA_GET_LE16(pos + 11)); in hs20_parse_rx_hs20_anqp_resp()
890 len2 = WPA_GET_LE16(pos); in hs20_osu_add_prov()
965 len2 = WPA_GET_LE16(pos); in hs20_osu_add_prov()
985 icon->width = WPA_GET_LE16(pos2); in hs20_osu_add_prov()
987 icon->height = WPA_GET_LE16(pos2); in hs20_osu_add_prov()
1036 len2 = WPA_GET_LE16(pos); in hs20_osu_add_prov()
1135 len = WPA_GET_LE16(pos); in hs20_osu_icon_fetch()
H A Dwnm_sta.c334 key_len_total = WPA_GET_LE16(frm + 1); in ieee802_11_rx_wnmsleep_resp()
457 rep->tsf_offset = WPA_GET_LE16(pos); in wnm_parse_neighbor_report_elem()
458 rep->beacon_int = WPA_GET_LE16(pos + 2); in wnm_parse_neighbor_report_elem()
486 rep->bss_term_dur = WPA_GET_LE16(pos + 8); in wnm_parse_neighbor_report_elem()
495 rep->bearing = WPA_GET_LE16(pos); in wnm_parse_neighbor_report_elem()
497 rep->rel_height = WPA_GET_LE16(pos + 2 + 4); in wnm_parse_neighbor_report_elem()
1405 wpa_s->wnm_dissoc_timer = WPA_GET_LE16(pos + 2); in ieee802_11_rx_bss_trans_mgmt_req()
1807 reauth_delay = WPA_GET_LE16(pos); in ieee802_11_rx_wnm_notif_req_wfa()
H A Dmesh_mpm.c1194 WPA_GET_LE16(ies)); in mesh_mpm_action_rx()
1199 aid = WPA_GET_LE16(ies); in mesh_mpm_action_rx()
1239 plid = WPA_GET_LE16(peer_mgmt_ie.llid); in mesh_mpm_action_rx()
1241 llid = WPA_GET_LE16(peer_mgmt_ie.plid); in mesh_mpm_action_rx()
1246 WPA_GET_LE16(peer_mgmt_ie.reason)); in mesh_mpm_action_rx()
H A Dgas_query.c575 query->status_code = WPA_GET_LE16(pos); in gas_query_rx()
600 comeback_delay = WPA_GET_LE16(pos); in gas_query_rx()
632 resp_len = WPA_GET_LE16(pos); in gas_query_rx()
H A Dp2p_supplicant_sd.c727 slen = WPA_GET_LE16(pos); in wpas_sd_request()
854 buf_len = WPA_GET_LE16(pos); in wpas_sd_p2ps_serv_response()
924 slen = WPA_GET_LE16(pos); in wpas_sd_response()
H A Drobust_av.c758 status_code = WPA_GET_LE16(buf); in wpas_handle_robust_av_recv_action()
789 status = WPA_GET_LE16(mscs_status + 2); in wpas_handle_assoc_resp_mscs()
881 status = WPA_GET_LE16(buf); in wpas_handle_robust_av_scs_recv_action()
H A Dinterworking.c480 len = WPA_GET_LE16(pos); /* NAI Realm Data field Length */ in nai_realm_parse_realm()
543 num = WPA_GET_LE16(pos); in nai_realm_parse()
1275 lmd = WPA_GET_LE16(wan + 11); in cred_below_min_backhaul()
1352 if (pos[0] == proto && WPA_GET_LE16(&pos[1]) == port && in has_proto_port_match()
3183 info_id = WPA_GET_LE16(pos); in anqp_resp_cb()
3185 slen = WPA_GET_LE16(pos); in anqp_resp_cb()
/freebsd/contrib/wpa/src/common/
H A Dwpa_common.c1900 WPA_GET_LE16(hdr->version) != RSN_VERSION) { in wpa_parse_wpa_ie_rsn()
1937 count = WPA_GET_LE16(pos); in wpa_parse_wpa_ie_rsn()
1965 count = WPA_GET_LE16(pos); in wpa_parse_wpa_ie_rsn()
1985 data->capabilities = WPA_GET_LE16(pos); in wpa_parse_wpa_ie_rsn()
1991 u16 num_pmkid = WPA_GET_LE16(pos); in wpa_parse_wpa_ie_rsn()
2084 WPA_GET_LE16(hdr->version) != WPA_VERSION) { in wpa_parse_wpa_ie_wpa()
2105 count = WPA_GET_LE16(pos); in wpa_parse_wpa_ie_wpa()
2126 count = WPA_GET_LE16(pos); in wpa_parse_wpa_ie_wpa()
2146 data->capabilities = WPA_GET_LE16(pos); in wpa_parse_wpa_ie_wpa()
2925 rpos += 2 + WPA_GET_LE16(rpos) * RSN_SELECTOR_LEN; in wpa_insert_pmkid()
[all …]
H A Dnan_de.c696 attr_len = WPA_GET_LE16(pos); in nan_de_get_attr()
733 sdea_len = WPA_GET_LE16(sdea); in nan_de_get_sdea()
742 *sdea_control = WPA_GET_LE16(sdea); in nan_de_get_sdea()
760 srv_info_len = WPA_GET_LE16(sdea); in nan_de_get_sdea()
1143 sda_len = WPA_GET_LE16(sda); in nan_de_rx_sdf()
H A Ddpp_tcp.c1038 group = WPA_GET_LE16(fcgroup); in dpp_controller_rx_reconfig_announcement()
1429 slen = WPA_GET_LE16(pos); in dpp_controller_rx_gas_req()
1669 status = WPA_GET_LE16(pos); in dpp_rx_gas_resp()
1677 comeback_delay = WPA_GET_LE16(pos); in dpp_rx_gas_resp()
1698 slen = WPA_GET_LE16(pos); in dpp_rx_gas_resp()
H A Ddpp.c72 id = WPA_GET_LE16(pos); in dpp_get_attr()
74 alen = WPA_GET_LE16(pos); in dpp_get_attr()
98 pos = prev + WPA_GET_LE16(prev - 2); in dpp_get_attr_next()
100 id = WPA_GET_LE16(pos); in dpp_get_attr_next()
102 alen = WPA_GET_LE16(pos); in dpp_get_attr_next()
127 id = WPA_GET_LE16(pos); in dpp_check_attrs()
129 alen = WPA_GET_LE16(pos); in dpp_check_attrs()
3413 group = WPA_GET_LE16(fcgroup); in dpp_conf_resp_rx()
/freebsd/contrib/wpa/src/rsn_supp/
H A Dtdls.c994 reason_code = WPA_GET_LE16(pos); in wpa_tdls_recv_teardown()
2019 peer->capability = WPA_GET_LE16(cpos); in wpa_tdls_process_tpk_m1()
2231 rsn_ver = WPA_GET_LE16(hdr->version); in wpa_tdls_process_tpk_m1()
2410 status = WPA_GET_LE16(pos); in wpa_tdls_process_tpk_m2()
2433 peer->capability = WPA_GET_LE16(pos); in wpa_tdls_process_tpk_m2()
2687 status = WPA_GET_LE16(pos); in wpa_tdls_process_tpk_m3()
H A Dwpa_ft.c854 keyidx = WPA_GET_LE16(gtk_elem) & 0x03; in wpa_ft_process_gtk_subelem()
934 keyidx = WPA_GET_LE16(igtk_elem); in wpa_ft_process_igtk_subelem()
1002 keyidx = WPA_GET_LE16(bigtk_elem); in wpa_ft_process_bigtk_subelem()

123