Skip to contentSkip to conversation

rt2x00: Set IEEE80211_HW_REPORTS_TX_ACK_STATUS in rt2800

PATCH In review Helmut Schaa 2 participants 2 messages Mar 14, 2012 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rt2x00: Set IEEE80211_HW_REPORTS_TX_ACK_STATUS in rt2800

rt2800 already reports the tx ack status of each frame back to mac80211. Advertise this by setting IEEE80211_HW_REPORTS_TX_ACK_STATUS for rt2800. This allows some mac80211 features like frame loss notifications to work with rt2800.

---

I don't see a problem with enabling this for rt2800pci. Ivo, Gertjan, Stanislaw, any objection against enabling for rt2800usb?

Thanks,
Helmut

 drivers/net/wireless/rt2x00/rt2800lib.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/net/wireless/rt2x00/rt2800lib.c +3 -1
index 79a9eeb..4d7dc7b 100644
@@ -4504,7 +4504,9 @@ int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
 	    IEEE80211_HW_SIGNAL_DBM |
 	    IEEE80211_HW_SUPPORTS_PS |
 	    IEEE80211_HW_PS_NULLFUNC_STACK |
-	    IEEE80211_HW_AMPDU_AGGREGATION;
+	    IEEE80211_HW_AMPDU_AGGREGATION |
+	    IEEE80211_HW_REPORTS_TX_ACK_STATUS;
+
 	/*
 	 * Don't set IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING for USB devices
 	 * unless we are capable of sending the buffered frames out after the
Signature · 1 line
1.7.7
#1 lore raw
Quoted 10 lines · Helmut Schaa

rt2800 already reports the tx ack status of each frame back to mac80211. Advertise this by setting IEEE80211_HW_REPORTS_TX_ACK_STATUS for rt2800. This allows some mac80211 features like frame loss notifications to work with rt2800.

---

I don't see a problem with enabling this for rt2800pci. Ivo, Gertjan, Stanislaw, any objection against enabling for rt2800usb?

I did short testings and did not found any problems.

Stanislaw