On Monday 08 February 2010 13:17:00 Vivek Natarajan wrote: > 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. > > Signed-off-by: Vivek Natarajan <vnatarajan@xxxxxxxxxxx> > --- > include/net/mac80211.h | 1 + > net/mac80211/ieee80211_i.h | 1 + > net/mac80211/mlme.c | 20 +++++++++++++++----- > net/mac80211/status.c | 16 ++++++++++++++-- > 4 files changed, 31 insertions(+), 7 deletions(-) > > diff --git a/include/net/mac80211.h b/include/net/mac80211.h > index 74ccf30..92a3caf 100644 > --- a/include/net/mac80211.h > +++ b/include/net/mac80211.h > @@ -978,6 +978,7 @@ enum ieee80211_hw_flags { > IEEE80211_HW_SUPPORTS_STATIC_SMPS = 1<<15, > IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS = 1<<16, > IEEE80211_HW_SUPPORTS_UAPSD = 1<<17, > + IEEE80211_HW_TX_STATUS = 1<<18, > }; It might be a good idea to add some documentation for new flags. Otherwise this can easily lead to confusing (e.g.: Does HW_TX_STATUS mean that the HW reports not just ACKs, but also when if the frame was filtered by the HW, or if the HW reports the rate control information (retries & retry index) as well?) On a related issue: What about _inverting_ the flag, so it will be set for devices which can't give any accurate tx_status information. This has the advantage that we don't have to touch other drivers? Regards, Chr -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html