[OpenWrt-Devel] [PATCH] Fixed WiFi stop and speed reduction issue on TL-WR1043ND v1 (#9654)

Felix Fietkau nbd at openwrt.org
Sat Aug 2 12:00:22 EDT 2014


On 2014-08-02 17:29, George Valkov wrote:
> Hi Felix,
> 
> Please revise your commit: https://dev.openwrt.org/changeset/38486
> It is causing the wifi on TL-WR1043ND v1 to stop working or speed drop.
> 
> Please see this ticket for details on my research:
> https://dev.openwrt.org/ticket/9654#comment:512
> 
> I was able to isolate the issue to this code:
> 
> static void ar5008_hw_get_adc_entropy(struct ath_hw *ah, u8 *buf, size_t len)
> {
>> 
> 	REG_RMW_FIELD(ah, AR_PHY_TEST, AR_PHY_TEST_BBB_OBS_SEL, 1);
> 	REG_CLR_BIT(ah, AR_PHY_TEST, AR_PHY_TEST_RX_OBS_SEL_BIT5);
> 	REG_RMW_FIELD(ah, AR_PHY_TEST2, AR_PHY_TEST2_RX_OBS_SEL, 0);
> 
>> }
> 
> 
> I have prepared a workaround patch, it resolves the issue, unfortunately
> the code it disables is beyond my experience, and it probably breaks
> your code, so please check it!:
> https://www.dropbox.com/s/ihfkx7ov4e8tcoz/Fixed-WiFi-stop-and-speed-reduction-issue-on-TL-WR1043ND.patch
Thanks for tracking this down. I'm not able to reproduce the stability
issues myself. Could you please test if each of the three lines is
causing issues, or if there's a particular one that is enough to trigger it?

Thanks,

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list