Search Linux Wireless

Re: Getting ath5k driver working with Thinkpad T61 [168c:1014]

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

 



> Attached.  This has two attempts at 'iwlist wlan0 scan' in there
> before I shut it back down again.  I see an awful lot of repetitive
> writes of the same value at the same address, but I don't know what
> this stuff means...

Thanks for the update.  I haven't had a chance to look at this until 
now, as I've been traveling the last couple of weeks.  I'll go through 
it this evening to see if anything jumps out.

FWIW, here's how to read the dump.  Given a line like:

    R 4 48.700287 1 0xdf3f9860 0x9d1a 0x0 0

>From left to right that would be:

Read 4 bytes at time 48.700287 (map id=1) the address 0xdf3f9860, and
receive the value 0x9d1a (the other two 0s are meaningless for now).  
Writes look the same except start with W.

>From the address, you can figure out the register: in this case it is 
0x9860 since the MMIO base address is 0xdf3f0000.  Now you can look in 
reg.h to find the name of that register if we know it (here it is
AR5K_PHY_AGCCTL).

Then you can look at the source for where that register is being used to
get an idea of what is going on.  In the above case, we're reading the
register until the hardware completes AGC calibration and sets 
AR5K_PHY_AGCCTL_CAL (bit 0) low - that eventually happens .02 seconds 
later when the value 0x9d18 is read.

-- 
Bob Copeland %% www.bobcopeland.com


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