Home
last modified time | relevance | path

Searched refs:xrates (Results 1 – 9 of 9) sorted by relevance

/NextBSD/sys/net80211/
HDieee80211_adhoc.c674 is11bclient(const uint8_t *rates, const uint8_t *xrates) in is11bclient() argument
680 if (xrates != NULL || rates == NULL) in is11bclient()
699 uint8_t *ssid, *rates, *xrates; in adhoc_recv_mgmt() local
832 ssid = rates = xrates = NULL; in adhoc_recv_mgmt()
844 xrates = frm; in adhoc_recv_mgmt()
850 if (xrates != NULL) in adhoc_recv_mgmt()
851 IEEE80211_VERIFY_ELEMENT(xrates, in adhoc_recv_mgmt()
873 is11bclient(rates, xrates) ? IEEE80211_SEND_LEGACY_11B : 0); in adhoc_recv_mgmt()
HDieee80211_input.c400 const uint8_t *rates, const uint8_t *xrates, int flags) in ieee80211_setup_rates() argument
408 if (xrates != NULL) { in ieee80211_setup_rates()
413 nxrates = xrates[1]; in ieee80211_setup_rates()
418 "%u of %u rates", nxrates, xrates[1]); in ieee80211_setup_rates()
421 memcpy(rs->rs_rates + rs->rs_nrates, xrates+2, nxrates); in ieee80211_setup_rates()
578 scan->xrates = frm; in ieee80211_parse_beacon()
645 if (scan->rates != NULL && scan->xrates != NULL) { in ieee80211_parse_beacon()
652 IEEE80211_VERIFY_ELEMENT(scan->xrates, in ieee80211_parse_beacon()
HDieee80211_hostap.c1664 is11bclient(const uint8_t *rates, const uint8_t *xrates) in is11bclient() argument
1670 if (xrates != NULL || rates == NULL) in is11bclient()
1688 uint8_t *ssid, *rates, *xrates, *wpa, *rsn, *wme, *ath, *htcap; in hostap_recv_mgmt() local
1817 ssid = rates = xrates = NULL; in hostap_recv_mgmt()
1829 xrates = frm; in hostap_recv_mgmt()
1835 if (xrates != NULL) in hostap_recv_mgmt()
1836 IEEE80211_VERIFY_ELEMENT(xrates, in hostap_recv_mgmt()
1858 is11bclient(rates, xrates) ? IEEE80211_SEND_LEGACY_11B : 0); in hostap_recv_mgmt()
1985 ssid = rates = xrates = wpa = rsn = wme = ath = htcap = NULL; in hostap_recv_mgmt()
1997 xrates = frm; in hostap_recv_mgmt()
[all …]
HDieee80211_sta.c1301 uint8_t *rates, *xrates, *wme, *htcap, *htinfo; in sta_recv_mgmt() local
1631 rates = xrates = wme = htcap = htinfo = NULL; in sta_recv_mgmt()
1639 xrates = frm; in sta_recv_mgmt()
1670 if (xrates != NULL) in sta_recv_mgmt()
1671 IEEE80211_VERIFY_ELEMENT(xrates, in sta_recv_mgmt()
1673 rate = ieee80211_setup_rates(ni, rates, xrates, in sta_recv_mgmt()
HDieee80211_scan_sta.c276 if (sp->xrates != NULL) { in sta_add()
278 KASSERT(sp->xrates[1] <= IEEE80211_RATE_MAXSIZE, in sta_add()
279 ("xrate set too large: %u", sp->xrates[1])); in sta_add()
280 memcpy(ise->se_xrates, sp->xrates, 2+sp->xrates[1]); in sta_add()
HDieee80211_input.h253 const uint8_t *rates, const uint8_t *xrates, int flags);
HDieee80211_scan.h240 uint8_t *xrates; member
HDieee80211_mesh.c2001 uint8_t *ssid, *meshid, *rates, *xrates; in mesh_recv_mgmt() local
2025 ssid = meshid = rates = xrates = NULL; in mesh_recv_mgmt()
2037 xrates = frm; in mesh_recv_mgmt()
2047 if (xrates != NULL) in mesh_recv_mgmt()
2048 IEEE80211_VERIFY_ELEMENT(xrates, in mesh_recv_mgmt()
HDieee80211_node.c1523 ieee80211_setup_rates(ni, sp->rates, sp->xrates, in ieee80211_init_neighbor()