In mac80211, the default remains for HT, so set the limit to
HE for our driver.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
 
        if (cfg->max_rx_agg_size)
                hw->max_rx_aggregation_subframes = cfg->max_rx_agg_size;
+       else
+               hw->max_rx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF;
 
        if (cfg->max_tx_agg_size)
                hw->max_tx_aggregation_subframes = cfg->max_tx_agg_size;
+       else
+               hw->max_tx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF;
 
        op_mode = hw->priv;