freebsd-nq/sys/dev/ath
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
..
ath_hal purge hal abi support; now that the hal is merged w/ the driver 2009-03-19 19:29:10 +00:00
ath_rate correct fixed rate handling; the rixmap was changed a while back 2009-01-07 23:30:26 +00:00
ah_osdep.c fix build w/ AH_DEBUG 2009-03-24 00:09:35 +00:00
ah_osdep.h Switch to ath hal source code. Note this removes the ath_hal 2008-12-01 16:53:01 +00:00
if_ath_pci.c remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
if_ath.c Hoist 802.11 encapsulation up into net80211: 2009-03-30 21:53:27 +00:00
if_athioctl.h add SIOCZATHSTATS ioctl to zero driver statistics 2009-02-13 05:38:03 +00:00
if_athrate.h now that the new association callback is used when joining a bss we can 2008-10-27 16:58:06 +00:00
if_athvar.h Hoist 802.11 encapsulation up into net80211: 2009-03-30 21:53:27 +00:00