Re: [OpenWrt-Devel] Broken WiFi on QCA9533 rev. 2

2019-11-05 Thread mail
g us out with this one. Best Adrian > -Original Message- > From: David Bauer [mailto:m...@david-bauer.net] > Sent: Dienstag, 5. November 2019 22:51 > To: Adrian Schmutzler > Cc: openwrt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] Broken WiFi on QCA953

Re: [OpenWrt-Devel] Broken WiFi on QCA9533 rev. 2

2019-11-05 Thread mail
Hi David, I've just tested with the dump approach: diff --git a/package/kernel/mac80211/patches/ath/552-ahb_of.patch b/package/kernel/mac80211/patches/ath/552-ahb_of.patch index 1170fc64bd..57647e16fd 100644 --- a/package/kernel/mac80211/patches/ath/552-ahb_of.patch +++ b/package/kernel/mac80211

Re: [OpenWrt-Devel] Broken WiFi on QCA9533 rev. 2

2019-11-05 Thread David Bauer
Hello Adrian, I've prepared the attached patch, can you check if the situation improved with it? Best wishes David On 11/5/19 5:20 PM, David Bauer wrote: > Hello Adrian, > > On 11/5/19 5:14 PM, Adrian Schmutzler wrote: >> Hi David, >> >> thanks for your response. >> >> To me it looks like qca9

Re: [OpenWrt-Devel] Broken WiFi on QCA9533 rev. 2

2019-11-05 Thread David Bauer
Hello Adrian, On 11/5/19 5:14 PM, Adrian Schmutzler wrote: > Hi David, > > thanks for your response. > > To me it looks like qca953x already uses 25 MHz clock, or am I looking at the > wrong value: Yes, however ath9k does not use this value but tries to determine the reference clock based on

Re: [OpenWrt-Devel] Broken WiFi on QCA9533 rev. 2

2019-11-05 Thread Adrian Schmutzler
Hi David, thanks for your response. To me it looks like qca953x already uses 25 MHz clock, or am I looking at the wrong value: https://github.com/openwrt/openwrt/blob/master/target/linux/ath79/dts/qca953x.dtsi#L27 Best Adrian On 5 November 2019 16:46:59 CET, David Bauer wrote: >Hello Adri

Re: [OpenWrt-Devel] Broken WiFi on QCA9533 rev. 2

2019-11-05 Thread David Bauer
Hello Adrian, during the CPE210v2 bringup it was discovered that the CPE210 has the wrong bootstrap option set for it's 25 MHz reference clock. Because of this, the device was originally not even booting with ar71xx. On ath79, the reference clock is not detected based on the bootstrap option,

[OpenWrt-Devel] Broken WiFi on QCA9533 rev. 2

2019-11-05 Thread Adrian Schmutzler
Hi, for quite some time already we are struggling with broken WiFi on some TP-Link CPE devices having QCA9533 rev. 2 (QCA9533-BL3A SOC) in common. I'd be happy on some help here, since I've exhausted my debugging capabilities. 1. Symptoms: WiFi looks up on the device, some TX traffic is shown