iwlwifi: mvm: change PHY data RX for HE radiotap
authorShaul Triebitz <shaul.triebitz@intel.com>
Mon, 2 Jul 2018 12:35:26 +0000 (14:35 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 14 Dec 2018 11:04:48 +0000 (13:04 +0200)
commitbdf180c8d375ee75493d79ae384dd1f9686fc974
treef08f442fde66ea23f85abcbf7378e9757e946525
parent0916224eaa77bff0fbbc747961d550ff8db45457
iwlwifi: mvm: change PHY data RX for HE radiotap

The firmware changed the PHY data API, so follow suit.
Some data is now available even for HT/VHT frames, so
the info type in the metadata was changed. This change
isn't backwards compatible, but
 1) the firmware with the old API was never released;
 2) the only overlap in the info type field is from the
    old type of TB to the new of HT, so this basically
    just means that with older FW and newer driver the
    data will be considered missing.

While at it, remove the extra code to set the LTF syms
corresponding to the streams and use the data from the
device instead - we don't really need this in any case
other than when we have it from the device.

As the new API gives use the spatial reuse 1-4 fields
for trigger-based PPDUs, also expose that to radiotap.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/rx.h
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c