iwlwifi: mvm: fix firmware statistics usage
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 4 Oct 2018 07:41:45 +0000 (10:41 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 25 Jan 2019 18:57:19 +0000 (20:57 +0200)
commit606b9ab67784b02572269d0c76f28bbef9328c6b
tree4edc9fc5f72f397f92dc1b9e373719ebba69d036
parent5b74a9368958d9d424425f6e89b59fed49df6f96
iwlwifi: mvm: fix firmware statistics usage

The new (CDB) statistics API is used by non-CDB devices
as well. Look at the right TLV flag to know which version
of the statistics notification to use.
To avoid confusion, remove the _cdb suffix from the
structure name.
While at it, remove a structure that was never used.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Fixes: 678d9b6dddea ("iwlwifi: mvm: update rx statistics cmd api")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/stats.h
drivers/net/wireless/intel/iwlwifi/mvm/rx.c