freebsd-dev/sys/dev/ral
Sam Leffler 339ccfb391 Hoist 802.11 encapsulation up into net80211:
o call ieee80211_encap in ieee80211_start so frames passed down to drivers
  are already encapsulated
o remove ieee80211_encap calls in drivers
o fixup wi so it recreates the 802.3 head it requires from the 802.11
  header contents
o move fast-frame aggregation from ath to net80211 (conditional on
  IEEE80211_SUPPORT_SUPERG):
  - aggregation is now done in ieee80211_start; it is enabled when the
    packets/sec exceeds ieee80211_ffppsmin (net.wlan.ffppsmin) and frames
    are held on a staging queue according to ieee80211_ffagemax
    (net.wlan.ffagemax) to wait for a frame to combine with
  - drivers must call back to age/flush the staging queue (ath does this
    on tx done, at swba, and on rx according to the state of the tx queues
    and/or the contents of the staging queue)
  - remove fast-frame-related data structures from ath
  - add ieee80211_ff_node_init and ieee80211_ff_node_cleanup to handle
    per-node fast-frames state (we reuse 11n tx ampdu state)
o change ieee80211_encap calling convention to include an explicit vap
  so frames coming through a WDS vap are recognized w/o setting M_WDS

With these changes any device able to tx/rx 3Kbyte+ frames can use fast-frames.

Reviewed by:	thompsa, rpaulo, avatar, imp, sephe
2009-03-30 21:53:27 +00:00
..
if_ral_pci.c remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
rt2560.c Hoist 802.11 encapsulation up into net80211: 2009-03-30 21:53:27 +00:00
rt2560reg.h Multi-bss (aka vap) support for 802.11 devices. 2008-04-20 20:35:46 +00:00
rt2560var.h o add ic_rt to track the rate table for the current channel; this enables 2009-03-29 21:17:08 +00:00
rt2661.c Hoist 802.11 encapsulation up into net80211: 2009-03-30 21:53:27 +00:00
rt2661reg.h Update 802.11 wireless support: 2007-06-11 03:36:55 +00:00
rt2661var.h o add ic_rt to track the rate table for the current channel; this enables 2009-03-29 21:17:08 +00:00