diff options
author | sam <sam@FreeBSD.org> | 2009-05-02 20:16:55 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-05-02 20:16:55 +0000 |
commit | 81f398305ad92fe26044bdd2aa59cb0799f3751b (patch) | |
tree | 30f6ca4cbd6d3ef52796d2af9945c2c555ff14f7 /sys/net80211/ieee80211_var.h | |
parent | ed7c3176b96444dc82c6a07114013192611024f3 (diff) | |
download | FreeBSD-src-81f398305ad92fe26044bdd2aa59cb0799f3751b.zip FreeBSD-src-81f398305ad92fe26044bdd2aa59cb0799f3751b.tar.gz |
make superg/fast-frames state dynamically-allocated (and indirect off
the com structure instead of embedded); this reduces the overhead when
not configured and reduces visibility of the contents
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r-- | sys/net80211/ieee80211_var.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h index 6c4ee74..09b63d2 100644 --- a/sys/net80211/ieee80211_var.h +++ b/sys/net80211/ieee80211_var.h @@ -110,12 +110,7 @@ struct ieee80211_tdma_param; struct ieee80211_rate_table; struct ieee80211_tx_ampdu; struct ieee80211_rx_ampdu; - -struct ieee80211_stageq { - struct mbuf *head; /* frames linked w/ m_nextpkt */ - struct mbuf *tail; /* last frame in queue */ - int depth; /* # items on head */ -}; +struct ieee80211_superg; struct ieee80211com { struct ifnet *ic_ifp; /* associated device */ @@ -211,9 +206,8 @@ struct ieee80211com { int ic_lastnonerp; /* last time non-ERP sta noted*/ int ic_lastnonht; /* last time non-HT sta noted */ - /* fast-frames staging q */ - struct ieee80211_stageq ic_ff_stageq[WME_NUM_AC]; - int ic_stageqdepth; /* cumulative depth */ + /* optional state for Atheros SuperG protocol extensions */ + struct ieee80211_superg *ic_superg; /* virtual ap create/delete */ struct ieee80211vap* (*ic_vap_create)(struct ieee80211com *, |