Search Linux Wireless

Re: [PATCH 2/4] ath9k_hw: merge codepaths that access the cycle counter registers

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

 



On 2010-10-04 2:24 PM, Vasanthakumar Thiagarajan wrote:
>> >> +	/* unfreeze counters */
>> >> +	REG_WRITE(ah, AR_MIBC, 0);
>> > 
>> > Please configure the relevant bit to unfreeze the counters.
>> What do you mean?
> 
> AR_MIBC does more than just freeze/unfreeze the counters, though I
> dont see any issues with setting the whole register to zero, it
> looks buggy. Please configure only the relevant bit to
> freeze/unfreeze the counters.
Other places in the code set it to zero as well, though sometimes
written in a weird way. I also checked the specs, there is no bit that's
supposed to be active at this point.

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