Searched refs:host_to_le16 (Results 1 – 17 of 17) sorted by relevance
132 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in p2p_manager_disconnect()136 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in p2p_manager_disconnect()188 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in hostapd_ctrl_iface_deauthenticate()245 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID); in hostapd_ctrl_iface_disassociate()
42 cap->ht_capabilities_info = host_to_le16(hapd->iconf->ht_capab); in hostapd_eid_ht_capabilities()72 oper->operation_mode = host_to_le16(hapd->iface->ht_op_mode); in hostapd_eid_ht_operation()272 neg_ht_cap->ht_capabilities_info = host_to_le16(cap); in hostapd_get_ht_capab()
319 frame.data_length = host_to_le16(FT_R0KH_R1KH_PULL_DATA_LEN); in wpa_ft_pull_pmk_r1()509 rdie->status_code = host_to_le16(WLAN_STATUS_SUCCESS); in wpa_ft_process_rdie()516 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()529 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()536 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()545 host_to_le16(WLAN_STATUS_INVALID_PARAMETERS); in wpa_ft_process_rdie()548 host_to_le16(WLAN_STATUS_REQUEST_DECLINED); in wpa_ft_process_rdie()568 rdie->status_code = host_to_le16(res); in wpa_ft_process_rdie()580 rdie->status_code = host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE); in wpa_ft_process_rdie()1171 frame->action_length = host_to_le16(len); in wpa_ft_action_rx()[all …]
225 host_to_le16(hapd->iconf->beacon_int); in hostapd_gen_probe_resp()229 host_to_le16(hostapd_own_capab_info(hapd, sta, 1)); in hostapd_gen_probe_resp()551 head->duration = host_to_le16(0); in ieee802_11_set_beacon()557 host_to_le16(hapd->iconf->beacon_int); in ieee802_11_set_beacon()561 head->u.beacon.capab_info = host_to_le16(capab_info); in ieee802_11_set_beacon()
76 oper->vht_basic_mcs_set = host_to_le16(0xfffc); in hostapd_eid_vht_operation()
91 ac->txop_limit = host_to_le16(acp->txop_limit); in hostapd_eid_wmm()231 tspec->medium_time = host_to_le16(medium_time / 32); in wmm_process_tspec()
255 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply()256 reply->u.auth.auth_transaction = host_to_le16(auth_transaction); in send_auth_reply()257 reply->u.auth.status_code = host_to_le16(resp); in send_auth_reply()828 reply.u.deauth.reason_code = host_to_le16(reason_code); in send_deauth()858 host_to_le16(hostapd_own_capab_info(hapd, sta, 0)); in send_assoc_resp()859 reply->u.assoc_resp.status_code = host_to_le16(status_code); in send_assoc_resp()860 reply->u.assoc_resp.aid = host_to_le16((sta ? sta->aid : 0) in send_assoc_resp()1275 !(mgmt->frame_control & host_to_le16(WLAN_FC_ISWEP) && in handle_action()
621 hdr->frame_control |= host_to_le16(WLAN_FC_ISWEP); in hostapd_rx_action()
185 #define host_to_le16(n) (n) macro213 #define host_to_le16(n) ((__force le16) (u16) (n)) macro226 #define host_to_le16(n) bswap_16(n) macro
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()1046 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()1158 host_to_le16(WLAN_FC_FROMDS); in wpa_driver_hostap_poll_client()
5270 *(le16 *) &rtap_hdr[12] = host_to_le16(txflags); in wpa_driver_nl80211_send_mntr()6412 hdr->frame_control |= host_to_le16(WLAN_FC_FROMDS); in wpa_driver_nl80211_hapd_send_eapol()6414 hdr->frame_control |= host_to_le16(WLAN_FC_ISWEP); in wpa_driver_nl80211_hapd_send_eapol()6417 host_to_le16(WLAN_FC_STYPE_QOS_DATA << 4); in wpa_driver_nl80211_hapd_send_eapol()7609 mgmt.u.deauth.reason_code = host_to_le16(reason); in i802_sta_deauth()7632 mgmt.u.disassoc.reason_code = host_to_le16(reason); in i802_sta_disassoc()8875 nulldata.hdr.frame_control |= host_to_le16(WLAN_FC_FROMDS); in nl80211_send_null_frame()
163 #define host_to_le16(n) (n) macro191 #define host_to_le16(n) ((__force le16) (u16) (n)) macro204 #define host_to_le16(n) bswap_16(n) macro
52 #define IEEE80211_FC(type, stype) host_to_le16((type << 2) | (stype << 4))253 mgmt->frame_control |= host_to_le16(WLAN_FC_ISWEP); in ieee80211_send_auth()257 mgmt->u.auth.auth_alg = host_to_le16(wpa_s->mlme.auth_alg); in ieee80211_send_auth()258 mgmt->u.auth.auth_transaction = host_to_le16(transaction); in ieee80211_send_auth()260 mgmt->u.auth.status_code = host_to_le16(0); in ieee80211_send_auth()379 mgmt->u.reassoc_req.capab_info = host_to_le16(capab); in ieee80211_send_assoc()380 mgmt->u.reassoc_req.listen_interval = host_to_le16(1); in ieee80211_send_assoc()388 mgmt->u.assoc_req.capab_info = host_to_le16(capab); in ieee80211_send_assoc()389 mgmt->u.assoc_req.listen_interval = host_to_le16(1); in ieee80211_send_assoc()502 mgmt->u.deauth.reason_code = host_to_le16(reason); in ieee80211_send_deauth()[all …]
399 #define IEEE80211_FC(type, stype) host_to_le16((type << 2) | (stype << 4))
494 mgmt->u.action.u.bss_tm_req.disassoc_timer = host_to_le16(0); in hostapd_ctrl_iface_ess_disassoc()
2088 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in p2p_reply_probe()2093 resp->u.probe_resp.beacon_int = host_to_le16(100); in p2p_reply_probe()2096 host_to_le16(WLAN_CAPABILITY_SHORT_PREAMBLE | in p2p_reply_probe()
2500 msk = host_to_le16(HT_CAP_INFO_MAX_AMSDU_SIZE); in wpa_disable_max_amsdu()2566 u16 msk = host_to_le16(HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET | in wpa_set_disable_ht40()