Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
openwrt-bot opened this issue Aug 20, 2020 · 2 comments
Labels
flyspray kernel pull request/issue with Linux kernel related changes

Comments

@openwrt-bot
Copy link

Alfredoredo:

  • 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@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@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 } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1, total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }
HT Capability overrides:
	 * MCS: ff ff ff ff ff ff ff ff ff ff
	 * maximum A-MSDU length
	 * supported channel width
	 * short GI for 40 MHz
	 * max A-MPDU length exponent
	 * min MPDU start spacing
Supported extended features:
	* [ RRM ]: RRM
	* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
	* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
	* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
	* [ AIRTIME_FAIRNESS ]: airtime fairness scheduling

Wiphy phy0
max # scan SSIDs: 16
max scan IEs length: 199 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.
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
* P2P-device
Band 2:
Capabilities: 0x19ef
RX LDPC
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 7935 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
VHT Capabilities (0x338001b2):
Max MPDU length: 11454
Supported Channel Width: neither 160 nor 80+80
RX LDPC
short GI (80 MHz)
TX STBC
RX antenna pattern consistency
TX antenna pattern consistency
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: MCS 0-9
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 0 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: MCS 0-9
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 0 Mbps
Frequencies:
* 5180 MHz [36] (20.0 dBm)
* 5200 MHz [40] (20.0 dBm)
* 5220 MHz [44] (20.0 dBm)
* 5240 MHz [48] (20.0 dBm)
* 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
* 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
* 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
* 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
* 5500 MHz [100] (20.0 dBm) (no IR, radar detection)
* 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
* 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
* 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
* 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
* 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
* 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
* 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
* 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
* 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
* 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
* 5720 MHz [144] (20.0 dBm) (no IR, radar detection)
* 5745 MHz [149] (20.0 dBm) (no IR)
* 5765 MHz [153] (20.0 dBm) (no IR)
* 5785 MHz [157] (20.0 dBm) (no IR)
* 5805 MHz [161] (20.0 dBm) (no IR)
* 5825 MHz [165] (20.0 dBm) (no IR)
* 5845 MHz [169] (disabled)
* 5865 MHz [173] (disabled)
valid interface combinations:
* #{ managed, P2P-client } <= 16, #{ P2P-GO } <= 3, #{ AP } <= 16, #{ IBSS } <= 1,
total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

HT Capability overrides:
	 * MCS: ff ff ff ff ff ff ff ff ff ff
	 * maximum A-MSDU length
	 * supported channel width
	 * short GI for 40 MHz
	 * max A-MPDU length exponent
	 * min MPDU start spacing
Supported extended features:
	* [ VHT_IBSS ]: VHT-IBSS
	* [ RRM ]: RRM
	* [ SET_SCAN_DWELL ]: scan dwell setting
	* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
	* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
	* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
	* [ AIRTIME_FAIRNESS ]: airtime fairness scheduling
