Disclaimer

I am not responsible if your devices send you back in time, explodes, implodes, bricks or flies into space from the use of any software I put up.

Search

Monday, October 7, 2013

A possible solution to reduce frequency of TX DMA errors

A possible solution to reduce the frequency of the TX DMA errors is as follows:
Log in via SSH/telnet,
Copy and paste the following line

uci set wireless.radio0.diversity=1 && uci set wireless.radio0.rxantenna=0x7 && uci set wireless.radio0.txantenna=0x7 && uci set wireless.radio0.disassoc_low_ack=0 && uci commit wireless && wifi

The command forces diversity and makes txantenna 0x3 and rxantenna 0x7

You should see this when you cat the /etc/config/wireless file

    ..............................
    option diversity '1'
    option rxantenna '0x7'
    option txantenna '0x7'
    option disassoc_low_ack '0'
    ..............................






4 comments:

HL Tay said...

I'm happy with your ATTITUDE ADJUSTMENT (Attitude Adjustment, r38305). I have been monitoring the kernel log and system log for 2 weeks (router running 24/7), no sign of TX DMA error. The wifi is stable :)

What is this "The command forces diversity and makes txantenna 0x3 and rxantenna 0x7". If this is not set, what would be the default value?

How this affect the stability of the wifi?
option diversity '1'
option rxantenna '0x7'
option txantenna '0x3'

Thank you.

HL Tay said...

Monitored log for a week* everyday.

Admin said...

Default setting is
option rxantenna '0x7'
option txantenna '0x7'

HL Tay said...

Today, I got the error only in the kernel log.
ath: phy0: Failed to stop TX DMA, queues=0x104!
It is time for me to try the temporary solution. Thank you for sharing.