2007/10/29, Frank de Lange <[EMAIL PROTECTED]>: > > O.K. lets start with this (line 639 after my patches): > > > > In ath5k_hw_reset we do this... > > > > /* PHY access enable */ > > ath5k_hw_reg_write(ah, AR5K_PHY_SHIFT_5GHZ, AR5K_PHY(0)); > > > > try changing AR5K_PHY_SHIFT_5GHZ to AR5K_PHY_SHIFT_2GHZ and see what > > happens (i haven't checked out regdumps yet, after the above bug i'm > > reviewing the code again). > > > > -- > > GPG ID: 0xD21DB2DB > > As you read this post global entropy rises. Have Fun ;-) > > Nick > > As I have not applied your patches yet I manually changed this line in > hw.c. This has no effect on a 'clean' wireless-2.6 everything pull, the > driver still complains about not being able to reset the hardware. With > this change together with the one I mentioned before (get_rate_table > should not ask about MODE_ATHEROS_TURBO/G) the driver loads but it does > not work. I'm currently cloning the wireless-2.6 tree to get (back) in > sync, will try again afterwards. >
It seems from the regdumps that only PHY_SHIFT_5GHZ is being used, weird. Anyway we'll have to work harder on this... > BTW, I wonder whether the radio on my card is actually turned on. The > thing has RFKILL support but the appropriate bits of code in hw.c are > commented out (and rightfully so as enabling them causes a hang). When > just loaded txpower is set to 27 dB (if only it could, I could warm my > hands by holding them close to the antennae...) while this card goes up > to 18 dB. > > Cheers//Frank > I was about to add some code to handle rfkill interrupts but i'll wait for the rfkill framework in the kernel. About txpower, well we don't know much about txpower yet. Can you plz see if madwifi-old-openhal works for you and also plz make some more traces, especially for phy related functions and post them here. -- GPG ID: 0xD21DB2DB As you read this post global entropy rises. Have Fun ;-) Nick _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel