Searched refs:host_to_le16 (Results 1 – 18 of 18) 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()
331 frame.data_length = host_to_le16(FT_R0KH_R1KH_PULL_DATA_LEN); in wpa_ft_pull_pmk_r1()526 rdie->status_code = host_to_le16(WLAN_STATUS_SUCCESS); in wpa_ft_process_rdie()533 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()544 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()551 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()566 host_to_le16(WLAN_STATUS_INVALID_PARAMETERS); in wpa_ft_process_rdie()569 host_to_le16(WLAN_STATUS_REQUEST_DECLINED); in wpa_ft_process_rdie()586 rdie->status_code = host_to_le16(res); in wpa_ft_process_rdie()598 rdie->status_code = host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()1198 frame->action_length = host_to_le16(len); in wpa_ft_action_rx()[all …]
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()461 host_to_le16(disassoc_timer); in wnm_send_disassoc_imminent()528 host_to_le16(disassoc_timer); in wnm_send_ess_disassoc_imminent()583 host_to_le16(disassoc_timer); in wnm_send_bss_tm_req()
279 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in p2p_manager_disconnect()283 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in p2p_manager_disconnect()338 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostapd_ctrl_iface_deauthenticate()398 mgmt.u.disassoc.reason_code = host_to_le16(reason); in hostapd_ctrl_iface_disassociate()
85 ac->txop_limit = host_to_le16(acp->txop_limit); in hostapd_eid_wmm()225 tspec->medium_time = host_to_le16(medium_time / 32); in wmm_process_tspec()
407 host_to_le16(hapd->iconf->beacon_int); in hostapd_gen_probe_resp()411 host_to_le16(hostapd_own_capab_info(hapd)); in hostapd_gen_probe_resp()1000 head->duration = host_to_le16(0); in ieee802_11_build_ap_params()1006 host_to_le16(hapd->iconf->beacon_int); in ieee802_11_build_ap_params()1010 head->u.beacon.capab_info = host_to_le16(capab_info); in ieee802_11_build_ap_params()
277 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply()278 reply->u.auth.auth_transaction = host_to_le16(auth_transaction); in send_auth_reply()279 reply->u.auth.status_code = host_to_le16(resp); in send_auth_reply()1764 reply.u.deauth.reason_code = host_to_le16(reason_code); in send_deauth()1850 host_to_le16(hostapd_own_capab_info(hapd)); in send_assoc_resp()1851 reply->u.assoc_resp.status_code = host_to_le16(status_code); in send_assoc_resp()1852 reply->u.assoc_resp.aid = host_to_le16(sta->aid | BIT(14) | BIT(15)); in send_assoc_resp()2377 !(mgmt->frame_control & host_to_le16(WLAN_FC_ISWEP)) && in handle_action()
107 oper->vht_basic_mcs_set = host_to_le16(0xfffc); in hostapd_eid_vht_operation()
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()1047 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostap_sta_deauth()1085 mgmt.u.disassoc.reason_code = host_to_le16(reason); in hostap_sta_disassoc()1160 host_to_le16(WLAN_FC_FROMDS); in wpa_driver_hostap_poll_client()
4429 hdr->frame_control |= host_to_le16(WLAN_FC_FROMDS); in wpa_driver_nl80211_hapd_send_eapol()4431 hdr->frame_control |= host_to_le16(WLAN_FC_ISWEP); in wpa_driver_nl80211_hapd_send_eapol()4434 host_to_le16(WLAN_FC_STYPE_QOS_DATA << 4); in wpa_driver_nl80211_hapd_send_eapol()5667 mgmt.u.deauth.reason_code = host_to_le16(reason); in i802_sta_deauth()5694 mgmt.u.disassoc.reason_code = host_to_le16(reason); in i802_sta_disassoc()7279 nulldata.hdr.frame_control |= host_to_le16(WLAN_FC_FROMDS); in nl80211_send_null_frame()
405 min_lid = host_to_le16(sta->my_lid); in mesh_rsn_derive_mtk()406 max_lid = host_to_le16(sta->peer_lid); in mesh_rsn_derive_mtk()408 min_lid = host_to_le16(sta->peer_lid); in mesh_rsn_derive_mtk()409 max_lid = host_to_le16(sta->my_lid); in mesh_rsn_derive_mtk()
303 tspec->nominal_msdu_size = host_to_le16(params->nominal_msdu_size); in wmm_ac_build_addts_req()306 host_to_le16(WMM_AC_FIXED_MSDU_SIZE); in wmm_ac_build_addts_req()311 host_to_le16(params->surplus_bandwidth_allowance); in wmm_ac_build_addts_req()
493 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN); in ibss_rsn_send_auth()494 auth.u.auth.auth_transaction = host_to_le16(seq); in ibss_rsn_send_auth()495 auth.u.auth.status_code = host_to_le16(WLAN_STATUS_SUCCESS); in ibss_rsn_send_auth()
3602 msk = host_to_le16(HT_CAP_INFO_MAX_AMSDU_SIZE); in wpa_disable_max_amsdu()3668 le16 msk = host_to_le16(HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET | in wpa_set_disable_ht40()3690 le16 msk = host_to_le16(HT_CAP_INFO_SHORT_GI20MHZ | in wpa_set_disable_sgi()3712 le16 msk = host_to_le16(HT_CAP_INFO_LDPC_CODING_CAP); in wpa_set_disable_ldpc()3753 le16 bit = host_to_le16(HT_CAP_INFO_40MHZ_INTOLERANT); in wpa_supplicant_apply_ht_overrides()
79 wnmsleep_ie->intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_req()
137 #define host_to_le16(n) (n) macro166 #define host_to_le16(n) ((__force le16) (u16) (n)) macro179 #define host_to_le16(n) bswap_16(n) macro
477 #define IEEE80211_FC(type, stype) host_to_le16((type << 2) | (stype << 4))
2420 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in p2p_reply_probe()2425 resp->u.probe_resp.beacon_int = host_to_le16(100); in p2p_reply_probe()2428 host_to_le16(WLAN_CAPABILITY_SHORT_PREAMBLE | in p2p_reply_probe()