mwifiex: download per country tx power table to firmware
authorBing Zhao <bzhao@marvell.com>
Sat, 14 Dec 2013 02:33:02 +0000 (18:33 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Dec 2013 20:23:11 +0000 (15:23 -0500)
commit82efa16ad2a30302e1d28ad9e6265a33a8ecc921
tree79ebe2b73b32abd18c51f7acbaa8141526da4165
parent699b027b9cefbaf779ad8eaab5e9ea122620827c
mwifiex: download per country tx power table to firmware

When driver gets regulatory domain change notifications or before
associates to an AP with Country IE, the txpwrlimit table stored
in device tree for that country is downloaded to firmware.

The txpwrlimit downloading will happen only at the first time
when the alpha2 country code is changed. World regulatory domain
"00" notification doesn't trigger the downloading. This behavior
is same as domain_info command.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/sta_cmd.c
drivers/net/wireless/mwifiex/sta_ioctl.c