iwlwifi: mvm: Support new format of SCAN_OFFLOAD_PROFILES_QUERY_RSP
authorIlan Peer <ilan.peer@intel.com>
Tue, 5 Feb 2019 08:59:40 +0000 (10:59 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 22 Mar 2019 10:59:41 +0000 (12:59 +0200)
commite4fe5d4b10cd8e34d7af750cd0c63a44172d7b72
treee9e5597ed77ffa7765c16ec558c57eb8aeb5f81a
parent2785ce008e3b52b5a8f9a5bef68b8306d3e37b86
iwlwifi: mvm: Support new format of SCAN_OFFLOAD_PROFILES_QUERY_RSP

Newer FWs use a new format of the SCAN_OFFLOAD_PROFILES_QUERY_RSP,
which now supports indicating match on an higher number of channels.

Modify the code to support both the old format and the newer one,
based on a FW TLV.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/scan.h
drivers/net/wireless/intel/iwlwifi/fw/file.h
drivers/net/wireless/intel/iwlwifi/mvm/d3.c