Home
last modified time | relevance | path

Searched refs:host_to_le16 (Results 1 – 21 of 21) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dieee802_11_ht.c38 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()
523 neg_ht_cap->ht_capabilities_info = host_to_le16(cap); in hostapd_get_ht_capab()
Dwnm_ap.c80 wnmsleep_ie.intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_resp()
373 mgmt->u.action.u.bss_tm_req.disassoc_timer = host_to_le16(0); in ieee802_11_send_bss_trans_mgmt_request()
681 host_to_le16(disassoc_timer); in wnm_send_disassoc_imminent()
748 host_to_le16(disassoc_timer); in wnm_send_ess_disassoc_imminent()
803 host_to_le16(disassoc_timer); in wnm_send_bss_tm_req()
Dwmm.c146 ac->txop_limit = host_to_le16(acp->txop_limit); in hostapd_eid_wmm()
288 tspec->medium_time = host_to_le16(medium_time / 32); in wmm_process_tspec()
Dwpa_auth_ft.c146 type16 = host_to_le16(type); in wpa_ft_rrb_get_tlv()
340 hdr->type = host_to_le16(tlvs[i].type); in wpa_ft_tlv_lin()
341 hdr->len = host_to_le16(tlvs[i].len); in wpa_ft_tlv_lin()
395 hdr->type = host_to_le16(FT_RRB_VLAN_UNTAGGED); in wpa_ft_vlan_lin()
396 hdr->len = host_to_le16(sizeof(le16)); in wpa_ft_vlan_lin()
413 hdr->type = host_to_le16(FT_RRB_VLAN_TAGGED); in wpa_ft_vlan_lin()
426 hdr->len = host_to_le16(len); in wpa_ft_vlan_lin()
2355 rdie->status_code = host_to_le16(WLAN_STATUS_SUCCESS); in wpa_ft_process_rdie()
2362 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()
2373 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()
[all …]
Dctrl_iface_ap.c478 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in p2p_manager_disconnect()
482 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in p2p_manager_disconnect()
536 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostapd_ctrl_iface_deauthenticate()
598 mgmt.u.disassoc.reason_code = host_to_le16(reason); in hostapd_ctrl_iface_disassociate()
Dbeacon.c490 host_to_le16(hapd->iconf->beacon_int); in hostapd_gen_probe_resp()
494 host_to_le16(hostapd_own_capab_info(hapd)); in hostapd_gen_probe_resp()
1189 head->duration = host_to_le16(0); in ieee802_11_build_ap_params()
1195 host_to_le16(hapd->iconf->beacon_int); in ieee802_11_build_ap_params()
1199 head->u.beacon.capab_info = host_to_le16(capab_info); in ieee802_11_build_ap_params()
Dieee802_11_vht.c122 oper->vht_basic_mcs_set = host_to_le16(0xfffc); in hostapd_eid_vht_operation()
Dieee802_11_he.c204 host_to_le16(hapd->iface->conf->he_op.he_basic_mcs_nss_set); in hostapd_eid_he_operation()
Dieee802_11.c371 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply()
372 reply->u.auth.auth_transaction = host_to_le16(auth_transaction); in send_auth_reply()
373 reply->u.auth.status_code = host_to_le16(resp); in send_auth_reply()
3553 reply.u.deauth.reason_code = host_to_le16(reason_code); in send_deauth()
3703 host_to_le16(hostapd_own_capab_info(hapd)); in send_assoc_resp()
3704 reply->u.assoc_resp.status_code = host_to_le16(status_code); in send_assoc_resp()
3706 reply->u.assoc_resp.aid = host_to_le16((sta ? sta->aid : 0) | in send_assoc_resp()
4644 !(mgmt->frame_control & host_to_le16(WLAN_FC_ISWEP)) && in handle_action()
/external/wpa_supplicant_8/src/drivers/
Ddriver_hostap.c274 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()
1171 host_to_le16(WLAN_FC_FROMDS); in wpa_driver_hostap_poll_client()
Ddriver_nl80211.c5364 hdr->frame_control |= host_to_le16(WLAN_FC_FROMDS); in wpa_driver_nl80211_hapd_send_eapol()
5366 hdr->frame_control |= host_to_le16(WLAN_FC_ISWEP); in wpa_driver_nl80211_hapd_send_eapol()
5369 host_to_le16(WLAN_FC_STYPE_QOS_DATA << 4); in wpa_driver_nl80211_hapd_send_eapol()
6959 mgmt.u.deauth.reason_code = host_to_le16(reason); in i802_sta_deauth()
6986 mgmt.u.disassoc.reason_code = host_to_le16(reason); in i802_sta_disassoc()
8662 nulldata.hdr.frame_control |= host_to_le16(WLAN_FC_FROMDS); in nl80211_send_null_frame()
/external/wpa_supplicant_8/src/utils/
Dcommon.h146 #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
/external/wpa_supplicant_8/wpa_supplicant/
Dwmm_ac.c300 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()
Dibss_rsn.c516 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN); in ibss_rsn_send_auth()
517 auth.u.auth.auth_transaction = host_to_le16(seq); in ibss_rsn_send_auth()
518 auth.u.auth.status_code = host_to_le16(WLAN_STATUS_SUCCESS); in ibss_rsn_send_auth()
Dsme.c989 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in sme_external_auth_build_buf()
994 resp->u.auth.auth_alg = host_to_le16(WLAN_AUTH_SAE); in sme_external_auth_build_buf()
995 resp->seq_ctrl = host_to_le16(seq_num << 4); in sme_external_auth_build_buf()
996 resp->u.auth.auth_transaction = host_to_le16(auth_transaction); in sme_external_auth_build_buf()
997 resp->u.auth.status_code = host_to_le16(status_code); in sme_external_auth_build_buf()
Dwpa_supplicant.c5031 msk = host_to_le16(HT_CAP_INFO_MAX_AMSDU_SIZE); in wpa_disable_max_amsdu()
5112 le16 msk = host_to_le16(HT_CAP_INFO_SHORT_GI20MHZ | in wpa_set_disable_sgi()
5135 le16 msk = host_to_le16(HT_CAP_INFO_LDPC_CODING_CAP); in wpa_set_disable_ldpc()
5156 le16 msk = host_to_le16(HT_CAP_INFO_TX_STBC); in wpa_set_tx_stbc()
5182 le16 msk = host_to_le16(HT_CAP_INFO_RX_STBC_MASK); in wpa_set_rx_stbc()
5231 le16 bit = host_to_le16(HT_CAP_INFO_40MHZ_INTOLERANT); in wpa_supplicant_apply_ht_overrides()
5292 host_to_le16(3 << 2 * (i - 1)); \ in wpa_supplicant_apply_vht_overrides()
5294 host_to_le16(ssid->vht_tx_mcs_nss_ ##i << \ in wpa_supplicant_apply_vht_overrides()
5299 host_to_le16(3 << 2 * (i - 1)); \ in wpa_supplicant_apply_vht_overrides()
5301 host_to_le16(ssid->vht_rx_mcs_nss_ ##i << \ in wpa_supplicant_apply_vht_overrides()
Drrm.c941 rep.duration = host_to_le16(data->scan_params.duration); in wpas_add_beacon_rep()
Dwnm_sta.c83 wnmsleep_ie->intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_req()
/external/wpa_supplicant_8/src/common/
Dhw_features_common.c621 le16 msk = host_to_le16(HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET | in set_disable_ht40()
Dieee802_11_defs.h870 #define IEEE80211_FC(type, stype) host_to_le16((type << 2) | (stype << 4))
/external/wpa_supplicant_8/src/p2p/
Dp2p.c2264 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in p2p_build_probe_resp_buf()
2269 resp->u.probe_resp.beacon_int = host_to_le16(100); in p2p_build_probe_resp_buf()
2272 host_to_le16(WLAN_CAPABILITY_SHORT_PREAMBLE | in p2p_build_probe_resp_buf()