Skip to contentSkip to conversation

rt2x00 tx acknowledgements

Rt2400-devel Ivo van Doorn 1 participant 1 message Aug 19, 2008 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1219039209.22679.101.camel@virkkmi-linux

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

[ Added linux-wireless to CC ]

Quoted 6 lines · John W. Linville
Quoted 3 lines · Ivo van Doorn
Quoted 2 lines · On Tuesday 19 August 2008, Mikko Virkkil=E4 wrote:
Quoted 1 line · Ivo van Doorn

On Monday 18 August 2008, Mikko Virkkil=E4 wrote:

=20

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

I had a quick look at their driver and it seems they solved i=

t by having

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

a "waiting for acks" queue and each time a message is receive=

d it is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

check if it was an ack to one of the messages in the queue. I=

f it was,

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

then the status message is sent in to the mac80211 stack.=20 =20
Could this same strategy be used with the rt2x00 driver?=20

=20

Quoted 1 line
Quoted 1 line
Quoted 1 line

That would only work when the ACK is received and passed to the=

driver by

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

the USB stick. and as far as I know rt2500usb and rt73usb do no=

t pass the ACK

Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

to the driver.

=20

Quoted 1 line
Quoted 1 line

When I cleared the DROP_CONTROL and DROP_ACK_CTS flags in the TXR=

X_CSR0

Quoted 1 line
Quoted 1 line
Quoted 1 line

register, I started receiving ACK frames. I tested by simply prin=

ting a

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

debug message each time ieee80211_is_ack() was true for a frame.

=20
Ok, well if there is a volunteer for coding the ack handling, that =

would be great,

Quoted 1 line
Quoted 1 line

but you probably do need a timeout for each frame as well to report=

the non-acked

Quoted 4 lines
Quoted 1 line

frames.

=20
If anyone does this, it might be nice if you could find a way to generalize the implementation and share it between rt2x00 and zd1211r=

w

Quoted 3 lines

(and possibly other drivers in the future).
=20
Just a thought...

That would be very nice, mac80211 could probably handle it very nicely = when
the driver just reports the "unknown" status and mac80211 can sort out = how it
wants to handle such frames.

Ivo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html