Home
last modified time | relevance | path

Searched refs:htcap (Results 1 – 10 of 10) sorted by relevance

/freebsd-12.1/contrib/wpa/src/ap/
H A Dtaxonomy.c89 char htcap[7 + 4 + 1]; /* ",htcap:" + %04hx + trailing NUL */ in ie_to_string() local
107 os_memset(htcap, 0, sizeof(htcap)); in ie_to_string()
156 os_snprintf(htcap, sizeof(htcap), in ie_to_string()
230 htcap, htagg, htmcs, vhtcap, vhtrxmcs, vhttxmcs, in ie_to_string()
/freebsd-12.1/sys/net80211/
H A Dieee80211_input.c592 scan->htcap = frm; in ieee80211_parse_beacon()
636 if (scan->htcap == NULL) in ieee80211_parse_beacon()
637 scan->htcap = frm; in ieee80211_parse_beacon()
640 scan->htcap = frm; in ieee80211_parse_beacon()
719 if (scan->htcap != NULL) { in ieee80211_parse_beacon()
720 IEEE80211_VERIFY_LENGTH(scan->htcap[1], in ieee80211_parse_beacon()
721 scan->htcap[0] == IEEE80211_ELEMID_VENDOR ? in ieee80211_parse_beacon()
724 scan->htcap = NULL); in ieee80211_parse_beacon()
H A Dieee80211_sta.c1354 uint8_t *rates, *xrates, *wme, *htcap, *htinfo; in sta_recv_mgmt() local
1453 if (scan.htcap != NULL && scan.htinfo != NULL && in sta_recv_mgmt()
1457 scan.htcap, scan.htinfo); in sta_recv_mgmt()
1469 scan.htcap, scan.htinfo)) in sta_recv_mgmt()
1716 rates = xrates = wme = htcap = htinfo = NULL; in sta_recv_mgmt()
1728 htcap = frm; in sta_recv_mgmt()
1742 if (htcap == NULL) in sta_recv_mgmt()
1743 htcap = frm; in sta_recv_mgmt()
1797 if (htcap != NULL && htinfo != NULL && in sta_recv_mgmt()
1800 ieee80211_ht_updateparams(ni, htcap, htinfo); in sta_recv_mgmt()
[all …]
H A Dieee80211_hostap.c2065 htcap = frm; in hostap_recv_mgmt()
2083 if (ishtcapoui(frm) && htcap == NULL) in hostap_recv_mgmt()
2084 htcap = frm; in hostap_recv_mgmt()
2096 if (htcap != NULL) { in hostap_recv_mgmt()
2097 IEEE80211_VERIFY_LENGTH(htcap[1], in hostap_recv_mgmt()
2098 htcap[0] == IEEE80211_ELEMID_VENDOR ? in hostap_recv_mgmt()
2177 if (IEEE80211_IS_CHAN_HT(ni->ni_chan) && htcap != NULL) { in hostap_recv_mgmt()
2178 rate = ieee80211_setup_htrates(ni, htcap, in hostap_recv_mgmt()
2188 ieee80211_ht_updatehtcap(ni, htcap); in hostap_recv_mgmt()
2248 if (htcap != NULL) in hostap_recv_mgmt()
[all …]
H A Dieee80211_scan_sta.c346 if (IEEE80211_IS_CHAN_HT(ise->se_chan) && sp->htcap == NULL) { in sta_add()
811 const struct ieee80211_ie_htcap *htcap = in maxrate() local
818 if (htcap != NULL) { in maxrate()
823 txparams = htcap->hc_mcsset[12]; in maxrate()
833 for (i = 31; i >= 0 && isclr(htcap->hc_mcsset, i); i--); in maxrate()
835 caps = le16dec(&htcap->hc_cap); in maxrate()
H A Dieee80211_adhoc.c823 if (scan.htcap != NULL && scan.htinfo != NULL && in adhoc_recv_mgmt()
826 scan.htcap, scan.htinfo)); in adhoc_recv_mgmt()
828 scan.htcap, scan.htinfo)) in adhoc_recv_mgmt()
H A Dieee80211_ht.h186 const uint8_t *htcap, int flags);
H A Dieee80211_scan.h247 uint8_t *htcap; member
H A Dieee80211_ht.c1930 const struct ieee80211_ie_htcap *htcap; in ieee80211_setup_htrates() local
1950 htcap = (const struct ieee80211_ie_htcap *) ie; in ieee80211_setup_htrates()
1952 if (isclr(htcap->hc_mcsset, i)) in ieee80211_setup_htrates()
/freebsd-12.1/sbin/ifconfig/
H A Difieee80211.c2795 const struct ieee80211_ie_htcap *htcap = in printhtcap() local
2801 LE_READ_2(&htcap->hc_cap), htcap->hc_param); in printhtcap()
2805 if (isset(htcap->hc_mcsset, i)) { in printhtcap()
2807 if (isclr(htcap->hc_mcsset, j)) in printhtcap()
2818 LE_READ_2(&htcap->hc_extcap), in printhtcap()
2819 LE_READ_4(&htcap->hc_txbf), in printhtcap()
2820 htcap->hc_antenna); in printhtcap()