* dmesg with only 2.4 GHz-wifi: root@OpenWrt:~# dmesg [ 0.000000] Linux version 5.4.58 (builder@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.051721] 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.071590] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.081915] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.089209] pinctrl core: initialized pinctrl subsystem [ 0.097096] NET: Registered protocol family 16 [ 0.131045] clocksource: Switched to clocksource MIPS [ 0.137496] NET: Registered protocol family 2 [ 0.142951] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.151839] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.159931] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.167372] TCP: Hash tables configured (established 1024 bind 1024) [ 0.174198] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.181140] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.188818] NET: Registered protocol family 1 [ 0.193465] PCI: CLS 0 bytes, default 32 [ 0.201000] workingset: timestamp_bits=14 max_order=14 bucket_order=0 [ 0.214024] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.220214] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.242855] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.254127] pinctrl-single 1804002c.pinmux: 544 pins, size 68 [ 0.261184] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.269993] printk: console [ttyS0] disabled [ 0.274584] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A [ 0.283698] printk: console [ttyS0] enabled [ 0.292759] printk: bootconsole [early0] disabled [ 0.321224] spi-nor spi0.0: s25fl064k (8192 Kbytes) [ 0.326339] 7 fixed-partitions partitions found on MTD device spi0.0 [ 0.332909] Creating 7 MTD partitions on "spi0.0": [ 0.337878] 0x000000000000-0x000000020000 : "u-boot" [ 0.343925] 0x000000020000-0x000000022000 : "info" [ 0.349744] 0x000000022000-0x000000024000 : "partition-table" [ 0.356582] 0x000000024000-0x00000002e000 : "info2" [ 0.362517] 0x00000002e000-0x000000050000 : "config" [ 0.368552] 0x000000050000-0x0000007f0000 : "firmware" [ 0.379462] 2 tplink-fw partitions found on MTD device firmware [ 0.385627] Creating 2 MTD partitions on "firmware": [ 0.390774] 0x000000000000-0x000000209c24 : "kernel" [ 0.396763] 0x000000209c24-0x0000007a0000 : "rootfs" [ 0.402729] mtd: device 7 (rootfs) set to be root filesystem [ 0.410258] 1 squashfs-split partitions found on MTD device rootfs [ 0.416725] 0x000000490000-0x0000007a0000 : "rootfs_data" [ 0.423252] 0x0000007f0000-0x000000800000 : "art" [ 0.429885] libphy: GPIO Bitbanged MDIO: probed [ 0.440229] libphy: Fixed MDIO Bus: probed [ 0.772836] ag71xx 19000000.eth: connected to PHY at gpio-0:04 [uid=004dd074, driver=Atheros 8031 ethernet] [ 0.783494] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii [ 0.790216] i2c /dev entries driver [ 0.796303] NET: Registered protocol family 10 [ 0.806492] Segment Routing with IPv6 [ 0.810429] NET: Registered protocol family 17 [ 0.815115] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 0.828508] 8021q: 802.1Q VLAN Support v1.8 [ 0.833630] PCI host bridge /ahb/pcie-controller@18250000 ranges: [ 0.839994] MEM 0x0000000012000000..0x0000000013ffffff [ 0.845396] IO 0x0000000000000000..0x0000000000000000 [ 0.850800] ar724x-pci 18250000.pcie-controller: PCIe link is down [ 0.857332] PCI host bridge to bus 0000:00 [ 0.861603] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff] [ 0.868710] pci_bus 0000:00: root bus resource [io 0x0000] [ 0.874469] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.881484] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.890429] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 [ 0.897945] hctosys: unable to open rtc device (rtc0) [ 0.907557] VFS: Mounted root (squashfs filesystem) readonly on device 31:7. [ 0.921813] Freeing unused kernel memory: 1236K [ 0.926520] This architecture does not have kernel memory protection. [ 0.933170] Run /sbin/init as init process [ 1.175048] random: fast init done [ 1.532016] init: Console is alive [ 1.535840] init: - watchdog - [ 2.553540] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 2.763237] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 2.781133] init: - preinit - [ 3.635176] random: jshn: uninitialized urandom read (4 bytes read) [ 3.740548] random: jshn: uninitialized urandom read (4 bytes read) [ 3.786584] random: jshn: uninitialized urandom read (4 bytes read) [ 8.246371] jffs2: notice: (548) jffs2_build_xattr_subsystem: complete building xattr subsystem, 35 of xdatum (29 unchecked, 4 orphan) and 52 of xref (4 dead, 0 orphan) found. [ 8.265777] mount_root: switching to jffs2 overlay [ 8.290175] overlayfs: upper fs does not support tmpfile. [ 8.306647] urandom-seed: Seeding with /etc/urandom.seed [ 8.395809] procd: - early - [ 8.398875] procd: - watchdog - [ 9.032264] procd: - watchdog - [ 9.035819] procd: - ubus - [ 9.118067] urandom_read: 5 callbacks suppressed [ 9.118073] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.195823] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.204378] procd: - init - [ 10.001922] kmodloader: loading kernel modules from /etc/modules.d/* [ 10.260046] Loading modules backported from Linux version v5.8-0-gbcf876870b95 [ 10.267552] Backport generated by backports.git v5.8-1-0-g79400d9e [ 10.327832] xt_time: kernel timezone is -0000 [ 10.419909] urngd: v1.0.2 started. [ 10.517728] PPP generic driver version 2.4.2 [ 10.531947] NET: Registered protocol family 24 [ 10.670799] random: crng init done [ 10.699652] ath: EEPROM regdomain sanitized [ 10.699663] ath: EEPROM regdomain: 0x64 [ 10.699666] ath: EEPROM indicates we should expect a direct regpair map [ 10.699686] ath: Country alpha2 being used: 00 [ 10.699689] ath: Regpair used: 0x64 [ 10.711980] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 10.713846] ieee80211 phy0: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2 [ 10.823428] kmodloader: done loading kernel modules from /etc/modules.d/* [ 22.215341] br-lan: port 1(eth0) entered blocking state [ 22.220791] br-lan: port 1(eth0) entered disabled state [ 22.226493] device eth0 entered promiscuous mode [ 25.552299] br-lan: port 2(wlan0-1) entered blocking state [ 25.558022] br-lan: port 2(wlan0-1) entered disabled state [ 25.564080] device wlan0-1 entered promiscuous mode [ 28.429430] wlan0: authenticate with c8:0e:14:fc:02:ed [ 28.449012] wlan0: send auth to c8:0e:14:fc:02:ed (try 1/3) [ 28.457875] wlan0: authenticated [ 28.463223] wlan0: associate with c8:0e:14:fc:02:ed (try 1/3) [ 28.475679] wlan0: RX AssocResp from c8:0e:14:fc:02:ed (capab=0x31 status=0 aid=6) [ 28.483786] wlan0: associated [ 28.498734] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 28.517355] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready [ 28.524337] br-lan: port 2(wlan0-1) entered blocking state [ 28.530062] br-lan: port 2(wlan0-1) entered forwarding state [ 28.555183] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready * iw list with only 2.4 GHz-wifi: Wiphy phy0 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 } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1, total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }
HT Capability overrides:
	 * MCS: ff ff ff ff ff ff ff ff ff ff
	 * maximum A-MSDU length
	 * supported channel width
	 * short GI for 40 MHz
	 * max A-MPDU length exponent
	 * min MPDU start spacing
