greearb / ath10k-ct

Stand-alone ath10k driver based on Candela Technologies Linux kernel.
110 stars 40 forks source link

5ghz network drops on R7800 #169

Closed theAeon closed 3 years ago

theAeon commented 3 years ago

Please provide this info. See this link for more info on how to gather debug info: http://www.candelatech.com/ath10k-bugs.php

Description of the problem (how to configure, how to reproduce, how often it happens). 5Ghz radio stops broadcasting around once a day or so, module doesn't crash and 2.4ghz radio continues working. Only noticed this w/ DFS VHT80/160, but I have not tried other combinations.

Software (OS, Firmware version, kernel, driver, etc) Openwrt r14694-e788e9bd87, hnyman's R7800 build, kernel/driver 5.4.70, firmware 10.4b-ct-9984-fW-13-795874169

Hardware (NIC chipset, platform, etc)

R7800, QCA8894/IPQ8065

Logs (dmesg, maybe supplicant and/or hostap) dmesg:

[   16.223266] ath10k_pci 0000:01:00.0: assign IRQ: got 35

[   16.223287] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x46.

[   16.223344] ath10k_mac_create, priv_size: 868  hw: 32dee5a9  hw->priv: a2e7a7a7

[   16.230133] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)

[   16.237188] ath10k_pci 0000:01:00.0: enabling bus mastering

[   16.237692] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0

[   16.720940] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe

[   16.720973] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0

[   16.731482] ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9984-fW-13-795874169 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 f3d4b769

[   19.063857] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 85498734

[   24.912547] ath10k_pci 0000:01:00.0: unsupported HTC service id: 1536

[   24.913706] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96

[   24.917965] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32

[   25.001000] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'

[   25.001837] ath10k_pci 0000:01:00.0: wmi print 'free: 84920 iram: 13316 sram: 11224'

[   25.290161] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1

[   25.384578] ath: EEPROM regdomain sanitized

[   25.384595] ath: EEPROM regdomain: 0x64

[   25.384606] ath: EEPROM indicates we should expect a direct regpair map

[   25.384630] ath: Country alpha2 being used: 00

[   25.384640] ath: Regpair used: 0x64

[   25.390777] ath10k_pci 0001:01:00.0: assign IRQ: got 37

[   25.390820] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x46.

[   25.390967] ath10k_mac_create, priv_size: 868  hw: 4686a520  hw->priv: 069f46d5

[   25.398452] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)

[   25.404727] ath10k_pci 0001:01:00.0: enabling bus mastering

[   25.405310] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0

[   25.735445] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe

[   25.735476] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0

[   25.746109] ath10k_pci 0001:01:00.0: firmware ver 10.4b-ct-9984-fW-13-795874169 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 f3d4b769

[   28.065582] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 85498734

[   33.896536] ath10k_pci 0001:01:00.0: unsupported HTC service id: 1536

[   33.897332] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96

[   33.901951] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32

[   33.986948] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'

[   33.987819] ath10k_pci 0001:01:00.0: wmi print 'free: 84920 iram: 13316 sram: 11224'

[   34.316708] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1

[   34.414582] ath: EEPROM regdomain sanitized

[   34.414600] ath: EEPROM regdomain: 0x64

[   34.414611] ath: EEPROM indicates we should expect a direct regpair map

[   34.414635] ath: Country alpha2 being used: 00

[   34.414645] ath: Regpair used: 0x64

