LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 3
  • Private
Attached to Project: LEDE Project
Opened by A - 07.07.2017

FS#896 - mt7620 - dropping frames (WiFi)

Device: Nexx WT3020 (MT7620)
LEDE release: LEDE Reboot 17.01-SNAPSHOT r3435-65eec8b

Latest LEDE on Nexx WT3020 with MT7620 is getting syslog spammed with:

ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2

It usually occurs with high-bandwidth usage of WiFi client (Android i.e.) and results with need to reboot router (or WiFi won’t even work for devices - it’s seen but unable to connect).

# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11g'
        option path 'platform/10180000.wmac'
        option country 'PL'
        option disabled '0'
        option htmode 'HT40'
        option distance '3'
        option txpower '20'
        option channel '6'

config wifi-iface
        option device 'radio0'
        option mode 'ap'
        option ssid 'xxx'
        option network 'lan'
        option encryption 'psk2+ccmp'
        option key 'xxx'

Also it’s connected with the issue of android devices loosing connectivity/dropping wifi even 1 meter next to router:

Fri Jul  7 00:32:11 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Fri Jul  7 00:32:11 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 2)
Fri Jul  7 00:32:11 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx
Fri Jul  7 00:32:11 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Fri Jul  7 00:32:51 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disconnected due to excessive missing ACKs
Fri Jul  7 00:32:51 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Fri Jul  7 00:32:55 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Fri Jul  7 00:32:55 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 2)
Fri Jul  7 00:32:55 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx
Fri Jul  7 00:32:55 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
psyborg55 commented on 17.07.2017 08:28

one series of 6 warnings, connection still worked:

[198938.155172] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[198938.164724] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[198938.174261] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[198938.183791] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[198938.193330] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[198938.202841] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2

another series of 6 warnings, connection still worked:

[203162.530970] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[203162.540538] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[203162.550077] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[203162.559606] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[203162.569139] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[203162.578652] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2

one series of 3 warnings, connection still worked:

[214232.780698] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[214232.790263] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[214232.799800] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2

1 warning, connectivity lost:

[216186.446237] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2

change channel, mode to legacy or disable/enable interface result in following rt2x00queue_write_tx_frame error:

[216922.802626] ieee80211 phy1: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[216923.173465] ieee80211 phy1: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[216925.366648] ieee80211 phy1: rt2800_rf_self_txdc_cal: Info - RF Tx self calibration start
[216925.393555] ieee80211 phy1: rt2800_rf_self_txdc_cal: Info - RF Tx self calibration end
[216930.067469] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ si=156, sq=153, riq=-1, bbpval 156, vga_idx 0
[216930.080310] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ si=5212, sq=5137, riq=75, bbpval 5212, vga_idx 8
[216930.093508] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ si=8064, sq=7946, riq=139, bbpval 8064, vga_idx 9
[216930.106625] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ si=12201, sq=12002, riq=226, bbpval 12201, vga_idx 10
[216930.117672] ieee80211 phy1: rt2800_rxiq_calibration: Info - Sigma_i=1104, Sigma_q=1095, R_iq=2260
[216930.126840] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ Sigma_i=1104, Sigma_q=1095, R_iq=2260
[216930.136442] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ G_imb=-1, Ph_rx=4
[216930.147781] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ si=78, sq=79, riq=1, bbpval 78, vga_idx 0
[216930.160173] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ si=4189, sq=4263, riq=45, bbpval 4189, vga_idx 9
[216930.173204] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ si=6349, sq=6470, riq=54, bbpval 6349, vga_idx 10
[216930.183901] ieee80211 phy1: rt2800_rxiq_calibration: Info - Sigma_i=796, Sigma_q=804, R_iq=540
[216930.192805] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ Sigma_i=796, Sigma_q=804, R_iq=540
[216930.202135] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ calibration FAIL
[216936.308202] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 2
[216936.308202] Please file bug report to http://rt2x00.serialmonkey.com

when took several bandwidth tests with android phone they all show full speed without any warnings or messages in logs

psyborg55 commented on 17.07.2017 16:30
psyborg55 commented on 29.07.2017 11:07

as well as the guy from this issue https://bugs.lede-project.org/index.php?do=details&task_id=557 you could've write exact chipset version which in your case happens to be MT7620N

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing