]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add channel survey support to the AR5212 HAL.
authoradrian <adrian@FreeBSD.org>
Tue, 8 Oct 2013 11:28:59 +0000 (11:28 +0000)
committeradrian <adrian@FreeBSD.org>
Tue, 8 Oct 2013 11:28:59 +0000 (11:28 +0000)
commit66c01d36f385e2199625a2464868668ab1a69ba8
tree7a2a50b8d2713eb691bc0b254ce4054a56169028
parentf1b97b5667257dbd0ec9f0ea453e41233f1cc9c7
Add channel survey support to the AR5212 HAL.

The AR5212 series of MACs implement the same channel counters as the
later 11n chips - except, of course, the 11n specific counter (extension
channel busy.)

This allows users of these NICs to use 'athsurvey' to see how busy their
current channel is.

Tested:

* AR5212, AR2413 NICs, STA mode

Approved by: re@ (gleb)
sys/dev/ath/ath_hal/ar5212/ar5212.h
sys/dev/ath/ath_hal/ar5212/ar5212_ani.c
sys/dev/ath/ath_hal/ar5212/ar5212_misc.c