aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorVivek Natarajan <vnatarajan@atheros.com>2010-03-11 15:59:53 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-01 19:01:57 -0400
commit03d0e14875e0f4151ec039125c15ca46e056b914 (patch)
treed758e4819e099fcc3f97d1da14d28aaf1e6042d0 /include/net/mac80211.h
parent7c74e3f2e97f7bdcb56b72919201af941ea0b4e6 (diff)
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>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 15bcb56106ec..f39b303944dd 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -926,6 +926,9 @@ enum ieee80211_tkip_key_type {
926 * @IEEE80211_HW_BEACON_FILTER: 926 * @IEEE80211_HW_BEACON_FILTER:
927 * Hardware supports dropping of irrelevant beacon frames to 927 * Hardware supports dropping of irrelevant beacon frames to
928 * avoid waking up cpu. 928 * avoid waking up cpu.
929 * @IEEE80211_HW_REPORTS_TX_ACK_STATUS:
930 * Hardware can provide ack status reports of Tx frames to
931 * the stack.
929 */ 932 */
930enum ieee80211_hw_flags { 933enum ieee80211_hw_flags {
931 IEEE80211_HW_HAS_RATE_CONTROL = 1<<0, 934 IEEE80211_HW_HAS_RATE_CONTROL = 1<<0,
@@ -943,6 +946,7 @@ enum ieee80211_hw_flags {
943 IEEE80211_HW_SUPPORTS_DYNAMIC_PS = 1<<12, 946 IEEE80211_HW_SUPPORTS_DYNAMIC_PS = 1<<12,
944 IEEE80211_HW_MFP_CAPABLE = 1<<13, 947 IEEE80211_HW_MFP_CAPABLE = 1<<13,
945 IEEE80211_HW_BEACON_FILTER = 1<<14, 948 IEEE80211_HW_BEACON_FILTER = 1<<14,
949 IEEE80211_HW_REPORTS_TX_ACK_STATUS = 1<<15,
946}; 950};
947 951
948/** 952/**