[FS#3856] Totolink x5000r - wifi autodetection incompatible with iwinfo/luci

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Fri Jun 11 09:52:16 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3856 - Totolink x5000r - wifi autodetection incompatible with iwinfo/luci
User who did this - Radosław Gancarz (rgrgrg)

----------
Snapshot r16925-b721579842 writes correct config:

config wifi-device 'radio0'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
        option channel '1'
        option band '2g'
        option htmode 'HE20'
        option disabled '1'

config wifi-device 'radio1'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1'
        option channel '36'
        option band '5g'
        option htmode 'HE80'
        option disabled '1'


iwinfo correctly parses it:


root at OpenWrt:/etc/config# iwinfo radio0 info
radio0    ESSID: unknown
          Access Point: 00:00:00:00:00:00
          Mode: Unknown  Channel: unknown (unknown)
          Center Channel 1: unknown 2: unknown
          Tx-Power: unknown  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11bgnax
          Hardware: 14C3:7915 14C3:7915 [MediaTek MT7915E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0
root at OpenWrt:/etc/config# iwinfo radio1 info
radio1    ESSID: unknown
          Access Point: 00:00:00:00:00:00
          Mode: Unknown  Channel: unknown (unknown)
          Center Channel 1: unknown 2: unknown
          Tx-Power: unknown  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11nacax
          Hardware: 14C3:7915 14C3:7915 [MediaTek MT7915E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1


Luci (git-21.160.71743-e3bf521) correctly sees configured channel but **ignores** 'option htmode HExx' for both radios (shows 'mode: legacy' for both radios, allows to choose AX and channel width from drop-down list and writes correct values to /etc/config/wireless when applying changes). HT and VHT modes are properly recognized.

Iwinfo returns htmodes which seem ok:


root at OpenWrt:/etc/config# iwinfo radio0 htmode
HT20 HT40 HE20 HE40
root at OpenWrt:/etc/config# iwinfo radio1 htmode
HT20 HT40 VHT20 VHT40 VHT80 HE20 HE40 HE80 HE80+80 HE160

I have no AX clients so I'm unable to test these modes anyway.
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3856#comment9797

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list