]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Tear down aggregation sessions for suspend/resume
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 17 Mar 2009 03:20:06 +0000 (08:50 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:12:55 +0000 (20:12 -0400)
commit8e0c0bbf14675ec16293d716ad7afc8c67de1595
tree3f9ccbd9e2fdf75bd27675c48b238adc911ae626
parentc9f24d837b1fe2868dcef30f0cc4d2783aa5aea4
mac80211: Tear down aggregation sessions for suspend/resume

When the driver has been notified with a STA_REMOVE, it tears down
the internal ADDBA state. On resume, trying to initiate aggregation would
fail because mac80211 has not cleared the operational state for that <TID,STA>.
This can be fixed by tearing down the existing sessions on a suspend.

Also, the driver can initiate a new BA session when suspend is in progress.
This is fixed by marking the station as being in suspend state and
denying ADDBA requests for such STAs.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/agg-rx.c
net/mac80211/agg-tx.c
net/mac80211/pm.c
net/mac80211/sta_info.h