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

Function ieee80211_ht_updatehtcap

freebsd/net80211/ieee80211_ht.c:2057–2067  ·  view source on GitHub ↗

* Parse and update HT-related state extracted from the HT cap ie * for a station joining an HT BSS. * * This is called from the hostap path for each station. */

Source from the content-addressed store, hash-verified

2055 * This is called from the hostap path for each station.
2056 */
2057void
2058ieee80211_ht_updatehtcap(struct ieee80211_node *ni, const uint8_t *htcapie)
2059{
2060 struct ieee80211vap *vap = ni->ni_vap;
2061
2062 ieee80211_parse_htcap(ni, htcapie);
2063 if (vap->iv_htcaps & IEEE80211_HTC_SMPS)
2064 htcap_update_mimo_ps(ni);
2065 htcap_update_shortgi(ni);
2066 htcap_update_ldpc(ni);
2067}
2068
2069/*
2070 * Called once HT and VHT capabilities are parsed in hostap mode -

Callers 1

hostap_recv_mgmtFunction · 0.85

Calls 4

ieee80211_parse_htcapFunction · 0.85
htcap_update_mimo_psFunction · 0.85
htcap_update_shortgiFunction · 0.85
htcap_update_ldpcFunction · 0.85

Tested by

no test coverage detected