iwlwifi: parse command version TLV
authorJohannes Berg <johannes.berg@intel.com>
Mon, 1 Apr 2019 08:57:32 +0000 (10:57 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 29 Apr 2019 15:42:47 +0000 (18:42 +0300)
commitb081e23c45f79d4a3bc335a7ad1521a9d9ad3153
tree22260547fd68ee003e8f3690d2664eb18390d268
parent1da3823d114dc9f47ea2bba7640e79634f476afd
iwlwifi: parse command version TLV

In newer firmware images there's a command version TLV that
states, for each listed command or notification, which version
of the command and/or notification structure is used. Read and
keep this data to be able to use it in the future.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/file.h
drivers/net/wireless/intel/iwlwifi/fw/img.h
drivers/net/wireless/intel/iwlwifi/iwl-drv.c