[FS#3643] iwinfo returns bad data

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Fri Feb 26 06:46:51 EST 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - George Robinson (Goerge255) 

Attached to Project - OpenWrt/LEDE Project
Summary - iwinfo returns bad data
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - OpenWrt 19.07.7 r11306-c4a6851c72 / LuCI openwrt-19.07 branch git-21.054.03371-3b137b5
Device: Netgear R6120

Bad data returned by `iwinfo` for a wireless adapter connected via USB.



root at OpenWrt:~# iwinfo

wlan0     ESSID: "myssid0"
          Access Point: BA:AD:F0:0D:BA:AD
          Mode: Client  Channel: 9 (2.452 GHz)
          Tx-Power: 20 dBm  Link Quality: 51/70
          Signal: -59 dBm  Noise: unknown
          Bit Rate: 52.0 MBit/s
          Encryption: WPA2 PSK (TKIP, CCMP)
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: 14C3:7628 14C3:0004 [MediaTek MT76x8]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan1     ESSID: "myssid1"
          Access Point: BA:AD:F0:0D:BA:DD
          Mode: Client  Channel: 44 (5.220 GHz)
          Tx-Power: 20 dBm  Link Quality: 43/70
          Signal: -67 dBm  Noise: unknown
          Bit Rate: 54.0 MBit/s
          Encryption: WPA2 PSK (TKIP, CCMP)
          Type: nl80211  HW Mode(s): 802.11nac
          Hardware: 14C3:7662 14C3:7662 [MediaTek MT76x2E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

wlan2     ESSID: "myssid2"
          Access Point: BA:AA:AD:F0:00:0D
          Mode: Client  Channel: 9 (2.452 GHz)
          Tx-Power: 20 dBm  Link Quality: 56/70
          Signal: -54 dBm  Noise: unknown
          Bit Rate: 150.0 MBit/s
          Encryption: WPA2 PSK (TKIP, CCMP)
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: 14C3:7628 14C3:0004 [MediaTek MT76x8]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy2



Notice that the same `Hardware` line is returned for `wlan0` and `wlan2` despite different MAC addresses and different `PHY names`.

The wlan2 hardware is the ALFA AWUS036NHA and `lsusb' identifies it as:

root at OpenWrt:~# lsusb -v | grep ID

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



It is worth mentioning that the `wlan2` interface is fully functional.

 

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

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