It seems something has changed in the hardware. I have "Type: INTL"
I have already tried the following firmwares:
- custom compiled 19.07.0
- openwrt 19.07.0
- custom compiled 18.06.2
- custom compiled 17.02.4
I have tried these firmware on multiple (5+) old and new devices.
On newer hardware, wifi config only touches the /etc/config/wireless and
there is no configuration inside.
Below is the output on older hardware with 17.02.4, which has wifi working:
root@HBCC2DE061D01A:~# iw dev wlan0 info Interface wlan0 ifindex 6 wdev 0x1 addr cc:2d:e0:61:d0:25 type managed wiphy 0 txpower 20.00 dBm root@HBCC2DE061D01A:~# dmesg | grep ath [ 22.885162] ath: EEPROM regdomain: 0x0 [ 22.885182] ath: EEPROM indicates default country code should be used [ 22.885191] ath: doing EEPROM country->regdmn map search [ 22.885212] ath: country maps to regdmn code: 0x3a [ 22.885224] ath: Country alpha2 being used: US [ 22.885233] ath: Regpair used: 0x3a root@HBCC2DE061D01A:/sys/devices/platform# ls -1 ag71xx-mdio.1 ag71xx.0 ag71xx.1 alarmtimer ar934x-nfc ar934x_wmac ath79-gpio ath79-wdt ehci-platform leds-gpio regulatory.0 serial8250 serial8250.0 uevent
And below is the output on new hardware with 17.02.4:
root@OpenWrt:~# iw dev wlan0 info command failed: No such device (-19) root@OpenWrt:~# dmesg | grep ath root@OpenWrt:~# root@OpenWrt:/sys/devices/platform# ls -1 ag71xx-mdio.1 ag71xx.0 ag71xx.1 alarmtimer ar934x-nfc ath79-gpio ath79-wdt ehci-platform leds-gpio regulatory.0 serial8250 serial8250.0 uevent
Unloading or loading ath9k module adds following line to dmesg:
root@OpenWrt:~# dmesg | grep ath [ 1175.108742] ath9k: ath9k: Driver unloaded
The above behaviour is same with 19.07.0 on the new hardware.
I do not see ar934x_wmac in /sys/devices/platform on new hardware, but
it is present on older hardware.
Does anyone has a clue about what could be going on?
I have access to both the types of numerous devices, so I can provide
further debugging information as and when required.
Thanks in advance.