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

Function htcap_update_ldpc

freebsd/net80211/ieee80211_ht.c:1883–1891  ·  view source on GitHub ↗

* Update LDPC state according to received htcap * and local settings. */

Source from the content-addressed store, hash-verified

1881 * and local settings.
1882 */
1883static __inline void
1884htcap_update_ldpc(struct ieee80211_node *ni)
1885{
1886 struct ieee80211vap *vap = ni->ni_vap;
1887
1888 if ((ni->ni_htcap & IEEE80211_HTCAP_LDPC) &&
1889 (vap->iv_flags_ht & IEEE80211_FHT_LDPC_TX))
1890 ni->ni_flags |= IEEE80211_NODE_LDPC;
1891}
1892
1893/*
1894 * Parse and update HT-related state extracted from

Callers 2

ieee80211_ht_updatehtcapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected