diff options
author | Herton Ronaldo Krzesinski <herton@mandriva.com.br> | 2008-11-13 10:39:16 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-25 16:41:33 -0500 |
commit | 3517afdefc3ad335b276eb5f8691841f48097abf (patch) | |
tree | 150fb2ea5e8dcfe8f07523316a32dc45b94fba79 /drivers/net/wireless/rtl818x/rtl8187.h | |
parent | b4572a9264312fecdb530a3416b8c8336a3bb9a9 (diff) |
rtl8187: feedback transmitted packets using tx close descriptor for 8187B
Realtek 8187B has a receive command queue to feedback beacon interrupt
and transmitted packet status. Use it to feedback mac80211 about status
of transmitted packets. Unfortunately in the course of testing I found
that the sequence number reported by hardware includes entire sequence
control in a 12 bit only field, so a workaround is done to check only
lowest bits.
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl818x/rtl8187.h')
-rw-r--r-- | drivers/net/wireless/rtl818x/rtl8187.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8187.h b/drivers/net/wireless/rtl818x/rtl8187.h index f09872eec3d5..c385407a9941 100644 --- a/drivers/net/wireless/rtl818x/rtl8187.h +++ b/drivers/net/wireless/rtl818x/rtl8187.h | |||
@@ -113,6 +113,11 @@ struct rtl8187_priv { | |||
113 | u8 noise; | 113 | u8 noise; |
114 | u8 slot_time; | 114 | u8 slot_time; |
115 | u8 aifsn[4]; | 115 | u8 aifsn[4]; |
116 | struct { | ||
117 | __le64 buf; | ||
118 | struct urb *urb; | ||
119 | struct sk_buff_head queue; | ||
120 | } b_tx_status; | ||
116 | }; | 121 | }; |
117 | 122 | ||
118 | void rtl8187_write_phy(struct ieee80211_hw *dev, u8 addr, u32 data); | 123 | void rtl8187_write_phy(struct ieee80211_hw *dev, u8 addr, u32 data); |