]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
rsi: increase max supported aggregation subframes
authorAmitkumar Karwar <amit.karwar@redpinesignals.com>
Tue, 10 Apr 2018 15:04:14 +0000 (20:34 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Apr 2018 17:25:06 +0000 (20:25 +0300)
Maximum number of supported aggregation subframes has been increased
to 8. This is the optimal number for the driver.

Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com>
Signed-off-by: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_mac80211.c
drivers/net/wireless/rsi/rsi_mgmt.h

index 77aa3bb357a0a59a9af532ab03dd08e1e715d65d..2a777435a735e605ff4f3ec2637af6852be8b7a0 100644 (file)
@@ -1955,7 +1955,8 @@ int rsi_mac80211_attach(struct rsi_common *common)
        hw->uapsd_queues = RSI_IEEE80211_UAPSD_QUEUES;
        hw->uapsd_max_sp_len = IEEE80211_WMM_IE_STA_QOSINFO_SP_ALL;
 
-       hw->max_tx_aggregation_subframes = 6;
+       hw->max_tx_aggregation_subframes = RSI_MAX_TX_AGGR_FRMS;
+       hw->max_rx_aggregation_subframes = RSI_MAX_RX_AGGR_FRMS;
        rsi_register_rates_channels(adapter, NL80211_BAND_2GHZ);
        rsi_register_rates_channels(adapter, NL80211_BAND_5GHZ);
        hw->rate_control_algorithm = "AARF";
index 5f946f31723f76430a2ee15af0c3f0569b5d49f3..14620935c925829548f11c9e1e20fd208661e0fa 100644 (file)
 #define RSI_WOW_DISCONNECT             BIT(5)
 #endif
 
+#define RSI_MAX_TX_AGGR_FRMS           8
+#define RSI_MAX_RX_AGGR_FRMS           8
+
 enum opmode {
        RSI_OPMODE_UNSUPPORTED = -1,
        RSI_OPMODE_AP = 0,