iwlwifi: mvm: prepare infrastructure for more TLV flags
authorEran Harary <eran.harary@intel.com>
Thu, 20 Feb 2014 09:00:01 +0000 (11:00 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 23 Feb 2014 19:32:22 +0000 (21:32 +0200)
commita2978b1162c5a55f8411e34519d343713e8ec7a3
tree8dac937ee05ca3c1ef4eff4c2a0159d6db38f37d
parentd6cb37a35932d179a58f20b5ad6806d8592d36b4
iwlwifi: mvm: prepare infrastructure for more TLV flags

We use the TLV flags as a handshake between the firmware
and the driver. These flags allow the firmware to advertise
its capabilities and API version.
Since we are running short of bits, we add a new
infrastructure which is more scalable, yet backward
compatible.

We make now the difference between API changes and the
capabilities. Both can have an index which allows to scale
at will.

Signed-off-by: Eran Harary <eran.harary@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-drv.c
drivers/net/wireless/iwlwifi/iwl-fw-file.h
drivers/net/wireless/iwlwifi/iwl-fw.h