File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
drivers/net/wireless/xr819s/umac Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ void mac80211_process_addba_request(struct ieee80211_local *local,
238238 /* XXX: check own ht delayed BA capability?? */
239239 if (((ba_policy != 1 ) &&
240240 (!(sta -> sta .ht_cap .cap & IEEE80211_HT_CAP_DELAY_BA ))) ||
241- (buf_size > IEEE80211_MAX_AMPDU_BUF )) {
241+ (buf_size > IEEE80211_MAX_AMPDU_BUF_HE )) {
242242 status = WLAN_STATUS_INVALID_QOS_PARAM ;
243243#ifdef CONFIG_XRMAC_HT_DEBUG
244244 if (net_ratelimit ())
@@ -251,7 +251,7 @@ void mac80211_process_addba_request(struct ieee80211_local *local,
251251 }
252252 /* determine default buffer size */
253253 if (buf_size == 0 )
254- buf_size = IEEE80211_MAX_AMPDU_BUF ;
254+ buf_size = IEEE80211_MAX_AMPDU_BUF_HE ;
255255
256256 /* make sure the size doesn't exceed the maximum supported by the hw */
257257 if (buf_size > local -> hw .max_rx_aggregation_subframes )
Original file line number Diff line number Diff line change @@ -792,8 +792,8 @@ struct ieee80211_hw *xr_mac80211_alloc_hw(size_t priv_data_len,
792792 local -> hw .queues = 1 ;
793793 local -> hw .max_rates = 1 ;
794794 local -> hw .max_report_rates = 0 ;
795- local -> hw .max_rx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF ;
796- local -> hw .max_tx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF ;
795+ local -> hw .max_rx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF_HE ;
796+ local -> hw .max_tx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF_HE ;
797797 local -> hw .offchannel_tx_hw_queue = IEEE80211_INVAL_HW_QUEUE ;
798798 local -> user_power_level = -1 ;
799799 local -> uapsd_queues = IEEE80211_DEFAULT_UAPSD_QUEUES ;
You can’t perform that action at this time.
0 commit comments