Home
last modified time | relevance | path

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

12

/hostap-latest/wlantest/
Dprocess.c32 fc = le_to_host16(hdr->frame_control); in rx_get_sta()
98 fc = le_to_host16(hdr->frame_control); in rx_update_ps()
104 u16 seq_ctrl = le_to_host16(hdr->seq_ctrl); in rx_update_ps()
152 fc = le_to_host16(hdr->frame_control); in rx_duplicate()
166 u16 s = le_to_host16(hdr->seq_ctrl); in rx_duplicate()
194 fc = le_to_host16(last->frame_control); in rx_ack()
212 fc = le_to_host16(hdr->frame_control); in rx_frame()
312 failed = le_to_host16((*(u16 *) iter.this_arg)) & in wlantest_process()
Drx_mgmt.c421 bss->capab_info = le_to_host16(mgmt->u.beacon.capab_info); in rx_mgmt_beacon()
650 bss->capab_info = le_to_host16(mgmt->u.probe_resp.capab_info); in rx_mgmt_probe_resp()
677 trans = le_to_host16(mgmt->u.auth.auth_transaction); in process_fils_auth()
735 trans = le_to_host16(mgmt->u.auth.auth_transaction); in process_ft_auth()
836 trans = le_to_host16(mgmt->u.auth.auth_transaction); in process_sae_auth()
840 status = le_to_host16(mgmt->u.auth.status_code); in process_sae_auth()
878 alg = le_to_host16(mgmt->u.auth.auth_alg); in rx_mgmt_auth()
880 trans = le_to_host16(mgmt->u.auth.auth_transaction); in rx_mgmt_auth()
881 status = le_to_host16(mgmt->u.auth.status_code); in rx_mgmt_auth()
961 reason = le_to_host16(mgmt->u.deauth.reason_code); in rx_mgmt_deauth()
[all …]
Drx_data.c234 WLAN_GET_SEQ_SEQ(le_to_host16(hdr->seq_ctrl))); in check_plaintext_prot()
311 u16 seq_ctrl = le_to_host16(hdr->seq_ctrl); in rx_data_bss_prot_group()
323 (le_to_host16(hdr->frame_control) & WLAN_FC_RETRY) ? in rx_data_bss_prot_group()
372 WLAN_GET_SEQ_SEQ(le_to_host16(hdr->seq_ctrl))); in rx_data_bss_prot_group()
411 u16 fc = le_to_host16(hdr->frame_control); in rx_data_bss_prot()
422 u16 seq_ctrl = le_to_host16(hdr->seq_ctrl); in rx_data_bss_prot()
625 (le_to_host16(hdr->frame_control) & WLAN_FC_RETRY) ? in rx_data_bss_prot()
713 le_to_host16(hdr->seq_ctrl))); in rx_data_bss_prot()
719 u16 fc = le_to_host16(hdr->frame_control); in rx_data_bss_prot()
770 u16 fc = le_to_host16(hdr->frame_control); in rx_data_bss()
[all …]
Dgcmp.c26 fc = le_to_host16(hdr->frame_control); in gcmp_aad_nonce()
55 seq = le_to_host16(hdr->seq_ctrl); in gcmp_aad_nonce()
110 u16 seq_ctrl = le_to_host16(hdr->seq_ctrl); in gcmp_decrypt()
Dinject.c65 fc = le_to_host16(mgmt->frame_control); in is_robust_mgmt()
126 fc = le_to_host16(hdr->frame_control); in wlantest_inject_prot_bc()
178 fc = le_to_host16(hdr->frame_control); in wlantest_inject_prot()
297 fc = le_to_host16(hdr->frame_control); in wlantest_inject()
Dbip.c48 fc = le_to_host16(hdr->frame_control); in bip_protect()
125 fc = le_to_host16(hdr->frame_control); in bip_protect_s1g_beacon()
219 fc = le_to_host16(hdr->frame_control); in bip_gmac_protect()
305 fc = le_to_host16(hdr->frame_control); in bip_gmac_protect_s1g_beacon()
Dtkip.c58 return le_to_host16(*v); in Mk16_le()
259 u16 fc = le_to_host16(hdr11->frame_control); in michael_mic_hdr()
306 u16 fc = le_to_host16(hdr->frame_control); in tkip_decrypt()
309 u16 sc = le_to_host16(hdr->seq_ctrl); in tkip_decrypt()
455 fc = le_to_host16(hdr->frame_control); in tkip_encrypt()
Dccmp.c28 fc = le_to_host16(hdr->frame_control); in ccmp_aad_nonce()
60 seq = le_to_host16(hdr->seq_ctrl); in ccmp_aad_nonce()
179 u16 seq_ctrl = le_to_host16(hdr->seq_ctrl); in ccmp_decrypt()
323 u16 seq_ctrl = le_to_host16(hdr->seq_ctrl); in ccmp_256_decrypt()
/hostap-latest/src/ap/
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()
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()
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()
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()
Dieee802_11.c2921 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in handle_auth()
2922 auth_transaction = le_to_host16(mgmt->u.auth.auth_transaction); in handle_auth()
2923 status_code = le_to_host16(mgmt->u.auth.status_code); in handle_auth()
2924 fc = le_to_host16(mgmt->frame_control); in handle_auth()
2925 seq_ctrl = le_to_host16(mgmt->seq_ctrl); in handle_auth()
5377 fc = le_to_host16(mgmt->frame_control); in handle_assoc()
5378 seq_ctrl = le_to_host16(mgmt->seq_ctrl); in handle_assoc()
5381 capab_info = le_to_host16(mgmt->u.reassoc_req.capab_info); in handle_assoc()
5382 listen_interval = le_to_host16( in handle_assoc()
5393 capab_info = le_to_host16(mgmt->u.assoc_req.capab_info); in handle_assoc()
[all …]
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()
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()
/hostap-latest/src/drivers/
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()
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()
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 …]
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()
/hostap-latest/src/utils/
Dcommon.h145 #define le_to_host16(n) (n) macro
162 #define le_to_host16(n) sys_le16_to_cpu(n) macro
193 #define le_to_host16(n) ((__force u16) (le16) (n)) macro
206 #define le_to_host16(n) bswap_16(n) macro
/hostap-latest/wpa_supplicant/
Dwmm_ac.c74 u16 admitted_time = le_to_host16(tspec->medium_time); in wmm_ac_add_ts()
718 le_to_host16(tspec->medium_time), ac, dir); in wmm_ac_handle_addts_resp()
896 le_to_host16(tspec->medium_time)); in wpas_wmm_ac_status()
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()
Dbss.c1701 if ((le_to_host16(eht_ml->ml_control) & control_mask) != control) { in wpa_bss_parse_basic_ml_element()
1704 le_to_host16(eht_ml->ml_control), control_mask, in wpa_bss_parse_basic_ml_element()
1861 u16 control = le_to_host16(sta_prof->sta_control); in wpa_bss_parse_reconf_ml_element()
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()
/hostap-latest/src/pasn/
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()

12