Home
last modified time | relevance | path

Searched refs:host_to_le16 (Results 1 – 23 of 23) 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()
385 mgmt->u.action.u.bss_tm_req.disassoc_timer = host_to_le16(0); in ieee802_11_send_bss_trans_mgmt_request()
694 host_to_le16(disassoc_timer); in wnm_send_disassoc_imminent()
761 host_to_le16(disassoc_timer); in wnm_send_ess_disassoc_imminent()
816 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.c147 type16 = host_to_le16(type); in wpa_ft_rrb_get_tlv()
341 hdr->type = host_to_le16(tlvs[i].type); in wpa_ft_tlv_lin()
342 hdr->len = host_to_le16(tlvs[i].len); in wpa_ft_tlv_lin()
396 hdr->type = host_to_le16(FT_RRB_VLAN_UNTAGGED); in wpa_ft_vlan_lin()
397 hdr->len = host_to_le16(sizeof(le16)); in wpa_ft_vlan_lin()
414 hdr->type = host_to_le16(FT_RRB_VLAN_TAGGED); in wpa_ft_vlan_lin()
427 hdr->len = host_to_le16(len); in wpa_ft_vlan_lin()
2396 rdie->status_code = host_to_le16(WLAN_STATUS_SUCCESS); in wpa_ft_process_rdie()
2403 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()
2414 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()
[all …]
Dieee802_11_he.c204 host_to_le16(hapd->iface->conf->he_op.he_basic_mcs_nss_set); in hostapd_eid_he_operation()
352 cap->capab = host_to_le16(capab); in hostapd_eid_he_6ghz_band_cap()
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()
Dieee802_11_vht.c122 oper->vht_basic_mcs_set = host_to_le16(0xfffc); in hostapd_eid_vht_operation()
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()
1456 head->duration = host_to_le16(0); in ieee802_11_build_ap_params()
1462 host_to_le16(hapd->iconf->beacon_int); in ieee802_11_build_ap_params()
1466 head->u.beacon.capab_info = host_to_le16(capab_info); in ieee802_11_build_ap_params()
Dieee802_11.c390 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply()
391 reply->u.auth.auth_transaction = host_to_le16(auth_transaction); in send_auth_reply()
392 reply->u.auth.status_code = host_to_le16(resp); in send_auth_reply()
4779 reply.u.deauth.reason_code = host_to_le16(reason_code); in send_deauth()
4929 host_to_le16(hostapd_own_capab_info(hapd)); in send_assoc_resp()
4930 reply->u.assoc_resp.status_code = host_to_le16(status_code); in send_assoc_resp()
4932 reply->u.assoc_resp.aid = host_to_le16((sta ? sta->aid : 0) | in send_assoc_resp()
5871 !(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.c5802 hdr->frame_control |= host_to_le16(WLAN_FC_FROMDS); in wpa_driver_nl80211_hapd_send_eapol()
5804 hdr->frame_control |= host_to_le16(WLAN_FC_ISWEP); in wpa_driver_nl80211_hapd_send_eapol()
5807 host_to_le16(WLAN_FC_STYPE_QOS_DATA << 4); in wpa_driver_nl80211_hapd_send_eapol()
7411 mgmt.u.deauth.reason_code = host_to_le16(reason); in i802_sta_deauth()
7438 mgmt.u.disassoc.reason_code = host_to_le16(reason); in i802_sta_disassoc()
9157 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/
Dpasn_supplicant.c1230 u16 fc = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in wpas_pasn_auth_rx()
1248 if (mgmt->u.auth.auth_alg != host_to_le16(WLAN_AUTH_PASN)) in wpas_pasn_auth_rx()
1252 host_to_le16(pasn->trans_seq + 1)) { in wpas_pasn_auth_rx()
1452 u16 fc = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in wpas_pasn_auth_tx_status()
1478 if (mgmt->u.auth.auth_alg != host_to_le16(WLAN_AUTH_PASN)) in wpas_pasn_auth_tx_status()
1481 if (mgmt->u.auth.auth_transaction != host_to_le16(pasn->trans_seq)) { in wpas_pasn_auth_tx_status()
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.c1029 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in sme_external_auth_build_buf()
1034 resp->u.auth.auth_alg = host_to_le16(WLAN_AUTH_SAE); in sme_external_auth_build_buf()
1035 resp->seq_ctrl = host_to_le16(seq_num << 4); in sme_external_auth_build_buf()
1036 resp->u.auth.auth_transaction = host_to_le16(auth_transaction); in sme_external_auth_build_buf()
1037 resp->u.auth.status_code = host_to_le16(status_code); in sme_external_auth_build_buf()
Dwpa_supplicant.c5240 msk = host_to_le16(HT_CAP_INFO_MAX_AMSDU_SIZE); in wpa_disable_max_amsdu()
5321 le16 msk = host_to_le16(HT_CAP_INFO_SHORT_GI20MHZ | in wpa_set_disable_sgi()
5344 le16 msk = host_to_le16(HT_CAP_INFO_LDPC_CODING_CAP); in wpa_set_disable_ldpc()
5365 le16 msk = host_to_le16(HT_CAP_INFO_TX_STBC); in wpa_set_tx_stbc()
5391 le16 msk = host_to_le16(HT_CAP_INFO_RX_STBC_MASK); in wpa_set_rx_stbc()
5440 le16 bit = host_to_le16(HT_CAP_INFO_40MHZ_INTOLERANT); in wpa_supplicant_apply_ht_overrides()
5501 host_to_le16(3 << 2 * (i - 1)); \ in wpa_supplicant_apply_vht_overrides()
5503 host_to_le16(ssid->vht_tx_mcs_nss_ ##i << \ in wpa_supplicant_apply_vht_overrides()
5508 host_to_le16(3 << 2 * (i - 1)); \ in wpa_supplicant_apply_vht_overrides()
5510 host_to_le16(ssid->vht_rx_mcs_nss_ ##i << \ in wpa_supplicant_apply_vht_overrides()
Drrm.c950 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.c659 le16 msk = host_to_le16(HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET | in set_disable_ht40()
Dwpa_common.c3295 auth->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in wpa_pasn_build_auth_header()
3303 auth->u.auth.auth_alg = host_to_le16(WLAN_AUTH_PASN); in wpa_pasn_build_auth_header()
3304 auth->u.auth.auth_transaction = host_to_le16(trans_seq); in wpa_pasn_build_auth_header()
3305 auth->u.auth.status_code = host_to_le16(status); in wpa_pasn_build_auth_header()
Dieee802_11_defs.h891 #define IEEE80211_FC(type, stype) host_to_le16((type << 2) | (stype << 4))
/external/wpa_supplicant_8/src/p2p/
Dp2p.c2266 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in p2p_build_probe_resp_buf()
2271 resp->u.probe_resp.beacon_int = host_to_le16(100); in p2p_build_probe_resp_buf()
2274 host_to_le16(WLAN_CAPABILITY_SHORT_PREAMBLE | in p2p_build_probe_resp_buf()