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

/freebsd-13-stable/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);
545 neg_ht_cap->ht_capabilities_info = host_to_le16(ca
[all...]
H A Dwnm_ap.c79 wnmsleep_ie.intval = host_to_le16(intval);
361 mgmt->u.action.u.bss_tm_req.disassoc_timer = host_to_le16(0);
639 host_to_le16(disassoc_timer);
706 host_to_le16(disassoc_timer);
761 host_to_le16(disassoc_timer);
H A Dwmm.c144 ac->txop_limit = host_to_le16(acp->txop_limit);
286 tspec->medium_time = host_to_le16(medium_time / 32);
H A Dctrl_iface_ap.c453 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID);
457 host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID);
512 mgmt.u.deauth.reason_code = host_to_le16(reason);
575 mgmt.u.disassoc.reason_code = host_to_le16(reason);
H A Dwpa_auth_ft.c146 type16 = host_to_le16(type);
340 hdr->type = host_to_le16(tlvs[i].type);
341 hdr->len = host_to_le16(tlvs[i].len);
395 hdr->type = host_to_le16(FT_RRB_VLAN_UNTAGGED);
396 hdr->len = host_to_le16(sizeof(le16));
413 hdr->type = host_to_le16(FT_RRB_VLAN_TAGGED);
426 hdr->len = host_to_le16(len);
2307 rdie->status_code = host_to_le16(WLAN_STATUS_SUCCESS);
2314 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILURE);
2325 host_to_le16(WLAN_STATUS_UNSPECIFIED_FAILUR
[all...]
H A Dieee802_11_he.c163 host_to_le16(hapd->iface->conf->he_op.he_basic_mcs_nss_set);
H A Dieee802_11_vht.c119 oper->vht_basic_mcs_set = host_to_le16(0xfffc);
H A Dbeacon.c423 host_to_le16(hapd->iconf->beacon_int);
427 host_to_le16(hostapd_own_capab_info(hapd));
1111 head->duration = host_to_le16(0);
1117 host_to_le16(hapd->iconf->beacon_int);
1121 head->u.beacon.capab_info = host_to_le16(capab_info);
H A Dieee802_11.c321 reply->u.auth.auth_alg = host_to_le16(auth_alg);
322 reply->u.auth.auth_transaction = host_to_le16(auth_transaction);
323 reply->u.auth.status_code = host_to_le16(resp);
3349 reply.u.deauth.reason_code = host_to_le16(reason_code);
3499 host_to_le16(hostapd_own_capab_info(hapd));
3500 reply->u.assoc_resp.status_code = host_to_le16(status_code);
3502 reply->u.assoc_resp.aid = host_to_le16((sta ? sta->aid : 0) |
4431 !(mgmt->frame_control & host_to_le16(WLAN_FC_ISWEP)) &&
/freebsd-13-stable/contrib/wpa/src/drivers/
H A Ddriver_hostap.c273 hdr->frame_control |= host_to_le16(BIT(1));
275 hdr->frame_control &= ~host_to_le16(BIT(1));
301 hdr->frame_control |= host_to_le16(WLAN_FC_FROMDS);
303 hdr->frame_control |= host_to_le16(WLAN_FC_ISWEP);
1052 mgmt.u.deauth.reason_code = host_to_le16(reason);
1090 mgmt.u.disassoc.reason_code = host_to_le16(reason);
1167 host_to_le16(WLAN_FC_FROMDS);
/freebsd-13-stable/contrib/wpa/src/utils/
H A 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
/freebsd-13-stable/contrib/wpa/wpa_supplicant/
H A Dibss_rsn.c500 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN);
501 auth.u.auth.auth_transaction = host_to_le16(seq);
502 auth.u.auth.status_code = host_to_le16(WLAN_STATUS_SUCCESS);
H A Dwmm_ac.c300 tspec->nominal_msdu_size = host_to_le16(params->nominal_msdu_size);
303 host_to_le16(WMM_AC_FIXED_MSDU_SIZE);
308 host_to_le16(params->surplus_bandwidth_allowance);
H A Dsme.c919 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) |
924 resp->u.auth.auth_alg = host_to_le16(WLAN_AUTH_SAE);
925 resp->seq_ctrl = host_to_le16(seq_num << 4);
926 resp->u.auth.auth_transaction = host_to_le16(auth_transaction);
927 resp->u.auth.status_code = host_to_le16(WLAN_STATUS_SUCCESS);
H A Dwpa_supplicant.c4549 msk = host_to_le16(HT_CAP_INFO_MAX_AMSDU_SIZE);
4630 le16 msk = host_to_le16(HT_CAP_INFO_SHORT_GI20MHZ |
4653 le16 msk = host_to_le16(HT_CAP_INFO_LDPC_CODING_CAP);
4674 le16 msk = host_to_le16(HT_CAP_INFO_TX_STBC);
4700 le16 msk = host_to_le16(HT_CAP_INFO_RX_STBC_MASK);
4749 le16 bit = host_to_le16(HT_CAP_INFO_40MHZ_INTOLERANT);
4810 host_to_le16(3 << 2 * (i - 1)); \
4812 host_to_le16(ssid->vht_tx_mcs_nss_ ##i << \
4817 host_to_le16(3 << 2 * (i - 1)); \
4819 host_to_le16(ssi
[all...]
H A Drrm.c931 rep.duration = host_to_le16(data->scan_params.duration);
H A Dwnm_sta.c83 wnmsleep_ie->intval = host_to_le16(intval);
/freebsd-13-stable/contrib/wpa/src/common/
H A Dhw_features_common.c478 le16 msk = host_to_le16(HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET |
H A Dieee802_11_defs.h856 #define IEEE80211_FC(type, stype) host_to_le16((type << 2) | (stype << 4))
/freebsd-13-stable/contrib/wpa/src/p2p/
H A Dp2p.c2248 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) |
2253 resp->u.probe_resp.beacon_int = host_to_le16(100);
2256 host_to_le16(WLAN_CAPABILITY_SHORT_PREAMBLE |

Completed in 322 milliseconds