mac80211: Retry null data frame for power save
commit10275a53c5ed0ddc826449d6df052bb41a1fcbce
authorVivek Natarajan <vnatarajan@atheros.com>
Thu, 11 Mar 2010 21:10:03 +0000 (11 13:10 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:58:52 +0000 (1 15:58 -0700)
tree1ef854bd44e2b3c325ae69b162d728a96ccf175b
parent525ad995580f1d760cbf4a3b42df1cba3df6821b
mac80211: Retry null data frame for power save

commit 375177bf35efc08e1bd37bbda4cc0c8cc4db8500 upstream.

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>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/mlme.c