ath6kl: add support for changing contry code
authorKalle Valo <kvalo@qca.qualcomm.com>
Thu, 19 Jul 2012 13:00:56 +0000 (16:00 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 24 Oct 2012 08:49:37 +0000 (11:49 +0300)
commit84841ba29b1f55fb09703408477f097c7f8952f8
tree9bcf8de2def815dd2a4d3a0a534e76b9ccb7fdd2
parent11f0bfcf73f4a90c8c0e0b244a272379b376adb1
ath6kl: add support for changing contry code

To make it possible to change the country code from user space via nl80211
add handler for reg_notifier. The feature is only enabled when built
time option CONFIG_ATH6KL_REGDOMAIN is enabled, which again depends on
CFG80211_CERTIFICATION_ONUS for certication purposes.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/Kconfig
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/wmi.c
drivers/net/wireless/ath/ath6kl/wmi.h