iwlwifi: mvm: add support for RX_AMPDU_EOF bit for HE SU
authorLiad Kaufman <liad.kaufman@intel.com>
Sun, 1 Apr 2018 14:35:43 +0000 (17:35 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 31 Aug 2018 08:38:21 +0000 (11:38 +0300)
Current implementation turns this bit on only for HE MU.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c

index 4af3ab2..311c639 100644 (file)
@@ -1082,7 +1082,8 @@ void iwl_mvm_rx_mpdu_mq(struct iwl_mvm *mvm, struct napi_struct *napi,
                        mvm->ampdu_toggle = toggle_bit;
 
                        if (he_phy_data != HE_PHY_DATA_INVAL &&
-                           he_type == RATE_MCS_HE_TYPE_MU) {
+                           (he_type == RATE_MCS_HE_TYPE_MU ||
+                            he_type == RATE_MCS_HE_TYPE_SU)) {
                                rx_status->flag |= RX_FLAG_AMPDU_EOF_BIT_KNOWN;
                                if (FIELD_GET(IWL_RX_HE_PHY_DELIM_EOF,
                                              he_phy_data))