MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ieee80211_ht_node_join

Function ieee80211_ht_node_join

freebsd/net80211/ieee80211_ht.c:1576–1589  ·  view source on GitHub ↗

* Handle an HT station joining a BSS. */

Source from the content-addressed store, hash-verified

1574 * Handle an HT station joining a BSS.
1575 */
1576void
1577ieee80211_ht_node_join(struct ieee80211_node *ni)
1578{
1579 struct ieee80211vap *vap = ni->ni_vap;
1580
1581 IEEE80211_LOCK_ASSERT(vap->iv_ic);
1582
1583 if (ni->ni_flags & IEEE80211_NODE_HT) {
1584 vap->iv_ht_sta_assoc++;
1585 if (ni->ni_chw == 40)
1586 vap->iv_ht40_sta_assoc++;
1587 }
1588 htinfo_update(vap);
1589}
1590
1591/*
1592 * Handle an HT station leaving a BSS.

Callers 1

ieee80211_node_joinFunction · 0.85

Calls 1

htinfo_updateFunction · 0.85

Tested by

no test coverage detected