iwlwifi: create regdomain from mcc_update_cmd response
authorArik Nemtsov <arik@wizery.com>
Wed, 5 Mar 2014 10:19:10 +0000 (12:19 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 12 Mar 2015 07:57:22 +0000 (09:57 +0200)
commitaf45a9003f1f14af24804f7747f14238e8d51163
tree8fe4b038d577987ec80ec9579264debad450a11f
parent90d4f7db6c5d8af1f4eab7bc714ec0ee130f9f00
iwlwifi: create regdomain from mcc_update_cmd response

Parse the NVM channel data and create a regulatory domain with a rule
for every 20Mhz channel. Use the AUTO_BW flag so the regulatory core
can unify single-channel rules into ranges.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
drivers/net/wireless/iwlwifi/iwl-nvm-parse.h