qtnfmac: update bands information on CHANGE_INTF command
authorIgor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Wed, 20 Mar 2019 10:04:00 +0000 (10:04 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 4 Apr 2019 09:57:30 +0000 (12:57 +0300)
commit93eeab26791df9ddd9a2c38f68d8fb78973ef06a
treeeeb0eb84bb24010d9b5198426782e898d0abe651
parent438fb43bcab15aeafd3318dd305cea9769dd24d0
qtnfmac: update bands information on CHANGE_INTF command

In some regions, different regulatory limits (like max Tx power) may be
defined for different operating modes. As an example: in ETSI regions
DFS master devices may use higher transmit powers compared to DFS slave
devices. Update bands information in CHANGE_INTF command if mode of
operation changes.

Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/commands.c