]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit006a66d38cacb9a5a9aafdd48200ca72e3da9ff4
tree79ebe2b73b32abd18c51f7acbaa8141526da4165
parent8b9e524fc5943334b739afc3827bcd609f24253f
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