Search Linux Wireless

Re: rt61 and TSF reporting?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 01 July 2008, Johannes Berg wrote:
> Hi,
> 
> > The specsheets say nothing about TSF timestamps anywhere else then
> > the registers (which is accessed by the get_tsf() callback function).
> > To be more exact, the specsheets say _nothing_ about the RXD descriptors at all,
> > which means they are not helpful for that. ;)
> 
> Heh.
> 
> > However there are a few RXD fields which are labeled as "reserved" which could
> > mean the field is present, just not documented.
> > 
> > You could try printing the values of those words to see if they contain valid data,
> > and to be more exact the TSF data (this can be done in the function rt61pci_fill_rxdone(...))
> > The undocumented/reserved words are: 6 to 15
> > 
> > Do you want me to come up with a patch for this?
> > 
> > Note that these undocumented fields only are present in rt2500pci and rt61pci.
> 
> Ok cool, I'll play with that, I should be able to make a patch myself,
> thanks.

Oh wait, just found a reference about those RXD words:

 * The following fields are for DMA block and HOST usage only.
 * Can't be touched by ASIC MAC block.

In other words, they are for driver usage only. :S

> > Neither rt2500usb or rt73usb contain them, which means that they can't report the TSF
> > based on descriptor information.
> 
> So I guess they just don't transfer those reserved fields on USB.

Which means they are pretty much screwed for TSF handling since get_tsf() has been disabled
for USB drivers due to the atomic requirements of that callback function.. :S

Ivo
--
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux