Wireless config missing in RB951Ui-2HnD

It seems something has changed in the hardware. I have "Type: INTL"
devices here.

I have already tried the following firmwares:

  1. custom compiled 19.07.0
  2. openwrt 19.07.0
  3. custom compiled 18.06.2
  4. 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.

Bug Report already filed on Fly Spray.

MAC address of my device starts from 74:4D:28 as well.

# cat /proc/cpuinfo

Machine                 : MikroTik RouterBOARD 951Ui-2HnD
processor               : 0
cpu model               : MIPS 74Kc V4.12
BogoMIPS                : 299.82
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp dsp2
shadow register sets    : 1
kscratch registers      : 0
package                 : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

Pertinent line from dmesg:

[    0.000000] Kernel command line: benand_no_swecc=2 parts=1 boot_part_size=4194304 gpio=130619 HZ=300000000 mem=128M kmac=74:4D:28:F5:35:5E board=951HnD Board=951HnD board_rev=r2 ver=6.44.4 bver=6.43.2 hw_opt=00290005 boot=1 mlc=11 roo
tfstype=squashfs noinitrd

I have a box full of these devices (20 nos) ordered 2 weeks back. :cry:

This pull request has solved the problem for the new revision of the hardware.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.