kaloz / mwlwifi

mac80211 driver for the Marvell 88W8864 802.11ac chip
395 stars 119 forks source link

Don't list 160MHz channel width availability in Luci if the hardware doesn't support it #24

Closed jguerin closed 9 years ago

jguerin commented 9 years ago

Not sure whether this should become a bug against Luci, but the Wi-Fi config allows a user to select 160MHz on a WRT1900AC, even though the hardware itself doesn't support it. Is this something that the driver/package advertises to the interface? It seems to correctly report its capabilities in iw:

root@wrt1900ac-1:~# iw phy1 info
Wiphy phy1
        max # scan SSIDs: 4
        max scan IEs length: 2247 bytes
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
        Band 2:
..
                HT TX/RX MCS rate indexes supported: 0-23, 32
                VHT Capabilities (0x33981932):
                        Max MPDU length: 11454
                        Supported Channel Width: neither 160 nor 80+80
                        RX LDPC
                        short GI (80 MHz)
                        SU Beamformer
                        SU Beamformee
yuhhaurlin commented 9 years ago

Driver does not report capability of 160 MHz or 80+80 MHz.

jguerin commented 9 years ago

@yuhhaurlin I realised this, my question is why does the Luci interface think that it does?

yuhhaurlin commented 9 years ago

I have no idea about that.

jguerin commented 9 years ago

@kaloz any idea...?

gufus commented 9 years ago

It's a luci bug https://forum.openwrt.org/viewtopic.php?pid=275615#p275615

https://github.com/kaloz/mwlwifi/issues/18

Please close

jguerin commented 9 years ago

Roger, closing this one then.