mac80211: Retry null data frame for power save
commit03d0e14875e0f4151ec039125c15ca46e056b914
authorVivek Natarajan <vnatarajan@atheros.com>
Thu, 11 Mar 2010 20:59:53 +0000 (11 12:59 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:01:57 +0000 (1 16:01 -0700)
treed758e4819e099fcc3f97d1da14d28aaf1e6042d0
parent7c74e3f2e97f7bdcb56b72919201af941ea0b4e6
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/mlme.c
net/mac80211/status.c