]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: reestablish mis-configured existing Rx BA sessions
authorArik Nemtsov <arik@wizery.com>
Wed, 22 Jun 2011 22:15:27 +0000 (01:15 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Jun 2011 19:09:40 +0000 (15:09 -0400)
commitf2e1c0994fea377d2fcad5e0f7f6d6e26108a3c0
treedb7cf59ddae2635a3b5746e8aeb274f2f2adbd35
parenta77ef71a4178ade11a5a86f69a1e23416476fc29
mac80211: reestablish mis-configured existing Rx BA sessions

When forming a Rx BA session, sometimes the ADDBA response gets lost.
This leads to a situation where the session is configured locally, but
doesn't exist on the remote side. Subsequent ADDBA requests are declined
by mac80211.

Fix this by assuming the session state of the initiator is the correct
one. When receiving an unexpected ADDBA request on a TID with an active
Rx BA session, delete the existing one and establish a new session.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/agg-rx.c