[FS#3296] TP-Link RE450 v3: QCA9880 (5 GHz-Wifi) is only detected sporadically

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Thu Aug 20 09:37:25 EDT 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Alfred Reichenberger (Alfredoredo) 

Attached to Project - OpenWrt/LEDE Project
Summary - TP-Link RE450 v3: QCA9880 (5 GHz-Wifi) is only detected sporadically
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - - Device: TP-Link RE450 v3
- OpenWRT-version: OpenWRT SNAPSHOT r14198-da98603597 (snapshot from 8/19/2020)
- Installed packages: Just the base install + LuCI

- Steps to reproduce: 
  * Install OpenWRT via stock firmware web interface
  * 'iw list' shows 2 physical interfaces: 2.4 GHz (phy1) and 5 GHz (phy0)
  * Reboot
  * 'iw list' now only shows the 2.4 GHz-wifi
  * 5 GHz-wifi is only redetected after power-cycling, simple reboot doesn't work

- Logs:
  * dmesg with both interfaces:

[    0.000000] Linux version 5.4.58 (builder at buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14198-da98603597)) #0 Tue Aug 18 16:14:54 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link RE450 v3
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 56888K/65536K available (5134K kernel code, 190K rwdata, 1176K rodata, 1236K init, 205K bss, 8648K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x520 with crng_init=0
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008231] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.046722] pid_max: default: 32768 minimum: 301
[    0.051722] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059438] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071600] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081924] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089218] pinctrl core: initialized pinctrl subsystem
[    0.097103] NET: Registered protocol family 16
[    0.131044] clocksource: Switched to clocksource MIPS
[    0.137499] NET: Registered protocol family 2
[    0.142953] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.151841] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.159940] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.167381] TCP: Hash tables configured (established 1024 bind 1024)
[    0.174204] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.181148] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.188827] NET: Registered protocol family 1
[    0.193482] PCI: CLS 0 bytes, default 32
[    0.201049] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.214066] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.220256] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.243018] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.254285] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.261343] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.270150] printk: console [ttyS0] disabled
[    0.274741] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.283847] printk: console [ttyS0] enabled
[    0.292909] printk: bootconsole [early0] disabled
[    0.320880] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    0.325996] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.332567] Creating 7 MTD partitions on "spi0.0":
[    0.337536] 0x000000000000-0x000000020000 : "u-boot"
[    0.343635] 0x000000020000-0x000000022000 : "info"
[    0.349457] 0x000000022000-0x000000024000 : "partition-table"
[    0.356285] 0x000000024000-0x00000002e000 : "info2"
[    0.362222] 0x00000002e000-0x000000050000 : "config"
[    0.368262] 0x000000050000-0x0000007f0000 : "firmware"
[    0.379175] 2 tplink-fw partitions found on MTD device firmware
[    0.385326] Creating 2 MTD partitions on "firmware":
[    0.390466] 0x000000000000-0x000000209c24 : "kernel"
[    0.396459] 0x000000209c24-0x0000007a0000 : "rootfs"
[    0.402434] mtd: device 7 (rootfs) set to be root filesystem
[    0.409991] 1 squashfs-split partitions found on MTD device rootfs
[    0.416454] 0x000000490000-0x0000007a0000 : "rootfs_data"
[    0.422923] 0x0000007f0000-0x000000800000 : "art"
[    0.429578] libphy: GPIO Bitbanged MDIO: probed
[    0.439954] libphy: Fixed MDIO Bus: probed
[    0.772835] ag71xx 19000000.eth: connected to PHY at gpio-0:04 [uid=004dd074, driver=Atheros 8031 ethernet]
[    0.783492] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    0.790217] i2c /dev entries driver
[    0.796315] NET: Registered protocol family 10
[    0.806499] Segment Routing with IPv6
[    0.810436] NET: Registered protocol family 17
[    0.815112] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.828504] 8021q: 802.1Q VLAN Support v1.8
[    0.833637] PCI host bridge /ahb/pcie-controller at 18250000 ranges:
[    0.840001]  MEM 0x0000000012000000..0x0000000013ffffff
[    0.845403]   IO 0x0000000000000000..0x0000000000000000
[    0.850951] PCI host bridge to bus 0000:00
[    0.855222] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.862326] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.868086] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.875103] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.883320] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[    0.889579] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.896644] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.903638] pci 0000:00:00.0: supports D1 D2
[    0.909008] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.915890] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.923468] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.931847] hctosys: unable to open rtc device (rtc0)
[    0.941503] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    0.955778] Freeing unused kernel memory: 1236K
[    0.960477] This architecture does not have kernel memory protection.
[    0.967127] Run /sbin/init as init process
[    1.199054] random: fast init done
[    1.566294] init: Console is alive
[    1.570122] init: - watchdog -
[    2.588796] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.798646] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.816569] init: - preinit -
[    3.672705] random: jshn: uninitialized urandom read (4 bytes read)
[    3.775161] random: jshn: uninitialized urandom read (4 bytes read)
[    3.821070] random: jshn: uninitialized urandom read (4 bytes read)
[    8.283883] jffs2: notice: (549) jffs2_build_xattr_subsystem: complete building xattr subsystem, 37 of xdatum (29 unchecked, 6 orphan) and 54 of xref (6 dead, 0 orphan) found.
[    8.303296] mount_root: switching to jffs2 overlay
[    8.327567] overlayfs: upper fs does not support tmpfile.
[    8.342994] urandom-seed: Seeding with /etc/urandom.seed
[    8.432323] procd: - early -
[    8.435456] procd: - watchdog -
[    9.067071] procd: - watchdog -
[    9.070585] procd: - ubus -
[    9.152818] urandom_read: 5 callbacks suppressed
[    9.152825] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.230475] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.238452] procd: - init -
[   10.042593] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.300426] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[   10.307932] Backport generated by backports.git v5.8-1-0-g79400d9e
[   10.367861] xt_time: kernel timezone is -0000
[   10.384141] urngd: v1.0.2 started.
[   10.549643] PPP generic driver version 2.4.2
[   10.563949] NET: Registered protocol family 24
[   10.642376] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x3c.
[   10.650448] ath10k_mac_create, priv_size: 804  hw: (ptrval)  hw->priv: (ptrval)
[   10.680568] random: crng init done
[   10.685632] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   10.692309] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   14.049037] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   14.058609] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.071077] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-538f0906 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 e1c91a74
[   14.309918] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   15.285846] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   15.292959] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   15.309879] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   15.316163] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   15.324452] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 20984 iram: 25656'
[   15.386995] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   15.397150] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   15.504539] ath: EEPROM regdomain sanitized
[   15.504549] ath: EEPROM regdomain: 0x64
[   15.504552] ath: EEPROM indicates we should expect a direct regpair map
[   15.504570] ath: Country alpha2 being used: 00
[   15.504573] ath: Regpair used: 0x64
[   15.585882] ath: EEPROM regdomain sanitized
[   15.585893] ath: EEPROM regdomain: 0x64
[   15.585897] ath: EEPROM indicates we should expect a direct regpair map
[   15.585916] ath: Country alpha2 being used: 00
[   15.585919] ath: Regpair used: 0x64
[   15.598233] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   15.600158] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   15.627498] kmodloader: done loading kernel modules from /etc/modules.d/*
[   26.247323] br-lan: port 1(eth0) entered blocking state
[   26.252771] br-lan: port 1(eth0) entered disabled state
[   26.258462] device eth0 entered promiscuous mode
[   30.947562] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   30.954344] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   30.971271] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   30.977555] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   30.985854] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 20984 iram: 25656'
[   31.048771] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[   31.079988] br-lan: port 2(wlan0) entered blocking state
[   31.085532] br-lan: port 2(wlan0) entered disabled state
[   31.091324] device wlan0 entered promiscuous mode
[   31.211412] br-lan: port 3(wlan1-1) entered blocking state
[   31.217133] br-lan: port 3(wlan1-1) entered disabled state
[   31.223228] device wlan1-1 entered promiscuous mode
[   31.228434] br-lan: port 3(wlan1-1) entered blocking state
[   31.234131] br-lan: port 3(wlan1-1) entered forwarding state
[   31.241283] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   31.347526] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   31.354300] br-lan: port 2(wlan0) entered blocking state
[   31.359835] br-lan: port 2(wlan0) entered forwarding state
[   32.095174] br-lan: port 3(wlan1-1) entered disabled state
[   34.157207] wlan1: authenticate with c8:0e:14:fc:02:ed
[   34.176691] wlan1: send auth to c8:0e:14:fc:02:ed (try 1/3)
[   34.185984] wlan1: authenticated
[   34.191228] wlan1: associate with c8:0e:14:fc:02:ed (try 1/3)
[   34.203447] wlan1: RX AssocResp from c8:0e:14:fc:02:ed (capab=0x31 status=0 aid=6)
[   34.211556] wlan1: associated
[   34.226587] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   34.245010] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[   34.252015] br-lan: port 3(wlan1-1) entered blocking state
[   34.257731] br-lan: port 3(wlan1-1) entered forwarding state

  * iw list of both interfaces:

Wiphy phy1
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports AP-side u-APSD.
	Device supports T-DLS.
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * outside context of a BSS
	Band 1:
		Capabilities: 0x11ee
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm) (no IR)
			* 2472 MHz [13] (20.0 dBm) (no IR)
			* 2484 MHz [14] (20.0 dBm) (no IR)
	valid interface combinations:
		 * #{ managed } 



More information about the openwrt-bugs mailing list