Modify

Opened 2 years ago

Last modified 2 years ago

#20824 new defect

wifi(2.4G, 5G is ok) not working on some TP-Link TL-WDR6500 v2 devices

Reported by: Jeremy Li Owned by: developers
Priority: normal Milestone:
Component: kernel Version: Chaos Calmer 15.05
Keywords: wifi driver Cc:

Description

I found the codes that add support for TP-Link TL-WDR6500 v2 in the trunk branch, and add it to the 15.05 code tree. And it works, at least for some devices, but the 2.4G wifi does not work(i can see the ssid, but can not connect to it) on some devices(they are the same board(QCA9561 & QCA9882), and the hardware version is the same),but the result is different.
I checked some debug info on both kind of devices. on the working devices:
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy1/ath9k/interrupt

RXLP: 775311
RXHP: 0

WATHDOG: 3

RXEOL: 76
RXORN: 0

TX: 143430

TXURN: 0

MIB: 0

RXPHY: 0
RXKCM: 0

SWBA: 705194

BMISS: 0

BNR: 0
CST: 1752
GTT: 1018
TIM: 0

CABEND: 0

DTIMSYNC: 0

DTIM: 0

TSFOOR: 0

MCI: 0

GENTIMER: 0

TOTAL: 1609905

on the not working devices:
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy1/ath9k/interrupt

RXLP: 0
RXHP: 0

WATHDOG: 0

RXEOL: 4
RXORN: 0

TX: 67330

TXURN: 0

MIB: 0

RXPHY: 0
RXKCM: 0

SWBA: 538637

BMISS: 0

BNR: 0
CST: 0
GTT: 0
TIM: 0

CABEND: 0

DTIMSYNC: 0

DTIM: 0

TSFOOR: 0

MCI: 0

GENTIMER: 0

TOTAL: 605971

the difference is that the RXLP is 0 on not working devices.
and there are some difference in the /proc/kmsg when open the ath9k debug option. the detail will be list in the attachments.

Attachments (2)

session2.4error.log (215.6 KB) - added by anonymous 2 years ago.
session2.4ok.log (385.0 KB) - added by anonymous 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by anonymous

Changed 2 years ago by anonymous

comment:1 Changed 2 years ago by Jeremy Li

when the router is booted up, there are some logs(maybe it's useful):

<7>[ 120.040000] ath: phy1: FULL-SLEEP -> AWAKE
<7>[ 120.140000] ath: phy1: AWAKE -> FULL-SLEEP
<7>[ 121.040000] ath: phy1: FULL-SLEEP -> AWAKE
<7>[ 121.140000] ath: phy1: AWAKE -> FULL-SLEEP
<7>[ 122.040000] ath: phy1: FULL-SLEEP -> AWAKE
<7>[ 122.140000] ath: phy1: AWAKE -> FULL-SLEEP
<7>[ 123.040000] ath: phy1: FULL-SLEEP -> AWAKE
<7>[ 123.140000] ath: phy1: AWAKE -> FULL-SLEEP
<7>[ 124.040000] ath: phy1: FULL-SLEEP -> AWAKE
<7>[ 124.140000] ath: phy1: AWAKE -> FULL-SLEEP
<7>[ 125.040000] ath: phy1: FULL-SLEEP -> AWAKE
<7>[ 125.140000] ath: phy1: AWAKE -> FULL-SLEEP
<7>[ 126.040000] ath: phy1: FULL-SLEEP -> AWAKE
<7>[ 126.140000] ath: phy1: AWAKE -> FULL-SLEEP
<7>[ 127.040000] ath: phy1: FULL-SLEEP -> AWAKE
<7>[ 127.140000] ath: phy1: AWAKE -> FULL-SLEEP
<7>[ 128.040000] ath: phy1: FULL-SLEEP -> AWAKE
<7>[ 128.140000] ath: phy1: AWAKE -> FULL-SLEEP
<7>[ 129.040000] ath: phy1: FULL-SLEEP -> AWAKE
<7>[ 129.140000] ath: phy1: AWAKE -> FULL-SLEEP
<7>[ 130.040000] ath: phy1: FULL-SLEEP -> AWAKE
<7>[ 130.140000] ath: phy1: AWAKE -> FULL-SLEEP
<7>[ 131.040000] ath: phy1: FULL-SLEEP -> AWAKE
<7>[ 131.140000] ath: phy1: AWAKE -> FULL-SLEEP
<7>[ 132.040000] ath: phy1: FULL-SLEEP -> AWAKE

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.