Searched refs:host_to_le16 (Results 1 - 16 of 16) sorted by relevance

/freebsd-11.0-release/contrib/wpa/src/ap/
H A Dieee802_11_ht.c38 cap->ht_capabilities_info = host_to_le16(hapd->iconf->ht_capab);
58 host_to_le16(hapd->iconf->obss_interval);
63 host_to_le16(20);
65 host_to_le16(10);
67 host_to_le16(200);
69 host_to_le16(20);
71 host_to_le16(5);
73 host_to_le16(25);
97 oper->operation_mode = host_to_le16(hapd->iface->ht_op_mode);
478 neg_ht_cap->ht_capabilities_info = host_to_le16(ca
[all...]
H A Dwpa_auth_ft.c331 frame.data_length = host_to_le16(FT_R0KH_R1KH_PULL_DATA_LEN);
526 rdie->status_code = host_to_le16(WLAN_STATUS_SUCCESS);
533 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE);
544 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE);
551 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE);
566 host_to_le16(WLAN_STATUS_INVALID_PARAMETERS);
569 host_to_le16(WLAN_STATUS_REQUEST_DECLINED);
586 rdie->status_code = host_to_le16(res);
598 rdie->status_code = host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE);
1208 frame->action_length = host_to_le16(le
[all...]
H A Dwnm_ap.c77 wnmsleep_ie.intval = host_to_le16(intval);
277 mgmt->u.action.u.bss_tm_req.disassoc_timer = host_to_le16(0);
432 host_to_le16(disassoc_timer);
499 host_to_le16(disassoc_timer);
553 host_to_le16(disassoc_timer);
H A Dctrl_iface_ap.c265 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID);
269 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID);
324 mgmt.u.deauth.reason_code = host_to_le16(reason);
384 mgmt.u.disassoc.reason_code = host_to_le16(reason);
H A Dwmm.c85 ac->txop_limit = host_to_le16(acp->txop_limit);
225 tspec->medium_time = host_to_le16(medium_time / 32);
H A Dieee802_11_vht.c86 oper->vht_basic_mcs_set = host_to_le16(0xfffc);
H A Dbeacon.c404 host_to_le16(hapd->iconf->beacon_int);
408 host_to_le16(hostapd_own_capab_info(hapd));
947 head->duration = host_to_le16(0);
953 host_to_le16(hapd->iconf->beacon_int);
957 head->u.beacon.capab_info = host_to_le16(capab_info);
H A Dieee802_11.c274 reply->u.auth.auth_alg = host_to_le16(auth_alg);
275 reply->u.auth.auth_transaction = host_to_le16(auth_transaction);
276 reply->u.auth.status_code = host_to_le16(resp);
1638 reply.u.deauth.reason_code = host_to_le16(reason_code);
1668 host_to_le16(hostapd_own_capab_info(hapd));
1669 reply->u.assoc_resp.status_code = host_to_le16(status_code);
1670 reply->u.assoc_resp.aid = host_to_le16(sta->aid | BIT(14) | BIT(15));
2143 !(mgmt->frame_control & host_to_le16(WLAN_FC_ISWEP)) &&
/freebsd-11.0-release/contrib/wpa/wpa_supplicant/
H A Dmesh_rsn.c387 min_lid = host_to_le16(sta->my_lid);
388 max_lid = host_to_le16(sta->peer_lid);
390 min_lid = host_to_le16(sta->peer_lid);
391 max_lid = host_to_le16(sta->my_lid);
H A Dibss_rsn.c493 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN);
494 auth.u.auth.auth_transaction = host_to_le16(seq);
495 auth.u.auth.status_code = host_to_le16(WLAN_STATUS_SUCCESS);
H A Dwmm_ac.c303 tspec->nominal_msdu_size = host_to_le16(params->nominal_msdu_size);
306 host_to_le16(WMM_AC_FIXED_MSDU_SIZE);
311 host_to_le16(params->surplus_bandwidth_allowance);
H A Dwnm_sta.c77 wnmsleep_ie->intval = host_to_le16(intval);
H A Dwpa_supplicant.c3438 msk = host_to_le16(HT_CAP_INFO_MAX_AMSDU_SIZE);
3504 le16 msk = host_to_le16(HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET |
3526 le16 msk = host_to_le16(HT_CAP_INFO_SHORT_GI20MHZ |
3548 le16 msk = host_to_le16(HT_CAP_INFO_LDPC_CODING_CAP);
3589 le16 bit = host_to_le16(HT_CAP_INFO_40MHZ_INTOLERANT);
/freebsd-11.0-release/contrib/wpa/src/utils/
H A Dcommon.h137 #define host_to_le16(n) (n) macro
166 #define host_to_le16(n) ((__force le16) (u16) (n)) macro
179 #define host_to_le16(n) bswap_16(n) macro
/freebsd-11.0-release/contrib/wpa/src/common/
H A Dieee802_11_defs.h466 #define IEEE80211_FC(type, stype) host_to_le16((type << 2) | (stype << 4))
/freebsd-11.0-release/contrib/wpa/src/p2p/
H A Dp2p.c2398 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) |
2403 resp->u.probe_resp.beacon_int = host_to_le16(100);
2406 host_to_le16(WLAN_CAPABILITY_SHORT_PREAMBLE |

Completed in 284 milliseconds