OSDN Git Service

iwlwifi: mvm: implement approved list for the PPAG feature
authorLuca Coelho <luciano.coelho@intel.com>
Sun, 31 Jan 2021 18:22:07 +0000 (20:22 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 5 Feb 2021 09:57:45 +0000 (11:57 +0200)
commita2ac0f48a07c2b4272ced5886221e3954e7dfc0c
tree2729482f1194a9ac194947376eb699be9e78196a
parentefaa85cf2294d5e10a724e24356507eeb3836f72
iwlwifi: mvm: implement approved list for the PPAG feature

We should only allow PPAG to be enabled by OEMs that are in the
approved list.  In order to do this, we need to compare the system
vendor string retrieved from SMBIOS to a list maintained in the
driver.  If the vendor string is not in the list, we don't allow PPAG
to be used.

For now the list is empty, but entries will be added to it
individually, in subsequent patches.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210131201908.c9d35b7d8748.I4e4cf61d8fa6ff91d9b0cab2b1ec9ede4be346f5@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c