Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/wpa/src/ap/
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-stable/sys/net80211/
Dieee80211_input.c623 scan->htcap = frm; in ieee80211_parse_beacon()
667 if (scan->htcap == NULL) in ieee80211_parse_beacon()
668 scan->htcap = frm; in ieee80211_parse_beacon()
671 scan->htcap = frm; in ieee80211_parse_beacon()
756 if (scan->htcap != NULL) { in ieee80211_parse_beacon()
757 IEEE80211_VERIFY_LENGTH(scan->htcap[1], in ieee80211_parse_beacon()
758 scan->htcap[0] == IEEE80211_ELEMID_VENDOR ? in ieee80211_parse_beacon()
761 scan->htcap = NULL); in ieee80211_parse_beacon()
Dieee80211_sta.c1402 uint8_t *rates, *xrates, *wme, *htcap, *htinfo; in sta_recv_mgmt() local
1511 if (scan.htcap != NULL && scan.htinfo != NULL && in sta_recv_mgmt()
1515 scan.htcap, scan.htinfo); in sta_recv_mgmt()
1527 scan.htcap, scan.htinfo)) in sta_recv_mgmt()
1774 rates = xrates = wme = htcap = htinfo = NULL; in sta_recv_mgmt()
1786 htcap = frm; in sta_recv_mgmt()
1800 if (htcap == NULL) in sta_recv_mgmt()
1801 htcap = frm; in sta_recv_mgmt()
1855 if (htcap != NULL && htinfo != NULL && in sta_recv_mgmt()
1858 ieee80211_ht_updateparams(ni, htcap, htinfo); in sta_recv_mgmt()
[all …]
Dieee80211_hostap.c1756 uint8_t *ssid, *rates, *xrates, *wpa, *rsn, *wme, *ath, *htcap; in hostap_recv_mgmt() local
2057 ssid = rates = xrates = wpa = rsn = wme = ath = htcap = NULL; in hostap_recv_mgmt()
2076 htcap = frm; in hostap_recv_mgmt()
2094 if (ishtcapoui(frm) && htcap == NULL) in hostap_recv_mgmt()
2095 htcap = frm; in hostap_recv_mgmt()
2107 if (htcap != NULL) { in hostap_recv_mgmt()
2108 IEEE80211_VERIFY_LENGTH(htcap[1], in hostap_recv_mgmt()
2109 htcap[0] == IEEE80211_ELEMID_VENDOR ? in hostap_recv_mgmt()
2188 if (IEEE80211_IS_CHAN_HT(ni->ni_chan) && htcap != NULL) { in hostap_recv_mgmt()
2189 rate = ieee80211_setup_htrates(ni, htcap, in hostap_recv_mgmt()
[all …]
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()
Dieee80211_adhoc.c852 if (scan.htcap != NULL && scan.htinfo != NULL && in adhoc_recv_mgmt()
855 scan.htcap, scan.htinfo)); in adhoc_recv_mgmt()
857 scan.htcap, scan.htinfo)) in adhoc_recv_mgmt()
Dieee80211_ht.h197 const uint8_t *htcap, int flags);
Dieee80211_scan.h247 uint8_t *htcap; member
Dieee80211_ht.c2107 const struct ieee80211_ie_htcap *htcap; in ieee80211_setup_htrates() local
2127 htcap = (const struct ieee80211_ie_htcap *) ie; in ieee80211_setup_htrates()
2129 if (isclr(htcap->hc_mcsset, i)) in ieee80211_setup_htrates()
/freebsd-12-stable/sbin/ifconfig/
Difieee80211.c2857 const struct ieee80211_ie_htcap *htcap = in printhtcap() local
2863 LE_READ_2(&htcap->hc_cap), htcap->hc_param); in printhtcap()
2867 if (isset(htcap->hc_mcsset, i)) { in printhtcap()
2869 if (isclr(htcap->hc_mcsset, j)) in printhtcap()
2880 LE_READ_2(&htcap->hc_extcap), in printhtcap()
2881 LE_READ_4(&htcap->hc_txbf), in printhtcap()
2882 htcap->hc_antenna); in printhtcap()