linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mac80211: fix delayed ADDBA response
@ 2013-01-08 14:16 Victor Goldenshtein
  2013-01-08 17:41 ` Seth Forshee
  2013-01-09 12:38 ` Johannes Berg
  0 siblings, 2 replies; 8+ messages in thread
From: Victor Goldenshtein @ 2013-01-08 14:16 UTC (permalink / raw)
  To: linux-wireless; +Cc: johannes

Block frame processing during scan might delay the
ADDBA response, which eventually timeouts and
significantly reduces the device throughput.
Remove this constrain as it's not required for the
HW scan.

Signed-off-by: Victor Goldenshtein <victorg@ti.com>
---
 net/mac80211/iface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 06fac29..a26ee36 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -1063,7 +1063,7 @@ static void ieee80211_iface_work(struct work_struct *work)
 	if (!ieee80211_sdata_running(sdata))
 		return;
 
-	if (local->scanning)
+	if (local->scanning && !local->ops->hw_scan)
 		return;
 
 	/*
-- 
1.7.5.4


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

end of thread, other threads:[~2013-01-09 17:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-08 14:16 [PATCH] mac80211: fix delayed ADDBA response Victor Goldenshtein
2013-01-08 17:41 ` Seth Forshee
2013-01-09  8:39   ` Victor Goldenshtein
2013-01-09 12:38 ` Johannes Berg
2013-01-09 16:04   ` Victor Goldenshtein
2013-01-09 16:32     ` Johannes Berg
2013-01-09 17:25       ` Arik Nemtsov
2013-01-09 17:29         ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).