]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fw api: support new API for scan config cmd
authorAyala Beker <ayala.beker@intel.com>
Tue, 29 Oct 2019 15:47:20 +0000 (17:47 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Oct 2019 15:00:26 +0000 (17:00 +0200)
commitc8032df416df0b4ddef769151e2fb22584f71add
tree8edadd5fa15a4a6f31078e921ad5b5af06882fbd
parentd9c683dcfb9cf43f794270546c90343dd4998013
iwlwifi: fw api: support new API for scan config cmd

The API was reduced to include only knowledge currently needed by the
FW scan logic, the rest is legacy.  Support the new, reduced version.

Using the old API with newer firmwares (starting from
iwlwifi-*-50.ucode, which implements and requires the new API version)
causes an assertion failure similar to this one:

[    2.854505] iwlwifi 0000:00:14.3: 0x20000038 | BAD_COMMAND

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlwifi/fw/api/scan.h
drivers/net/wireless/intel/iwlwifi/fw/file.h
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/scan.c