Supported extended features:
	* [ RRM ]: RRM
	* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
	* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
	* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
	* [ AIRTIME_FAIRNESS ]: airtime fairness scheduling
@openwrt-bot
Copy link
Author

Alfredoredo:

Maybe I should be a bit more precise about this behavior: OpenWRT only recognizes the QCA9880 802.11nac on a cold boot, i.e. when I'm plugging the RE450 to a power outlet. When rebooting the device (either by typing 'reboot' in a SSH-session or via LuCI) the QCA9880 802.11nac-wifi is not detected anymore. The only way to get it detected and working again is to remove the device from power, wait a bit (I don't know an exact time, I just noticed that unplugging and directly replugging doesn't work) and plug it back into the power outlet.
So QCA9880 (5 GHz-Wifi) is not detected sporadically as I stated in the original report but it's rather only detected on a cold boot.

@aparcar aparcar added the kernel pull request/issue with Linux kernel related changes label Feb 22, 2022
@ingmar-k
Copy link

ingmar-k commented Feb 2, 2024

Sorry for the resurrection, but I have the RE455 V1 here and I think I saw the same behavior.
Might it be, that the QCA9880 (PCI-id 168c : 0040) needs a pci quirk, like this one:
https://lore.kernel.org/linux-pci/08982e05-b6e8-5a8d-24ab-da1488ee50a8@web.de/

Just quickly checked. Mainline doesn't have this, yet: https://github.com/torvalds/linux/blob/master/drivers/pci/quirks.c
I have no time for testing right now, sadly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray kernel pull request/issue with Linux kernel related changes
Projects
None yet
Development

No branches or pull requests

3 participants