[   34.425200] kmodloader: done loading kernel modules from /etc/modules.d/*

[   38.640089] dwmac1000: Master AXI performs any burst length

[   38.640118] ipq806x-gmac-dwmac 37400000.ethernet eth1: No Safety Features support found

[   38.644543] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported

[   38.652560] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock

[   38.661571] ipq806x-gmac-dwmac 37400000.ethernet eth1: configuring for fixed/sgmii link mode

[   38.668549] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off

[   38.673585] br-lan: port 1(eth1.1) entered blocking state

[   38.685876] br-lan: port 1(eth1.1) entered disabled state

[   38.691374] device eth1.1 entered promiscuous mode

[   38.696630] device eth1 entered promiscuous mode

[   38.702860] br-lan: port 1(eth1.1) entered blocking state

[   38.706012] br-lan: port 1(eth1.1) entered forwarding state

[   38.720233] dwmac1000: Master AXI performs any burst length

[   38.720261] ipq806x-gmac-dwmac 37200000.ethernet eth0: No Safety Features support found

[   38.724703] ipq806x-gmac-dwmac 37200000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported

[   38.732703] ipq806x-gmac-dwmac 37200000.ethernet eth0: registered PTP clock

[   38.741703] ipq806x-gmac-dwmac 37200000.ethernet eth0: configuring for fixed/rgmii link mode

[   38.749428] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off

[   38.758197] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[   39.276260] print_req_error: 14 callbacks suppressed

[   39.276268] blk_update_request: I/O error, dev mtdblock0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0

[   39.281141] blk_update_request: I/O error, dev mtdblock0, sector 8 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 0

[   39.291813] blk_update_request: I/O error, dev mtdblock0, sector 16 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0

[   39.302544] blk_update_request: I/O error, dev mtdblock0, sector 24 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0

[   39.313202] blk_update_request: I/O error, dev mtdblock0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0

[   39.322993] Buffer I/O error on dev mtdblock0, logical block 0, async page read

[   39.336939] blk_update_request: I/O error, dev mtdblock0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0

[   39.340557] Buffer I/O error on dev mtdblock0, logical block 0, async page read

[   39.352235] blk_update_request: I/O error, dev mtdblock1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0

[   39.359270] blk_update_request: I/O error, dev mtdblock1, sector 8 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 0

[   39.370015] blk_update_request: I/O error, dev mtdblock1, sector 16 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0

[   39.380688] blk_update_request: I/O error, dev mtdblock1, sector 24 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0

[   39.391420] Buffer I/O error on dev mtdblock1, logical block 0, async page read

[   39.404643] Buffer I/O error on dev mtdblock1, logical block 0, async page read

[   39.672894] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

[   39.673136] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

[   39.870060] ath: EEPROM regdomain: 0x8348

[   39.870080] ath: EEPROM indicates we should expect a country code

[   39.873111] ath: doing EEPROM country->regdmn map search

[   39.879136] ath: country maps to regdmn code: 0x3a

[   39.884607] ath: Country alpha2 being used: US

[   39.889102] ath: Regpair used: 0x3a

[   39.893606] ath: regdomain 0x8348 dynamically updated by user

[   39.896944] ath: EEPROM regdomain: 0x8348

[   39.902884] ath: EEPROM indicates we should expect a country code

[   39.906811] ath: doing EEPROM country->regdmn map search

[   39.912940] ath: country maps to regdmn code: 0x3a

[   39.918268] ath: Country alpha2 being used: US

[   39.922935] ath: Regpair used: 0x3a

[   39.927292] ath: regdomain 0x8348 dynamically updated by user

[   46.111404] ath10k_pci 0001:01:00.0: unsupported HTC service id: 1536

[   46.112092] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96

[   46.116912] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32

[   46.202017] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'

[   46.203095] ath10k_pci 0001:01:00.0: wmi print 'free: 84920 iram: 13316 sram: 11224'

[   46.679624] ath10k_pci 0001:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4

[   46.689665] br-lan: port 2(wlan1) entered blocking state

[   46.689725] br-lan: port 2(wlan1) entered disabled state

[   46.695732] device wlan1 entered promiscuous mode

[   46.838510] ath10k_pci 0001:01:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000

[   47.132556] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready

[   47.132934] br-lan: port 2(wlan1) entered blocking state

[   47.137992] br-lan: port 2(wlan1) entered forwarding state

[   53.160805] ath10k_pci 0000:01:00.0: unsupported HTC service id: 1536

[   53.160840] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96

[   53.166316] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32

[   53.249283] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'

[   53.250104] ath10k_pci 0000:01:00.0: wmi print 'free: 84920 iram: 13316 sram: 11224'

[   53.636572] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4

[   53.669694] br-lan: port 3(wlan0) entered blocking state

[   53.669721] br-lan: port 3(wlan0) entered disabled state

[   53.674458] device wlan0 entered promiscuous mode

[  115.676165] ath10k_pci 0000:01:00.0: mac flush null vif, drop 0 queues 0xffff

[  115.714611] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

[  115.714785] br-lan: port 3(wlan0) entered blocking state

[  115.720052] br-lan: port 3(wlan0) entered forwarding state

[  889.231582] ath10k_pci 0000:01:00.0: Invalid VHT mcs 15 peer stats

[  889.233094] ath10k_pci 0000:01:00.0: htt tx: fixing invalid VHT TX rate code 0xff

[27625.745971] br-lan: port 3(wlan0) entered disabled state

[27625.746069] br-lan: port 2(wlan1) entered disabled state

[27625.750452] br-lan: port 1(eth1.1) entered disabled state

[27625.760826] device wlan0 left promiscuous mode

[27625.761009] br-lan: port 3(wlan0) entered disabled state

[27625.800649] device wlan1 left promiscuous mode

[27625.800725] br-lan: port 2(wlan1) entered disabled state

[27625.840851] device eth1.1 left promiscuous mode

[27625.840872] device eth1 left promiscuous mode

[27625.844262] br-lan: port 1(eth1.1) entered disabled state

[27625.981973] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Down

[27626.010807] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Down

[27626.066742] dwmac1000: Master AXI performs any burst length

[27626.066771] ipq806x-gmac-dwmac 37400000.ethernet eth1: No Safety Features support found

[27626.071237] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported

[27626.079289] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock

[27626.088208] ipq806x-gmac-dwmac 37400000.ethernet eth1: configuring for fixed/sgmii link mode

[27626.095894] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off

[27626.107648] br-lan: port 1(eth1.1) entered blocking state

[27626.112528] br-lan: port 1(eth1.1) entered disabled state

[27626.118016] device eth1.1 entered promiscuous mode

[27626.123276] device eth1 entered promiscuous mode

[27626.129118] br-lan: port 1(eth1.1) entered blocking state

[27626.132746] br-lan: port 1(eth1.1) entered forwarding state

[27626.153836] dwmac1000: Master AXI performs any burst length

[27626.153865] ipq806x-gmac-dwmac 37200000.ethernet eth0: No Safety Features support found

[27626.158214] ipq806x-gmac-dwmac 37200000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported

[27626.166414] ipq806x-gmac-dwmac 37200000.ethernet eth0: registered PTP clock

[27626.175450] ipq806x-gmac-dwmac 37200000.ethernet eth0: configuring for fixed/rgmii link mode

[27626.183045] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off

[27628.982890] br-lan: port 2(wlan1) entered blocking state

[27628.982916] br-lan: port 2(wlan1) entered disabled state

[27628.989608] device wlan1 entered promiscuous mode

[27628.992800] br-lan: port 2(wlan1) entered blocking state

[27628.997158] br-lan: port 2(wlan1) entered forwarding state

[27629.073179] br-lan: port 3(wlan0) entered blocking state

[27629.073209] br-lan: port 3(wlan0) entered disabled state

[27629.078472] device wlan0 entered promiscuous mode

[27629.083072] br-lan: port 3(wlan0) entered blocking state

[27629.087525] br-lan: port 3(wlan0) entered forwarding state

[62859.235043] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2

[82401.404737] device wlan0 left promiscuous mode

[82401.404873] br-lan: port 3(wlan0) entered disabled state

[82401.456316] ath10k_pci 0000:01:00.0: mac flush null vif, drop 0 queues 0xffff

[82401.458783] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0

[82401.462479] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0

[82407.458323] ath10k_pci 0000:01:00.0: unsupported HTC service id: 1536

[82407.458560] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96

[82407.463740] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32

[82407.546790] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'

[82407.547642] ath10k_pci 0000:01:00.0: wmi print 'free: 84920 iram: 13316 sram: 11224'

[82407.933929] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4

[82407.941444] br-lan: port 3(wlan0) entered blocking state

[82407.943900] br-lan: port 3(wlan0) entered disabled state

[82407.950169] device wlan0 entered promiscuous mode

I just bumped the debug verbosity and enabled hostapd debug logging, will update when it happens again.

theAeon commented 3 years ago

just happened again

hostapd:


Mon Nov  2 19:12:12 2020 daemon.err hostapd: 20/40 MHz: center segment 0 (=114) and center freq 1 (=5510) not in sync

Mon Nov  2 19:12:19 2020 daemon.info hostapd: wlan1: STA c0:b8:83:2d:b8:42 IEEE 802.11: authenticated

Mon Nov  2 19:12:19 2020 daemon.info hostapd: wlan1: STA c0:b8:83:2d:b8:42 IEEE 802.11: authenticated

Mon Nov  2 19:12:19 2020 daemon.notice hostapd: wlan1: STA c0:b8:83:2d:b8:42 IEEE 802.11: did not acknowledge authentication response

Mon Nov  2 19:12:19 2020 daemon.notice hostapd: wlan1: STA 48:5f:99:51:55:02 IEEE 802.11: did not acknowledge authentication response

Mon Nov  2 19:12:19 2020 daemon.notice hostapd: wlan1: STA c0:b8:83:2d:b8:42 IEEE 802.11: did not acknowledge authentication response

Mon Nov  2 19:12:19 2020 daemon.notice hostapd: wlan1: STA c0:b8:83:2d:b8:42 IEEE 802.11: did not acknowledge authentication response

Mon Nov  2 19:12:20 2020 daemon.err hostapd: could not get valid channel

Mon Nov  2 19:12:21 2020 daemon.info hostapd: wlan1: STA c0:b8:83:2d:b8:42 IEEE 802.11: authenticated

Mon Nov  2 19:12:21 2020 daemon.info hostapd: wlan1: STA c0:b8:83:2d:b8:42 IEEE 802.11: associated (aid 1)

Mon Nov  2 19:12:21 2020 daemon.info hostapd: wlan1: STA c0:b8:83:2d:b8:42 RADIUS: starting accounting session 777EFE352E749016

Mon Nov  2 19:12:21 2020 daemon.info hostapd: wlan1: STA c0:b8:83:2d:b8:42 WPA: pairwise key handshake completed (RSN)

Mon Nov  2 19:12:24 2020 daemon.info hostapd: wlan1: STA 48:5f:99:51:55:02 IEEE 802.11: authenticated

Mon Nov  2 19:12:24 2020 daemon.info hostapd: wlan1: STA 48:5f:99:51:55:02 IEEE 802.11: associated (aid 4)

Mon Nov  2 19:12:25 2020 daemon.info hostapd: wlan1: STA 48:5f:99:51:55:02 RADIUS: starting accounting session 11FABBE0B146F74F

Mon Nov  2 19:12:25 2020 daemon.info hostapd: wlan1: STA 48:5f:99:51:55:02 WPA: pairwise key handshake completed (RSN)

and dmesg


[97958.570741] ath10k_pci 0001:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:

[97958.570808] ath10k: [0000]: 05F9C65D 10005881 00003112 00430C04 0000000A 00000000 05F9C65D 10005881

[97958.575905] ath10k: [0008]: 00003112 00430C04 0000000E 00000001

[97958.584831] ath10k_pci 0001:01:00.0: ATH10K_END

[97961.920948] ath10k_pci 0000:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:

[97961.921011] ath10k: [0000]: 05F9B82A 10005881 00003112 00430C04 0000000A 00000000 05F9B82A 10005881

[97961.926133] ath10k: [0008]: 00003112 00430C04 0000000E 00000000

[97961.934982] ath10k_pci 0000:01:00.0: ATH10K_END

[97964.571674] ath10k_pci 0001:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:

[97964.571701] ath10k: [0000]: 05F9DE5E 10005881 00003112 00430C04 0000000A 00000000 05F9DE5E 10005881

[97964.576844] ath10k: [0008]: 00003112 00430C04 0000000E 00000001

[97964.585746] ath10k_pci 0001:01:00.0: ATH10K_END

[97967.922054] ath10k_pci 0000:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:

[97967.922100] ath10k: [0000]: 05F9CFD1 08005824 00009085 00000000 05F9CFD3 08005824 00009084 00000000

[97967.927236] ath10k: [0008]: 05F9D02B 10005881 00003112 00430C04 0000000A 00000000 05F9D02B 10005881

[97967.936197] ath10k: [0016]: 00003112 00430C04 0000000E 00000000

[97967.945169] ath10k_pci 0000:01:00.0: ATH10K_END

[97970.572954] ath10k_pci 0001:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:

[97970.572998] ath10k: [0000]: 05F9F660 10005881 00003112 00430C04 0000000A 00000000 05F9F660 10005881

[97970.578116] ath10k: [0008]: 00003112 00430C04 0000000E 00000001

[97970.587090] ath10k_pci 0001:01:00.0: ATH10K_END

[97972.072564] device wlan0 left promiscuous mode

[97972.072751] br-lan: port 3(wlan0) entered disabled state

[97972.127690] ath10k_pci 0000:01:00.0: mac flush null vif, drop 0 queues 0xffff

[97972.131194] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0

[97972.134466] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0

[97972.140668] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0

[97978.180614] ath10k_pci 0000:01:00.0: unsupported HTC service id: 1536

[97978.181547] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96

[97978.186104] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32

[97978.269150] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'

[97978.270296] ath10k_pci 0000:01:00.0: wmi print 'free: 84920 iram: 13316 sram: 11224'

[97978.657688] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4

[97978.664605] br-lan: port 3(wlan0) entered blocking state

[97978.667645] br-lan: port 3(wlan0) entered disabled state

[97978.673734] device wlan0 entered promiscuous mode

[97978.843494] ath10k_pci 0000:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:

[97978.843534] ath10k: [0000]: 00001791 13FC0007 60002070 00000010 00000030 004E0001 00001791 13FC586C

[97978.848583] ath10k: [0008]: 00000001 00000001 00001464 00000000 000017DB 17FC3C2A 61100001 01000004

[97978.857574] ath10k: [0016]: 00010000 14640000 00000001 000017DC 17FC582E 00000003 0000001E 0000094C

[97978.866555] ath10k: [0024]: 0000094C 00000000 000017DC 17FC582E 00000012 0000001E 0000094C 0000094C

[97978.875565] ath10k: [0032]: 00000000 000017DC 17FC582E 00000045 0000001E 0000094C 0000094C 00000000

[97978.884593] ath10k: [0040]: 000017DC 17FC582E 00000067 0000001E 0000094C 0000094C 00000000 000017EF

[97978.893620] ath10k: [0048]: 13FC586C 00000002 00000002 00001464 00000000 00001808 17FC3C2A 61100001

[97978.902647] ath10k: [0056]: 01000001 01010000 14640000 00000002 00001808 13FC5822 9110B000 00000001

[97978.911676] ath10k: [0064]: 00000001 00000001 00001808 1400587C 51100001 000F7500 000003FC 00000001

[97978.920710] ath10k: [0072]: 0045721C 00001808 1000587A 00430C04 0045721C FF000001 00000000 00001808

[97978.929727] ath10k: [0080]: 14006403 00000000 01000000 00000000 00000000 0045721C 00001808 14006402

[97978.938758] ath10k: [0088]: 71103331 00000000 00000100 00000001 00000000 00001808 14006402 71103332

[97978.947786] ath10k: [0096]: 00000000 00000100 0042E498 00000000 00001808 1400587D 51100002 000F7500

[97978.956815] ath10k: [0104]: 00000057 00000000 0045721C 00001808 1000587B 00430C04 0045721C 00000000

[97978.965842] ath10k: [0112]: 0042E498 0000180F 13FC586C 00000002 00000002 00001464 00000000 00001828

[97978.974870] ath10k: [0120]: 17FC3C2A 61100001 01000001 01010000 14640000 00000002 00001828 13FC5822

[97978.983899] ath10k: [0128]: 9110B000 00000001 00000001 00000001 0000182E 13FC586C 00000002 00000002

[97978.992926] ath10k: [0136]: 00001464 00000000 00001848 17FC3C2A 61100001 01000001 01010000 14640000

[97979.001953] ath10k: [0144]: 00000002 00001848 13FC5822 9110B000 00000001 00000001 00000001 0000184E

[97979.010982] ath10k: [0152]: 13FC586C 00000002 00000002 00001464 00000000 00001867 17FC3C2A 61100001
[97979.020009] ath10k: [0160]: 01000001 01010000 14640000 00000002 00001867 13FC5822 9110B000 00000001

[97979.029037] ath10k: [0168]: 00000001 00000001 0000186D 13FC586C 00000002 00000002 00001464 00000000

[97979.038064] ath10k: [0176]: 00001887 17FC3C2A 61100001 01000001 01010000 14640000 00000002 00001887

[97979.047093] ath10k: [0184]: 13FC5822 9110B000 00000001 00000001 00000001 0000188D 13FC586C 00000002

[97979.056120] ath10k: [0192]: 00000002 00001464 00000000 000018A6 17FC3C2A 61100001 01000001 01010000

[97979.065148] ath10k: [0200]: 14640000 00000002 000018A6 13FC5822 9110B000 00000001 00000001 00000001

[97979.074177] ath10k: [0208]: 000018AD 13FC586C 00000002 00000002 00001464 00000000 000018C6 17FC3C2A

[97979.083203] ath10k: [0216]: 61100001 01000001 01010000 14640000 00000002 000018C6 13FC5822 9110B000

[97979.092231] ath10k: [0224]: 00000001 00000001 00000001 000018CC 13FC586C 00000002 00000002 00001464

[97979.101260] ath10k: [0232]: 00000000 000018E7 17FC3C2A 61100001 01000001 01010000 14640000 00000002

[97979.110287] ath10k: [0240]: 000018E7 13FC5822 9110B000 00000001 00000001 00000001 000018ED 13FC586C

[97979.119315] ath10k: [0248]: 00000002 00000002 00001464 00000000 00001906 17FC3C2A 61100001 01000001

[97979.128342] ath10k: [0256]: 01010000 14640000 00000002 00001906 13FC5822 9110B000 00000001 00000001

[97979.137370] ath10k: [0264]: 00000001 0000190D 13FC586C 00000002 00000002 00001464 00000000 00001927

[97979.146398] ath10k: [0272]: 17FC3C2A 61100001 01000001 01010000 14640000 00000002 00001927 13FC5822

[97979.155427] ath10k: [0280]: 9110B000 00000001 00000001 00000001 0000192D 13FC586C 00000002 00000002

[97979.164454] ath10k: [0288]: 00001464 00000000 00001946 17FC3C2A 61100001 01000001 01010000 14640000

[97979.173480] ath10k: [0296]: 00000002 00001946 13FC5822 9110B000 00000001 00000001 00000001 0000194C

[97979.182508] ath10k: [0304]: 13FC586C 00000002 00000002 00001464 00000000 00001966 17FC3C2A 61100001

[97979.191537] ath10k: [0312]: 01000001 01010000 14640000 00000002 00001966 13FC5822 9110B000 00000001

[97979.200566] ath10k: [0320]: 00000001 00000001 00001968 1400587C 51100001 000F7500 000003FC 00000001

[97979.209593] ath10k: [0328]: 0045721C 00001968 1400587C 51100001 000F74B4 00000408 00000002 0045721C

[97979.218621] ath10k: [0336]: 00001968 1000587A 00430C04 0045721C FF010000 00000000 00001968 14006403

[97979.227648] ath10k: [0344]: 3E6EA544 CC480000 00000000 00000001 0045721C 00001969 10005881 00003112

[97979.236675] ath10k: [0352]: 00430C04 00000003 FFFFFFFF 0000196C 10005881 00003112 00430C04 0000000E

[97979.245704] ath10k: [0360]: 00000000 00001989 0BFC5805 0000157C 00000000 00001A2A 0BFC5805 00001590

[97979.254731] ath10k: [0368]: 00000000

[97979.263817] ath10k_pci 0000:01:00.0: ATH10K_END

[97979.574677] ath10k_pci 0001:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:

[97979.574738] ath10k: [0000]: 05FA19F2 10005881 00003112 00430C04 0000000A 00000000 05FA19F2 10005881

[97979.579834] ath10k: [0008]: 00003112 00430C04 0000000E 00000001 05FA19F4 1400587C 51100001 000F73D0

[97979.588835] ath10k: [0016]: 000003FC 00000007 00456EEC 05FA19F4 1000587A 00430C04 00456EEC 01000000

[97979.597778] ath10k: [0024]: 00000002 05FA19F4 14006403 2D83B8C0 42B80000 00000002 00000000 00456EEC

[97979.606788] ath10k: [0032]: 05FA1A17 1400587C 51100001 000F72EC 000003FC 00000008 00456BBC 05FA1A17

[97979.615814] ath10k: [0040]: 1000587A 00430C04 00456BBC 01000000 00000004 05FA1A17 14006403 51995F48

[97979.624842] ath10k: [0048]: 02550000 00000004 00000000 00456BBC

[97979.633864] ath10k_pci 0001:01:00.0: ATH10K_END

[97980.574816] ath10k_pci 0001:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:

[97980.574857] ath10k: [0000]: 05FA2122 10004C01 71100D08 00000000 00000005 00000077 05FA2122 14004C01

[97980.579971] ath10k: [0008]: 71104441 0305B842 10019003 00000000 0000FFFF 05FA2123 13FC4C01 000081DF

[97980.588940] ath10k: [0016]: 0045EA41 00000002 00000012 05FA2123 14004C01 71108880 00000000 00D80012

[97980.597971] ath10k: [0024]: 00000000 0000000C 05FA2123 14004C01 71108880 00010000 00D80012 00000000

[97980.606953] ath10k: [0032]: 0000FFFF 05FA2123 14004C01 71108880 00020000 00D80012 00000000 00000000

[97980.615993] ath10k: [0040]: 05FA2123 14004C01 71108880 00030000 00D80012 00000000 00000000 05FA2123

[97980.625016] ath10k: [0048]: 14004C01 71108880 00040000 00D80012 00000000 00000000 05FA2123 14004C01

[97980.634038] ath10k: [0056]: 71108880 00050000 00D80012 00000000 00000000 05FA2123 14004C01 71108880

[97980.643068] ath10k: [0064]: 00060000 00D80012 00000000 00000000 05FA2123 14004C01 71104441 0305B842

[97980.652032] ath10k: [0072]: 10019003 00000000 0000FFFF 05FA2123 13FC4C01 000081DF 004603FD 00000002

[97980.661126] ath10k: [0080]: 00000012 05FA2123 14004C01 71108880 00000000 00D80012 00000000 0000000C

[97980.670153] ath10k: [0088]: 05FA2123 14004C01 71108880 00010000 00D80012 00000000 0000FFFF 05FA2123

[97980.679180] ath10k: [0096]: 14004C01 71108880 00020000 00D80012 00000000 00000000 05FA2123 14004C01

[97980.688208] ath10k: [0104]: 71108880 00030000 00D80012 00000000 00000000 05FA2123 14004C01 71108880

[97980.697238] ath10k: [0112]: 00040000 00D80012 00000000 00000000 05FA2123 14004C01 71108880 00050000

[97980.706265] ath10k: [0120]: 00D80012 00000000 00000000 05FA2123 14004C01 71108880 00060000 00D80012

[97980.715295] ath10k: [0128]: 00000000 00000000 05FA213C 1400581D 000F73D0 00456EEC 000F73D0 00000006

[97980.724323] ath10k: [0136]: 00004000 05FA213C 1000581B 0000B842 00000000 00000006 000F73D0 05FA214A

[97980.733350] ath10k: [0144]: 17FC5823 00000033 00456EEC B8420100 00000000 00000040 05FA214B 17FC5823

[97980.742380] ath10k: [0152]: 00000033 00456EEC B8420106 00000002 00000040

[97980.751408] ath10k_pci 0001:01:00.0: ATH10K_END

[97983.575230] ath10k_pci 0001:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:

[97983.575276] ath10k: [0000]: 05FA2B89 10004C01 71100D08 00000000 00000005 00000077 05FA2B89 14004C01

[97983.580382] ath10k: [0008]: 71104441 03055502 00009003 00000000 0000FFFF 05FA2B89 13FC4C01 000081DF

[97983.589367] ath10k: [0016]: 0045EA41 00000002 00000012 05FA2B89 14004C01 71108880 00000000 00D80012

[97983.598375] ath10k: [0024]: 00000000 0000000C 05FA2B89 14004C01 71108880 00010000 00D80012 00000000

[97983.607372] ath10k: [0032]: 0000FFFF 05FA2B89 14004C01 71108880 00020000 00D80012 00000000 00000000

[97983.616413] ath10k: [0040]: 05FA2B89 14004C01 71108880 00030000 00D80012 00000000 00000000 05FA2B89

[97983.625425] ath10k: [0048]: 14004C01 71108880 00040000 00D80012 00000000 00000000 05FA2B89 14004C01

[97983.634455] ath10k: [0056]: 71108880 00050000 00D80012 00000000 00000000 05FA2B89 14004C01 71108880

[97983.643477] ath10k: [0064]: 00060000 00D80012 00000000 00000000 05FA2B89 14004C01 71104441 03055502

[97983.652504] ath10k: [0072]: 00009003 00000000 0000FFFF 05FA2B89 13FC4C01 000081DF 004619D5 00000002

[97983.661467] ath10k: [0080]: 00000012 05FA2B89 14004C01 71108880 00000000 00D80012 00000000 0000000C

[97983.670561] ath10k: [0088]: 05FA2B89 14004C01 71108880 00010000 00D80012 00000000 0000FFFF 05FA2B89

[97983.679590] ath10k: [0096]: 14004C01 71108880 00020000 00D80012 00000000 00000000 05FA2B89 14004C01

[97983.688619] ath10k: [0104]: 71108880 00030000 00D80012 00000000 00000000 05FA2B89 14004C01 71108880

[97983.697647] ath10k: [0112]: 00040000 00D80012 00000000 00000000 05FA2B89 14004C01 71108880 00050000

[97983.706676] ath10k: [0120]: 00D80012 00000000 00000000 05FA2B89 14004C01 71108880 00060000 00D80012

[97983.715704] ath10k: [0128]: 00000000 00000000

[97983.724743] ath10k_pci 0001:01:00.0: ATH10K_END

[97984.575394] ath10k_pci 0001:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:

[97984.575456] ath10k: [0000]: 05FA3002 1400581D 000F72EC 00456BBC 000F72EC 00000006 00004000 05FA3002

[97984.580508] ath10k: [0008]: 1000581B 00005502 00000000 00000006 000F72EC

[97984.589507] ath10k_pci 0001:01:00.0: ATH10K_END

[97985.575538] ath10k_pci 0001:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:

[97985.575585] ath10k: [0000]: 05FA31F3 10005881 00003112 00430C04 0000000A 00000000 05FA31F3 10005881

[97985.580685] ath10k: [0008]: 00003112 00430C04 0000000E 00000001
theAeon commented 3 years ago

on further investigation, this appears to be a DFS event handling issue. Is that a hostapd problem?

greearb commented 3 years ago

Maybe your system is just detecting radar and acting appropriately? Try using a non-dfs channel? Use smaller bandwidth in hopes that dodges whatever frequency DFS is detecting?

theAeon commented 3 years ago

I was on a static channel-which apparently kills the dynamic switching. Seems to be functional on auto/160 as of right now. Will keep updated

On Tue, Nov 3, 2020, 12:55 PM Ben Greear notifications@github.com wrote:

Maybe your system is just detecting radar and acting appropriately? Try using a non-dfs channel? Use smaller bandwidth in hopes that dodges whatever frequency DFS is detecting?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greearb/ath10k-ct/issues/169#issuecomment-721285210, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFNSCPEGH7X4FSWPYIJQLLSOA7XHANCNFSM4TGXGQHQ .

theAeon commented 3 years ago

Yeah. that was the issue. My bad.

jonozzz commented 3 years ago

@theAeon I'm having this exact same issue happening once in a blue moon on a similar hardware QCA9880. I have 3 mesh APs all on a non-DFS channel (149 in US) with 80Mhz width, running the latest Openwrt with the CT firmware. I'm not seeing that " hostapd: could not get valid channel" in my logs.

How did you conclude that it was a hostapd issue? Switching to auto channel selection is not an option for me in this case.

theAeon commented 3 years ago

If I remember correctly I needed to enable verbose logging for hostapd.

On Fri, Mar 26, 2021, 1:23 AM jonozzz @.***> wrote:

@theAeon https://github.com/theAeon I'm having this exact same issue happening once in a blue moon on a similar hardware QCA9880. I have 3 mesh APs all on a non-DFS channel (149 in US) with 80Mhz width, running the latest Openwrt with the CT firmware. I'm not seeing that " hostapd: could not get valid channel" in my logs.

How did you conclude that it was a hostapd issue? Switching to auto channel selection is not an option for me in this case.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/greearb/ath10k-ct/issues/169#issuecomment-807945132, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFNSCP7PLG6MWOX3QWLR23TFQK5NANCNFSM4TGXGQHQ .