Linux wireless drivers development
 help / color / mirror / Atom feed
* [RFC] mac80211: Change BA timeout
@ 2010-12-14  7:44 Sujith
  2010-12-14  7:47 ` Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Sujith @ 2010-12-14  7:44 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless

The BlockAck session timout value is currently an arbitrary 5000.
This results in BA sessions being created and torn down incessantly
when mac80211 is used with a driver (say ath9k) in AP mode.

The 802.11 standard doesn't specify any default value for the timeout field.
And there is no benefit to be gained by tearing down BA sessions and
recreating them. The current value of 5000 doesn't cause any problems,
but it is hard to find an AP/STA in the field that uses a non-zero timeout.

Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
---
 net/mac80211/agg-tx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c
index d4679b2..e5e6311 100644
--- a/net/mac80211/agg-tx.c
+++ b/net/mac80211/agg-tx.c
@@ -342,7 +342,7 @@ 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, 5000);
+				     0x40, 0);
 }
 
 int ieee80211_start_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid)
-- 
1.7.3.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-14  8:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14  7:44 [RFC] mac80211: Change BA timeout Sujith
2010-12-14  7:47 ` Johannes Berg
2010-12-14  8:19   ` Sujith
2010-12-14  8:21     ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox