Home
last modified time | relevance | path

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

12

/freebsd/contrib/wpa/src/ap/
H A Dwmm.c225 val = le_to_host16(tspec->nominal_msdu_size); in wmm_process_tspec()
232 val = le_to_host16(tspec->surplus_bandwidth_allowance); in wmm_process_tspec()
236 val = le_to_host16(tspec->nominal_msdu_size); in wmm_process_tspec()
251 duration = (le_to_host16(tspec->nominal_msdu_size) & 0x7fff) * 8 / in wmm_process_tspec()
257 surplus = le_to_host16(tspec->surplus_bandwidth_allowance); in wmm_process_tspec()
H A Dieee802_11_vht.c165 sta_rx_mcs_set = le_to_host16(vht_cap->vht_supported_mcs_set.rx_map); in check_valid_vht_mcs()
166 ap_tx_mcs_set = le_to_host16(ap_vht_cap.vht_supported_mcs_set.tx_map); in check_valid_vht_mcs()
H A Dieee802_11_eht.c950 u16 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in auth_skip_fixed_fields()
952 u16 auth_transaction = le_to_host16(mgmt->u.auth.auth_transaction); in auth_skip_fixed_fields()
953 u16 status_code = le_to_host16(mgmt->u.auth.status_code); in auth_skip_fixed_fields()
1092 ml_control = le_to_host16(ml->ml_control); in hostapd_process_ml_assoc_req_addr()
1171 ml_control = le_to_host16(ml->ml_control); in hostapd_process_ml_assoc_req()
H A Dieee802_11_ht.c438 ht_capab = le_to_host16(sta->ht_capabilities->ht_capabilities_info); in update_sta_ht()
502 cap = le_to_host16(neg_ht_cap->ht_capabilities_info); in hostapd_get_ht_capab()
H A Dieee802_11.c2919 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in handle_auth()
2920 auth_transaction = le_to_host16(mgmt->u.auth.auth_transaction); in handle_auth()
2921 status_code = le_to_host16(mgmt->u.auth.status_code); in handle_auth()
2922 fc = le_to_host16(mgmt->frame_control); in handle_auth()
2923 seq_ctrl = le_to_host16(mgmt->seq_ctrl); in handle_auth()
5370 fc = le_to_host16(mgmt->frame_control); in handle_assoc()
5371 seq_ctrl = le_to_host16(mgmt->seq_ctrl); in handle_assoc()
5374 capab_info = le_to_host16(mgmt->u.reassoc_req.capab_info); in handle_assoc()
5375 listen_interval = le_to_host16( in handle_assoc()
5386 capab_info = le_to_host16(mgmt->u.assoc_req.capab_info); in handle_assoc()
[all …]
H A Dctrl_iface_ap.c169 le_to_host16(sta->vht_capabilities-> in hostapd_get_sta_info()
171 le_to_host16(sta->vht_capabilities-> in hostapd_get_sta_info()
431 le_to_host16(sta->ht_capabilities-> in hostapd_ctrl_iface_sta_mib()
582 fc2str(le_to_host16(mgmt->frame_control))); in p2p_manager_disconnect()
H A Dwnm_ap.c372 le_to_host16(wnmsleep_ie->intval)); in ieee802_11_rx_wnmsleep_req()
418 le_to_host16(mgmt->u.action.u.bss_tm_req.disassoc_timer), in ieee802_11_send_bss_trans_mgmt_request()
H A Ddrv_callbacks.c433 if (le_to_host16(ht_cap->ht_capabilities_info) & in hostapd_notif_assoc()
1656 fc = le_to_host16(mgmt->frame_control); in hostapd_action_rx()
1876 u16 fc = le_to_host16(hdr->frame_control); in hostapd_mgmt_rx()
2426 fc = le_to_host16(hdr->frame_control); in wpa_supplicant_event()
H A Dwpa_auth_ft.c158 len = le_to_host16(f->len); in wpa_ft_rrb_get_tlv()
193 len = le_to_host16(f->len); in wpa_ft_rrb_dump()
196 le_to_host16(f->type), len); in wpa_ft_rrb_dump()
248 len = le_to_host16(f->len); in wpa_ft_rrb_get_tlv_vlan()
249 type = le_to_host16(f->type); in wpa_ft_rrb_get_tlv_vlan()
4281 le_to_host16(vlan.untagged), vlan.tagged[0] ? "+" : ""); in wpa_ft_rrb_rx_r1()
4755 alen = le_to_host16(frame->action_length); in wpa_ft_rrb_rx()
H A Dbeacon.c1272 ml_control = le_to_host16(ml->ml_control); in parse_ml_probe_req()
1326 sta_control = le_to_host16(sta->sta_control); in parse_ml_probe_req()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211_monitor.c33 fc = le_to_host16(hdr->frame_control); in handle_tx_callback()
56 fc = le_to_host16(hdr->frame_control); in from_unknown_sta()
78 fc = le_to_host16(hdr->frame_control); in handle_frame()
142 failed = le_to_host16((*(le16 *) iter.this_arg)) & in handle_monitor_read()
H A Ddriver_atheros.c870 fc = le_to_host16(mgmt->frame_control); in atheros_raw_receive()
931 if (le_to_host16(mgmt->u.auth.auth_alg) == WLAN_AUTH_SAE) { in atheros_raw_receive()
939 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in atheros_raw_receive()
941 le_to_host16(mgmt->u.auth.status_code); in atheros_raw_receive()
943 le_to_host16(mgmt->u.auth.auth_transaction); in atheros_raw_receive()
1371 fc = le_to_host16(hdr->frame_control); in send_action_cb_event()
1434 fc = le_to_host16(mgmt->frame_control); in fetch_pending_big_events()
H A Ddriver_nl80211_event.c226 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in mlme_event_auth()
228 le_to_host16(mgmt->u.auth.auth_transaction); in mlme_event_auth()
229 event.auth.status_code = le_to_host16(mgmt->u.auth.status_code); in mlme_event_auth()
287 status = le_to_host16(mgmt->u.assoc_resp.status_code); in mlme_event_assoc()
1354 fc = le_to_host16(mgmt->frame_control); in mlme_event_mgmt()
1370 le_to_host16(mgmt->seq_ctrl), stype, fc2str(fc), in mlme_event_mgmt()
1390 u16 fc = le_to_host16(hdr->frame_control); in mlme_event_mgmt_tx_status()
1533 reason_code = le_to_host16(mgmt->u.deauth.reason_code); in mlme_event_deauth_disassoc()
1597 reason_code = le_to_host16(mgmt->u.deauth.reason_code); in mlme_event_unprot_disconnect()
1704 fc = le_to_host16(mgmt->frame_control); in mlme_event()
[all …]
H A Ddriver_hostap.c71 fc = le_to_host16(hdr->frame_control); in handle_data()
127 fc = le_to_host16(hdr->frame_control); in handle_tx_callback()
157 fc = le_to_host16(hdr->frame_control); in handle_frame()
H A Ddriver_nl80211_capa.c1979 he_capab->he_6ghz_capa = le_to_host16(capa); in phy_info_iftype_copy()
/freebsd/contrib/wpa/src/utils/
H A Dcommon.h145 #define le_to_host16(n) (n) macro
175 #define le_to_host16(n) ((__force u16) (le16) (n)) macro
188 #define le_to_host16(n) bswap_16(n) macro
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwmm_ac.c74 u16 admitted_time = le_to_host16(tspec->medium_time); in wmm_ac_add_ts()
716 le_to_host16(tspec->medium_time), ac, dir); in wmm_ac_handle_addts_resp()
894 le_to_host16(tspec->medium_time)); in wpas_wmm_ac_status()
H A Dibss_rsn.c931 if (le_to_host16(header->u.auth.auth_alg) != WLAN_AUTH_OPEN || in ibss_rsn_handle_auth()
932 le_to_host16(header->u.auth.status_code) != WLAN_STATUS_SUCCESS) in ibss_rsn_handle_auth()
937 switch (le_to_host16(header->u.auth.auth_transaction)) { in ibss_rsn_handle_auth()
H A Dbss.c1692 if ((le_to_host16(eht_ml->ml_control) & control_mask) != control) { in wpa_bss_parse_basic_ml_element()
1695 le_to_host16(eht_ml->ml_control), control_mask, in wpa_bss_parse_basic_ml_element()
1852 u16 control = le_to_host16(sta_prof->sta_control); in wpa_bss_parse_reconf_ml_element()
H A Drrm.c1221 rand_interval = le_to_host16(req->rand_interval); in wpas_rm_handle_beacon_req()
1269 params->duration = le_to_host16(req->duration); in wpas_rm_handle_beacon_req()
H A Dsme.c1956 if (le_to_host16(header->u.auth.auth_alg) == WLAN_AUTH_SAE) { in sme_external_auth_mgmt_rx()
1961 wpa_s, le_to_host16(header->u.auth.auth_transaction), in sme_external_auth_mgmt_rx()
1962 le_to_host16(header->u.auth.status_code), in sme_external_auth_mgmt_rx()
1970 le_to_host16(header->u.auth.status_code) : in sme_external_auth_mgmt_rx()
H A Devents.c3810 ml_control = le_to_host16(ml->ml_control); in wpas_ml_parse_assoc()
6008 fc = le_to_host16(hdr->frame_control); in wpa_supplicant_event()
6439 fc = le_to_host16(mgmt->frame_control); in wpa_supplicant_event()
/freebsd/contrib/wpa/src/pasn/
H A Dpasn_initiator.c1034 fc = le_to_host16(mgmt->frame_control); in is_pasn_auth_frame()
1082 le_to_host16(mgmt->u.auth.auth_transaction), in wpa_pasn_auth_rx()
1087 status = le_to_host16(mgmt->u.auth.status_code); in wpa_pasn_auth_rx()
1382 le_to_host16(mgmt->u.auth.auth_transaction)); in wpa_pasn_auth_tx_status()
/freebsd/contrib/wpa/src/common/
H A Dhw_features_common.c370 if (le_to_host16(ht_cap->ht_capabilities_info) & in check_40mhz_2g4()
H A Dieee802_11_common.c981 if ((le_to_host16(ml->ml_control) & MULTI_LINK_CONTROL_TYPE_MASK) != in ieee802_11_parse_link_assoc_req()
1170 fc = le_to_host16(hdr->frame_control); in get_hdr_bssid()

12