rtlwifi: Support A-MSDU in A-MPDU capability
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 18 Jan 2018 01:26:14 +0000 (09:26 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 18 Jan 2018 13:27:11 +0000 (15:27 +0200)
Due to the fact that A-MSDU deaggregation is done in software,
we set this flag to support the A-MSDU in A-MPDU

Signed-off-by: Steven Ting <steventing@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/base.c

index 89ec318598ea8468dc5e471438b7636bd76e3198..c8ebf738cb2b2ca35f405cadc1cdc38d6cf80d1a 100644 (file)
@@ -395,6 +395,7 @@ static void _rtl_init_mac80211(struct ieee80211_hw *hw)
        ieee80211_hw_set(hw, CONNECTION_MONITOR);
        ieee80211_hw_set(hw, MFP_CAPABLE);
        ieee80211_hw_set(hw, REPORTS_TX_ACK_STATUS);
+       ieee80211_hw_set(hw, SUPPORTS_AMSDU_IN_AMPDU);
 
        /* swlps or hwlps has been set in diff chip in init_sw_vars */
        if (rtlpriv->psc.swctrl_lps) {