DORMANTno replies

[PATCH] ath9k: simplify regulatory code

From: Luis R. Rodriguez <hidden>
Date: 2009-01-16 00:22:59

Now that cfg80211 has its own regulatory infrastructure we can
condense ath9k's regulatory code considerably. We only keep data
we need to provide our own regulatory_hint(), reg_notifier() and
information necessary for calibration.

Atheros hardware supports 12 world regulatory domains, since these
are custom we apply them through the the new wiphy_apply_custom_regulatory().
Although we have 12 we can consolidate these into 5 structures based on
frequency and apply a different set of flags that differentiate them on
a case by case basis through the reg_notifier().

Signed-off-by: Luis R. Rodriguez <redacted>
---

This patch seems to be too big (136665 bytes) for linux-wireless so
here a URL to it if you want to wget it:

http://www.kernel.org/pub/linux/kernel/people/mcgrof/patches/ath9k/2009-01-16/0001-ath9k-reg-cleanup.patch

This patch should be applied once the 13 patches from the new series
"cfg80211/mac80211: fixes/enhancements for reg_notifier()" have been
merged as it depends on a few new cfg80211 helpers from there.

 drivers/net/wireless/ath9k/ath9k.h       |   41 +-
 drivers/net/wireless/ath9k/calib.c       |   41 +-
 drivers/net/wireless/ath9k/core.h        |    1 -
 drivers/net/wireless/ath9k/hw.c          |   63 +-
 drivers/net/wireless/ath9k/main.c        |  250 ++--
 drivers/net/wireless/ath9k/regd.c        | 1191 +++++-------------
 drivers/net/wireless/ath9k/regd.h        |  181 +---
 drivers/net/wireless/ath9k/regd_common.h | 2058 +++++-------------------------
 8 files changed, 794 insertions(+), 3032 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help