aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorVivek Natarajan <vnatarajan@atheros.com>2010-02-09 04:20:28 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-02-09 14:10:05 -0500
commit375177bf35efc08e1bd37bbda4cc0c8cc4db8500 (patch)
tree88774b1a46072fd3b0418b36d39d447b78fbfc51 /include/net/mac80211.h
parente15276a4b220c54db665cf46a92bd9ceb9aeb052 (diff)
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>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 414d774028ba..314e98173166 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -945,6 +945,11 @@ enum ieee80211_tkip_key_type {
945 * Hardware supports Unscheduled Automatic Power Save Delivery 945 * Hardware supports Unscheduled Automatic Power Save Delivery
946 * (U-APSD) in managed mode. The mode is configured with 946 * (U-APSD) in managed mode. The mode is configured with
947 * conf_tx() operation. 947 * conf_tx() operation.
948 *
949 * @IEEE80211_HW_REPORTS_TX_ACK_STATUS:
950 * Hardware can provide ack status reports of Tx frames to
951 * the stack.
952 *
948 */ 953 */
949enum ieee80211_hw_flags { 954enum ieee80211_hw_flags {
950 IEEE80211_HW_HAS_RATE_CONTROL = 1<<0, 955 IEEE80211_HW_HAS_RATE_CONTROL = 1<<0,
@@ -965,6 +970,7 @@ enum ieee80211_hw_flags {
965 IEEE80211_HW_SUPPORTS_STATIC_SMPS = 1<<15, 970 IEEE80211_HW_SUPPORTS_STATIC_SMPS = 1<<15,
966 IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS = 1<<16, 971 IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS = 1<<16,
967 IEEE80211_HW_SUPPORTS_UAPSD = 1<<17, 972 IEEE80211_HW_SUPPORTS_UAPSD = 1<<17,
973 IEEE80211_HW_REPORTS_TX_ACK_STATUS = 1<<18,
968}; 974};
969 975
970/** 976/**