Home
last modified time | relevance | path

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

/f-stack/freebsd/net80211/
H A Dieee80211_adhoc.c685 is11bclient(const uint8_t *rates, const uint8_t *xrates) in is11bclient() argument
691 if (xrates != NULL || rates == NULL) in is11bclient()
710 uint8_t *ssid, *rates, *xrates; in adhoc_recv_mgmt() local
904 ssid = rates = xrates = NULL; in adhoc_recv_mgmt()
915 xrates = frm; in adhoc_recv_mgmt()
921 if (xrates != NULL) in adhoc_recv_mgmt()
922 IEEE80211_VERIFY_ELEMENT(xrates, in adhoc_recv_mgmt()
944 is11bclient(rates, xrates) ? IEEE80211_SEND_LEGACY_11B : 0); in adhoc_recv_mgmt()
H A Dieee80211_input.c395 const uint8_t *rates, const uint8_t *xrates, int flags) in ieee80211_setup_rates() argument
403 if (xrates != NULL) { in ieee80211_setup_rates()
408 nxrates = xrates[1]; in ieee80211_setup_rates()
413 "%u of %u rates", nxrates, xrates[1]); in ieee80211_setup_rates()
416 memcpy(rs->rs_rates + rs->rs_nrates, xrates+2, nxrates); in ieee80211_setup_rates()
579 scan->xrates = frm; in ieee80211_parse_beacon()
655 if (scan->rates != NULL && scan->xrates != NULL) { in ieee80211_parse_beacon()
662 IEEE80211_VERIFY_ELEMENT(scan->xrates, in ieee80211_parse_beacon()
H A Dieee80211_hostap.c1726 is11bclient(const uint8_t *rates, const uint8_t *xrates) in is11bclient() argument
1732 if (xrates != NULL || rates == NULL) in is11bclient()
1884 ssid = rates = xrates = NULL; in hostap_recv_mgmt()
1895 xrates = frm; in hostap_recv_mgmt()
1901 if (xrates != NULL) in hostap_recv_mgmt()
1902 IEEE80211_VERIFY_ELEMENT(xrates, in hostap_recv_mgmt()
2051 ssid = rates = xrates = wpa = rsn = wme = ath = htcap = NULL; in hostap_recv_mgmt()
2064 xrates = frm; in hostap_recv_mgmt()
2096 if (xrates != NULL) in hostap_recv_mgmt()
2097 IEEE80211_VERIFY_ELEMENT(xrates, in hostap_recv_mgmt()
[all …]
H A Dieee80211_sta.c1396 uint8_t *rates, *xrates, *wme, *htcap, *htinfo; in sta_recv_mgmt() local
1767 rates = xrates = wme = htcap = htinfo = NULL; in sta_recv_mgmt()
1776 xrates = frm; in sta_recv_mgmt()
1813 if (xrates != NULL) in sta_recv_mgmt()
1814 IEEE80211_VERIFY_ELEMENT(xrates, in sta_recv_mgmt()
1816 rate = ieee80211_setup_rates(ni, rates, xrates, in sta_recv_mgmt()
H A Dieee80211_input.h317 const uint8_t *rates, const uint8_t *xrates, int flags);
H A Dieee80211_scan.h242 uint8_t *xrates; member
H A Dieee80211_scan_sta.c283 if (sp->xrates != NULL) { in sta_add()
285 KASSERT(sp->xrates[1] <= IEEE80211_RATE_MAXSIZE, in sta_add()
286 ("xrate set too large: %u", sp->xrates[1])); in sta_add()
287 memcpy(ise->se_xrates, sp->xrates, 2+sp->xrates[1]); in sta_add()
H A Dieee80211_mesh.c1983 uint8_t *ssid, *meshid, *rates, *xrates; in mesh_recv_mgmt() local
2006 ssid = meshid = rates = xrates = NULL; in mesh_recv_mgmt()
2017 xrates = frm; in mesh_recv_mgmt()
2027 if (xrates != NULL) in mesh_recv_mgmt()
2028 IEEE80211_VERIFY_ELEMENT(xrates, in mesh_recv_mgmt()
H A Dieee80211_node.c1819 ieee80211_setup_rates(ni, sp->rates, sp->xrates, in ieee80211_init_neighbor()