openwrt / mt76

mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
747 stars 341 forks source link

mt7621/mt7603e: station dump fails with 802.11s #512

Open yogo1212 opened 3 years ago

yogo1212 commented 3 years ago

:wave:

$ iw dev mesh24 station dump
failed to parse nested attributes!
failed to parse nested attributes!
$ iw dev mesh5 station dump
failed to parse nested attributes!
failed to parse nested attributes!

AP station dumps work.

Environment: openwrt from mid January (4a90fdf6105e1517897aac1b451b73a54b3d9d0d), late march (fbef8bba038f5aff755e383025f0a8b34879aa5c), and very late march (b8609066893a399b6aabe4df2e80eed52336fc69) using the built-in radios of a cudy WR2100 (mt7621,).

The configuration always being:

config wifi-iface 'mesh5'                        
        option ifname 'mesh5'                    
        option network 'mesh5' 
        option encryption 'psk2+ccmp'              
        option mesh_id 'nom'                       
        option bssid '02:BA:CC:11:55:90'
        option key ',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,'        
        option mode 'mesh'                         
        option mesh_fwding '0'          
        option mesh_ttl '1'
        option device 'radio5'

alongside an AP per radio.

In the version from January (4a90fdf6105e1517897aac1b451b73a54b3d9d0d), it would work on at least one radio from time to time. Just wifi and reboot until it worked (seemingly random pattern).

yogo1212 commented 3 years ago

@karlpip found this possibly related commit

it is included in the mt76 package for openwrt. but there is no noise in the station dump.

Survey data from mesh24_0
        frequency:                      2437 MHz [in use]
        channel active time:            51009580 ms
        channel busy time:              2816918 ms
        channel BSS receive time:       264 ms
        channel transmit time:          585 ms

if the noise isn't present there but the alleged fix is in this repo, there might be more discrepancy...

EDIT: brainfart. wrong driver. with the 5GHz-phy, there's noise in the report.

ptpt52 commented 3 years ago

same issue here on my 7613/7915

ryderlee1110 commented 3 years ago

https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit/?id=0ba98b9041e4e0f41ee72fa0fce9c43f8c6f2db3