OSDN Git Service

iwlwifi: mvm: query regdb for wmm rule if needed
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Wed, 4 Apr 2018 06:23:48 +0000 (09:23 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 9 Apr 2018 15:59:45 +0000 (18:59 +0300)
commit77e30e10ee28a53c8af95809866ee8493583e29a
tree2cde194e0f84f96f0f8c585620b72314402aee99
parent0b5c0305e57ca940713bcb2b202fd2b412c62f31
iwlwifi: mvm: query regdb for wmm rule if needed

Since our device is regulatory self managed it maintains its regulatory
rules by its own. However the wmm_rules values can't be set by the
device itself but only the indication about the need to set it.
In case the device set wmm indication, proactively query the regulatory
data base to get these values

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.h
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c