linux/drivers/net/wireless/ath
Bruno Randolf 5719efdde1 ath: Add function to check if 4.9GHz channels are allowed
This adds a helper function to ath/regd.c which can be asked if 4.9GHz channels
are allowed for a given regulatory domain code. This keeps the knowledge of
regdomains and defines like MKK9_MKKC in one place. I'm passing the regdomain
code instead of the ath_regulatory structure because this needs to be called
quite early in the driver inititalization where ath_regulatory is not available
yet in ath5k.

I'm using MKK9_MKKC only because this is the regdomain in the 802.11j enabled
sample cards we got from our vendor. I found some hints in HAL code that this
is used by Atheros to indicate 4.9GHz channels support and that there might be
other domain codes as well, but as I don't have any documentation I'm just
putting in what I need right now. It can be extended later.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-01-28 15:44:26 -05:00
..
ar9170 mac80211: track receiver's aggregation reorder buffer size 2011-01-19 11:36:11 -05:00
ath5k ath5k: Use local variable for capabilities 2011-01-28 15:44:26 -05:00
ath9k ath9k: fix tx queue index confusion in debugfs code 2011-01-28 15:42:00 -05:00
carl9170 carl9170: utilize fw seq counter for mgmt/non-QoS data frames 2011-01-27 16:03:56 -05:00
ath.h ath9k_htc: Add multiple register read API 2011-01-19 11:36:06 -05:00
debug.c ath: Add and use ath_printk and ath_<level> 2010-12-07 16:34:39 -05:00
hw.c ath9k_hw: move the cycle counter tracking to ath 2010-10-11 15:04:20 -04:00
Kconfig carl9170: Makefile, Kconfig files and MAINTAINERS 2010-09-14 16:03:42 -04:00
key.c ath: Missed to clear key4 of micentry 2010-12-13 15:23:27 -05:00
main.c ath: Add and use ath_printk and ath_<level> 2010-12-07 16:34:39 -05:00
Makefile ath: Copy key cache management functions from ath9k to ath 2010-09-16 15:19:45 -04:00
reg.h ath9k_hw: move the cycle counter tracking to ath 2010-10-11 15:04:20 -04:00
regd_common.h
regd.c ath: Add function to check if 4.9GHz channels are allowed 2011-01-28 15:44:26 -05:00
regd.h ath: Add function to check if 4.9GHz channels are allowed 2011-01-28 15:44:26 -05:00