From: Johannes Berg Date: Thu, 3 May 2018 10:52:16 +0000 (+0200) Subject: iwlwifi: mvm: report # of LTF symbols for extended range SU PPDUs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=925bc2b189ec05a2993d3870f4c9c7edaf60d088;p=openwrt%2Fstaging%2Fblogic.git iwlwifi: mvm: report # of LTF symbols for extended range SU PPDUs This is the same as for SU PPDUs, so it's easy to do. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho --- diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c index 314012ed7a29..05ce253b8c30 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c @@ -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;