Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236743
b: refs/heads/master
c: 5dd36bc
h: refs/heads/master
i:
  236741: e5871d0
  236739: c0c714b
  236735: e16fb19
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jan 19, 2011
1 parent 50cebcb commit 978b10f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0b01f030d38e00650e2db42da083d8647aad40a5
refs/heads/master: 5dd36bc933e8be84f8369ac64505a2938f9ce036
5 changes: 5 additions & 0 deletions trunk/include/net/mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,10 @@ enum ieee80211_hw_flags {
* This is only relevant if the device has restrictions on the
* number of subframes, if it relies on mac80211 to do reordering
* it shouldn't be set.
*
* @max_tx_aggregation_subframes: maximum number of subframes in an
* aggregate an HT driver will transmit, used by the peer as a
* hint to size its reorder buffer.
*/
struct ieee80211_hw {
struct ieee80211_conf conf;
Expand All @@ -1173,6 +1177,7 @@ struct ieee80211_hw {
u8 max_report_rates;
u8 max_rate_tries;
u8 max_rx_aggregation_subframes;
u8 max_tx_aggregation_subframes;
};

/**
Expand Down
3 changes: 2 additions & 1 deletion trunk/net/mac80211/agg-tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ void ieee80211_tx_ba_session_handle_start(struct sta_info *sta, int tid)
/* send AddBA request */
ieee80211_send_addba_request(sdata, sta->sta.addr, tid,
tid_tx->dialog_token, start_seq_num,
0x40, tid_tx->timeout);
local->hw.max_tx_aggregation_subframes,
tid_tx->timeout);
}

int ieee80211_start_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid,
Expand Down

0 comments on commit 978b10f

Please sign in to comment.