/freebsd/contrib/wpa/src/ap/ |
H A D | ieee802_11_ht.c | 38 cap->ht_capabilities_info = host_to_le16(hapd->iconf->ht_capab); in hostapd_eid_ht_capabilities() 58 host_to_le16(hapd->iconf->obss_interval); in hostapd_eid_ht_capabilities() 63 host_to_le16(20); in hostapd_eid_ht_capabilities() 65 host_to_le16(10); in hostapd_eid_ht_capabilities() 67 host_to_le16(200); in hostapd_eid_ht_capabilities() 69 host_to_le16(20); in hostapd_eid_ht_capabilities() 71 host_to_le16(5); in hostapd_eid_ht_capabilities() 73 host_to_le16(25); in hostapd_eid_ht_capabilities() 98 oper->operation_mode = host_to_le16(hapd->iface->ht_op_mode); in hostapd_eid_ht_operation() 522 neg_ht_cap->ht_capabilities_info = host_to_le16(cap); in hostapd_get_ht_capab()
|
H A D | wmm.c | 139 ac->txop_limit = host_to_le16(acp->txop_limit); in hostapd_eid_wmm() 281 tspec->medium_time = host_to_le16(medium_time / 32); in wmm_process_tspec()
|
H A D | wnm_ap.c | 95 wnmsleep_ie.intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_resp() 409 mgmt->u.action.u.bss_tm_req.disassoc_timer = host_to_le16(0); in ieee802_11_send_bss_trans_mgmt_request() 863 host_to_le16(disassoc_timer); in wnm_send_disassoc_imminent() 931 host_to_le16(disassoc_timer); in wnm_send_ess_disassoc_imminent() 989 host_to_le16(disassoc_timer); in wnm_send_bss_tm_req()
|
H A D | wpa_auth_ft.c | 151 type16 = host_to_le16(type); in wpa_ft_rrb_get_tlv() 345 hdr->type = host_to_le16(tlvs[i].type); in wpa_ft_tlv_lin() 346 hdr->len = host_to_le16(tlvs[i].len); in wpa_ft_tlv_lin() 400 hdr->type = host_to_le16(FT_RRB_VLAN_UNTAGGED); in wpa_ft_vlan_lin() 401 hdr->len = host_to_le16(sizeof(le16)); in wpa_ft_vlan_lin() 418 hdr->type = host_to_le16(FT_RRB_VLAN_TAGGED); in wpa_ft_vlan_lin() 431 hdr->len = host_to_le16(len); in wpa_ft_vlan_lin() 2449 rdie->status_code = host_to_le16(WLAN_STATUS_SUCCESS); in wpa_ft_process_rdie() 2456 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie() 2467 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie() [all …]
|
H A D | ieee802_11_he.c | 216 host_to_le16(hapd->iface->conf->he_op.he_basic_mcs_nss_set); in hostapd_eid_he_operation() 402 cap->capab = host_to_le16(capab); in hostapd_eid_he_6ghz_band_cap()
|
H A D | ieee802_11_vht.c | 136 oper->vht_basic_mcs_set = host_to_le16(0xfffc); in hostapd_eid_vht_operation()
|
H A D | ctrl_iface_ap.c | 589 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in p2p_manager_disconnect() 593 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in p2p_manager_disconnect() 647 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostapd_ctrl_iface_deauthenticate() 709 mgmt.u.disassoc.reason_code = host_to_le16(reason); in hostapd_ctrl_iface_disassociate()
|
H A D | beacon.c | 940 host_to_le16(hapd->iconf->beacon_int); in hostapd_gen_probe_resp() 944 host_to_le16(hostapd_own_capab_info(hapd)); in hostapd_gen_probe_resp() 2172 head->duration = host_to_le16(0); in ieee802_11_build_ap_params() 2178 host_to_le16(hapd->iconf->beacon_int); in ieee802_11_build_ap_params() 2182 head->u.beacon.capab_info = host_to_le16(capab_info); in ieee802_11_build_ap_params()
|
H A D | ieee802_11_eht.c | 158 cap->mac_cap = host_to_le16(eht_cap->mac_cap); in hostapd_eid_eht_capab() 284 host_to_le16(punct_bitmap); in hostapd_eid_eht_operation()
|
H A D | ieee802_11.c | 442 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply() 443 reply->u.auth.auth_transaction = host_to_le16(auth_transaction); in send_auth_reply() 444 reply->u.auth.status_code = host_to_le16(resp); in send_auth_reply() 4710 reply.u.deauth.reason_code = host_to_le16(reason_code); in send_deauth() 4892 host_to_le16(hostapd_own_capab_info(hapd)); in send_assoc_resp() 4893 reply->u.assoc_resp.status_code = host_to_le16(status_code); in send_assoc_resp() 4895 reply->u.assoc_resp.aid = host_to_le16((sta ? sta->aid : 0) | in send_assoc_resp() 6012 !(mgmt->frame_control & host_to_le16(WLAN_FC_ISWEP)) && in handle_action()
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_hostap.c | 274 hdr->frame_control |= host_to_le16(BIT(1)); in hostap_send_mlme() 276 hdr->frame_control &= ~host_to_le16(BIT(1)); in hostap_send_mlme() 302 hdr->frame_control |= host_to_le16(WLAN_FC_FROMDS); in hostap_send_eapol() 304 hdr->frame_control |= host_to_le16(WLAN_FC_ISWEP); in hostap_send_eapol() 1056 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostap_sta_deauth() 1094 mgmt.u.disassoc.reason_code = host_to_le16(reason); in hostap_sta_disassoc() 1172 host_to_le16(WLAN_FC_FROMDS); in wpa_driver_hostap_poll_client()
|
H A D | driver_nl80211.c | 6306 hdr->frame_control |= host_to_le16(WLAN_FC_FROMDS); in wpa_driver_nl80211_hapd_send_eapol() 6308 hdr->frame_control |= host_to_le16(WLAN_FC_ISWEP); in wpa_driver_nl80211_hapd_send_eapol() 6311 host_to_le16(WLAN_FC_STYPE_QOS_DATA << 4); in wpa_driver_nl80211_hapd_send_eapol() 8272 mgmt.u.deauth.reason_code = host_to_le16(reason); in i802_sta_deauth() 8299 mgmt.u.disassoc.reason_code = host_to_le16(reason); in i802_sta_disassoc() 10344 nulldata.hdr.frame_control |= host_to_le16(WLAN_FC_FROMDS); in nl80211_send_null_frame()
|
/freebsd/contrib/wpa/src/utils/ |
H A D | common.h | 146 #define host_to_le16(n) (n) macro 176 #define host_to_le16(n) ((__force le16) (u16) (n)) macro 189 #define host_to_le16(n) bswap_16(n) macro
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | wmm_ac.c | 300 tspec->nominal_msdu_size = host_to_le16(params->nominal_msdu_size); in wmm_ac_build_addts_req() 303 host_to_le16(WMM_AC_FIXED_MSDU_SIZE); in wmm_ac_build_addts_req() 308 host_to_le16(params->surplus_bandwidth_allowance); in wmm_ac_build_addts_req()
|
H A D | ibss_rsn.c | 517 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN); in ibss_rsn_send_auth() 518 auth.u.auth.auth_transaction = host_to_le16(seq); in ibss_rsn_send_auth() 519 auth.u.auth.status_code = host_to_le16(WLAN_STATUS_SUCCESS); in ibss_rsn_send_auth()
|
H A D | pasn_supplicant.c | 959 deauth->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in wpas_pasn_deauthenticate() 966 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in wpas_pasn_deauthenticate()
|
H A D | sme.c | 1350 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in sme_external_auth_build_buf() 1355 resp->u.auth.auth_alg = host_to_le16(WLAN_AUTH_SAE); in sme_external_auth_build_buf() 1356 resp->seq_ctrl = host_to_le16(seq_num << 4); in sme_external_auth_build_buf() 1357 resp->u.auth.auth_transaction = host_to_le16(auth_transaction); in sme_external_auth_build_buf() 1358 resp->u.auth.status_code = host_to_le16(status_code); in sme_external_auth_build_buf()
|
H A D | wpa_supplicant.c | 6083 msk = host_to_le16(HT_CAP_INFO_MAX_AMSDU_SIZE); in wpa_disable_max_amsdu() 6164 le16 msk = host_to_le16(HT_CAP_INFO_SHORT_GI20MHZ | in wpa_set_disable_sgi() 6187 le16 msk = host_to_le16(HT_CAP_INFO_LDPC_CODING_CAP); in wpa_set_disable_ldpc() 6208 le16 msk = host_to_le16(HT_CAP_INFO_TX_STBC); in wpa_set_tx_stbc() 6234 le16 msk = host_to_le16(HT_CAP_INFO_RX_STBC_MASK); in wpa_set_rx_stbc() 6283 le16 bit = host_to_le16(HT_CAP_INFO_40MHZ_INTOLERANT); in wpa_supplicant_apply_ht_overrides() 6344 host_to_le16(3 << 2 * (i - 1)); \ in wpa_supplicant_apply_vht_overrides() 6346 host_to_le16(ssid->vht_tx_mcs_nss_ ##i << \ in wpa_supplicant_apply_vht_overrides() 6351 host_to_le16(3 << 2 * (i - 1)); \ in wpa_supplicant_apply_vht_overrides() 6353 host_to_le16(ssid->vht_rx_mcs_nss_ ##i << \ in wpa_supplicant_apply_vht_overrides()
|
H A D | rrm.c | 959 rep.duration = host_to_le16(data->scan_params.duration); in wpas_add_beacon_rep()
|
H A D | wnm_sta.c | 83 wnmsleep_ie->intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_req()
|
/freebsd/contrib/wpa/src/pasn/ |
H A D | pasn_initiator.c | 1052 if (mgmt->u.auth.auth_alg != host_to_le16(WLAN_AUTH_PASN)) in is_pasn_auth_frame() 1079 host_to_le16(pasn->trans_seq + 1)) { in wpa_pasn_auth_rx() 1378 if (mgmt->u.auth.auth_transaction != host_to_le16(pasn->trans_seq)) { in wpa_pasn_auth_tx_status()
|
/freebsd/contrib/wpa/src/common/ |
H A D | hw_features_common.c | 817 le16 msk = host_to_le16(HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET | in set_disable_ht40()
|
H A D | wpa_common.c | 3803 auth->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in wpa_pasn_build_auth_header() 3811 auth->u.auth.auth_alg = host_to_le16(WLAN_AUTH_PASN); in wpa_pasn_build_auth_header() 3812 auth->u.auth.auth_transaction = host_to_le16(trans_seq); in wpa_pasn_build_auth_header() 3813 auth->u.auth.status_code = host_to_le16(status); in wpa_pasn_build_auth_header()
|
H A D | ieee802_11_defs.h | 987 #define IEEE80211_FC(type, stype) host_to_le16((type << 2) | (stype << 4))
|
/freebsd/contrib/wpa/src/p2p/ |
H A D | p2p.c | 2304 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in p2p_build_probe_resp_buf() 2309 resp->u.probe_resp.beacon_int = host_to_le16(100); in p2p_build_probe_resp_buf() 2312 host_to_le16(WLAN_CAPABILITY_SHORT_PREAMBLE | in p2p_build_probe_resp_buf()
|