mac80211: Retry null data frame for power save.
authorVivek Natarajan <vnatarajan@atheros.com>
Tue, 9 Feb 2010 09:20:28 +0000 (14:50 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Feb 2010 19:10:05 +0000 (14:10 -0500)
commit375177bf35efc08e1bd37bbda4cc0c8cc4db8500
tree88774b1a46072fd3b0418b36d39d447b78fbfc51
parente15276a4b220c54db665cf46a92bd9ceb9aeb052
mac80211: Retry null data frame for power save.

Even if the null data frame is not acked by the AP, mac80211
goes into power save. This might lead to loss of frames
from the AP.
Prevent this by restarting dynamic_ps_timer when ack is not
received for null data frames.

Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/status.c