Searched refs:host_to_le16 (Results 1 – 19 of 19) sorted by relevance
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()97 oper->operation_mode = host_to_le16(hapd->iface->ht_op_mode); in hostapd_eid_ht_operation()501 neg_ht_cap->ht_capabilities_info = host_to_le16(cap); in hostapd_get_ht_capab()
78 wnmsleep_ie.intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_resp()279 mgmt->u.action.u.bss_tm_req.disassoc_timer = host_to_le16(0); in ieee802_11_send_bss_trans_mgmt_request()456 host_to_le16(disassoc_timer); in wnm_send_disassoc_imminent()523 host_to_le16(disassoc_timer); in wnm_send_ess_disassoc_imminent()578 host_to_le16(disassoc_timer); in wnm_send_bss_tm_req()
80 ac->txop_limit = host_to_le16(acp->txop_limit); in hostapd_eid_wmm()222 tspec->medium_time = host_to_le16(medium_time / 32); in wmm_process_tspec()
349 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in p2p_manager_disconnect()353 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in p2p_manager_disconnect()408 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostapd_ctrl_iface_deauthenticate()471 mgmt.u.disassoc.reason_code = host_to_le16(reason); in hostapd_ctrl_iface_disassociate()
128 type16 = host_to_le16(type); in wpa_ft_rrb_get_tlv()230 hdr->type = host_to_le16(tlvs[i].type); in wpa_ft_tlv_lin()231 hdr->len = host_to_le16(tlvs[i].len); in wpa_ft_tlv_lin()1683 rdie->status_code = host_to_le16(WLAN_STATUS_SUCCESS); in wpa_ft_process_rdie()1690 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()1701 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()1708 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()1723 host_to_le16(WLAN_STATUS_INVALID_PARAMETERS); in wpa_ft_process_rdie()1726 host_to_le16(WLAN_STATUS_REQUEST_DECLINED); in wpa_ft_process_rdie()1743 rdie->status_code = host_to_le16(res); in wpa_ft_process_rdie()[all …]
480 host_to_le16(hapd->iconf->beacon_int); in hostapd_gen_probe_resp()484 host_to_le16(hostapd_own_capab_info(hapd)); in hostapd_gen_probe_resp()1140 head->duration = host_to_le16(0); in ieee802_11_build_ap_params()1146 host_to_le16(hapd->iconf->beacon_int); in ieee802_11_build_ap_params()1150 head->u.beacon.capab_info = host_to_le16(capab_info); in ieee802_11_build_ap_params()
119 oper->vht_basic_mcs_set = host_to_le16(0xfffc); in hostapd_eid_vht_operation()
299 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply()300 reply->u.auth.auth_transaction = host_to_le16(auth_transaction); in send_auth_reply()301 reply->u.auth.status_code = host_to_le16(resp); in send_auth_reply()2620 reply.u.deauth.reason_code = host_to_le16(reason_code); in send_deauth()2733 host_to_le16(hostapd_own_capab_info(hapd)); in send_assoc_resp()2734 reply->u.assoc_resp.status_code = host_to_le16(status_code); in send_assoc_resp()2736 reply->u.assoc_resp.aid = host_to_le16((sta ? sta->aid : 0) | in send_assoc_resp()3538 !(mgmt->frame_control & host_to_le16(WLAN_FC_ISWEP)) && in handle_action()
269 hdr->frame_control |= host_to_le16(BIT(1)); in hostap_send_mlme()271 hdr->frame_control &= ~host_to_le16(BIT(1)); in hostap_send_mlme()297 hdr->frame_control |= host_to_le16(WLAN_FC_FROMDS); in hostap_send_eapol()299 hdr->frame_control |= host_to_le16(WLAN_FC_ISWEP); in hostap_send_eapol()1045 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostap_sta_deauth()1083 mgmt.u.disassoc.reason_code = host_to_le16(reason); in hostap_sta_disassoc()1159 host_to_le16(WLAN_FC_FROMDS); in wpa_driver_hostap_poll_client()
4823 hdr->frame_control |= host_to_le16(WLAN_FC_FROMDS); in wpa_driver_nl80211_hapd_send_eapol()4825 hdr->frame_control |= host_to_le16(WLAN_FC_ISWEP); in wpa_driver_nl80211_hapd_send_eapol()4828 host_to_le16(WLAN_FC_STYPE_QOS_DATA << 4); in wpa_driver_nl80211_hapd_send_eapol()6224 mgmt.u.deauth.reason_code = host_to_le16(reason); in i802_sta_deauth()6251 mgmt.u.disassoc.reason_code = host_to_le16(reason); in i802_sta_disassoc()7873 nulldata.hdr.frame_control |= host_to_le16(WLAN_FC_FROMDS); in nl80211_send_null_frame()
146 #define host_to_le16(n) (n) macro175 #define host_to_le16(n) ((__force le16) (u16) (n)) macro188 #define host_to_le16(n) bswap_16(n) macro
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()
498 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN); in ibss_rsn_send_auth()499 auth.u.auth.auth_transaction = host_to_le16(seq); in ibss_rsn_send_auth()500 auth.u.auth.status_code = host_to_le16(WLAN_STATUS_SUCCESS); in ibss_rsn_send_auth()
4176 msk = host_to_le16(HT_CAP_INFO_MAX_AMSDU_SIZE); in wpa_disable_max_amsdu()4256 le16 msk = host_to_le16(HT_CAP_INFO_SHORT_GI20MHZ | in wpa_set_disable_sgi()4278 le16 msk = host_to_le16(HT_CAP_INFO_LDPC_CODING_CAP); in wpa_set_disable_ldpc()4319 le16 bit = host_to_le16(HT_CAP_INFO_40MHZ_INTOLERANT); in wpa_supplicant_apply_ht_overrides()4370 host_to_le16(3 << 2 * (i - 1)); \ in wpa_supplicant_apply_vht_overrides()4372 host_to_le16(ssid->vht_tx_mcs_nss_ ##i << \ in wpa_supplicant_apply_vht_overrides()4377 host_to_le16(3 << 2 * (i - 1)); \ in wpa_supplicant_apply_vht_overrides()4379 host_to_le16(ssid->vht_rx_mcs_nss_ ##i << \ in wpa_supplicant_apply_vht_overrides()
825 rep->duration = host_to_le16(data->scan_params.duration); in wpas_add_beacon_rep()
81 wnmsleep_ie->intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_req()
464 le16 msk = host_to_le16(HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET | in set_disable_ht40()
771 #define IEEE80211_FC(type, stype) host_to_le16((type << 2) | (stype << 4))
2271 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in p2p_build_probe_resp_buf()2276 resp->u.probe_resp.beacon_int = host_to_le16(100); in p2p_build_probe_resp_buf()2279 host_to_le16(WLAN_CAPABILITY_SHORT_PREAMBLE | in p2p_build_probe_resp_buf()