iwlwifi: mvm: report # of LTF symbols for extended range SU PPDUs
authorJohannes Berg <johannes.berg@intel.com>
Thu, 3 May 2018 10:52:16 +0000 (12:52 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 31 Aug 2018 08:38:35 +0000 (11:38 +0300)
This is the same as for SU PPDUs, so it's easy to do.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c

index 314012ed7a29b7b9a99cab1a607147e282ed8dd7..05ce253b8c30ed3b4007f74ecd939950527af9ee 100644 (file)
@@ -1189,7 +1189,8 @@ static void iwl_mvm_rx_he(struct iwl_mvm *mvm, struct sk_buff *skb,
        he->data5 |= le16_encode_bits(ltf, IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE);
 
        switch (he_type) {
-       case RATE_MCS_HE_TYPE_SU: {
+       case RATE_MCS_HE_TYPE_SU:
+       case RATE_MCS_HE_TYPE_EXT_SU: {
                u16 val;
 
                /* LTF syms correspond to streams */
@@ -1241,7 +1242,6 @@ static void iwl_mvm_rx_he(struct iwl_mvm *mvm, struct sk_buff *skb,
                                val));
                }
                break;
-       case RATE_MCS_HE_TYPE_EXT_SU:
        case RATE_MCS_HE_TYPE_TRIG:
                /* not supported */
                break;