Klingon
November 12, 2018, 5:27pm
1
Hi,
Running OpenWrt SNAPSHOT r8430-4d5b0ef in my Archer C2600, checking logs I could see:
Mon Nov 12 18:18:14 2018 user.notice mac80211: Failed command: iw phy phy0 set antenna all all
Mon Nov 12 18:18:14 2018 daemon.notice netifd: radio0 (660): command failed: Not supported (-95)
Mon Nov 12 18:18:14 2018 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Mon Nov 12 18:18:15 2018 user.notice mac80211: Failed command: iw phy phy1 set antenna all all
Mon Nov 12 18:18:15 2018 daemon.notice netifd: radio1 (661): command failed: Not supported (-95)
Mon Nov 12 18:18:15 2018 user.notice mac80211: Failed command: iw phy phy1 set distance 0
Mon Nov 12 18:18:15 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Mon Nov 12 18:18:15 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Wifi is working fine, but, any idea what's about this "failed" log?
Many Thanks,
mk24
November 12, 2018, 8:14pm
2
Antenna selection is generally not supported on MIMO devices. MIMO has fully independent signal processing which always works in parallel on all the antennas.
1 Like
Klingon
November 13, 2018, 10:36am
3
And why is trying to do it? It's a bug? Can I disable it in some way?
mk24
November 13, 2018, 1:15pm
4
If there are antenna settings in /etc/config/wireless, you should remove them.
Otherwise don't worry about it. It is only a warning not a fatal error.
2 Likes
Klingon
November 13, 2018, 3:05pm
5
Nothing in the wireless config file.
Thanks @mk24 for your help.
1 Like
The relevant code is found here:
The initial value "all" is replaced by 0xffffffff, and this is not an acceptable value for all devices.
Haven't got an idea how to fix this, though.
mk24
May 20, 2019, 7:59pm
7
As I understand it, the antenna setting is a bitmap. The setting of all ones means by default use all existing antennas. If some bit is set to zero, the driver will not use that antenna.
On some device where a setting of all ones is not proper, wouldn't you just put the appropriate rxantenna
or txantenna
setting in /etc/config/wireless?