On Linux (specificially Ubuntu) what's the easiest way to determine what types of Wifi protocols your hardware and driver support?
I have a router running DD-WRT that supports broadcasting in both a 2.4Ghz and 5Ghz wifi with network modes of either Mixed, BG-mixed, B-only, G-only, NG-only, N-only.
I have numerous wireless devices running Linux, from Android phones to networks to Macbooks, and I'm finding it difficult to set a configuration that supports everything. Setting it to broadcast both 2.4 and 5 in mixed mode seems to cover all devices, but also puts the most load on my router. So I tried only enabling 2.4 in mixed both, and everything could connect, but overall network performance was slow because there are tons of 2.4 networks in my area, causing lots of congestion.
When I tried enabling only 5Ghz in mixed mode, I found most of my older devices could not longer see the network, even though some of them have connected to 5Ghz networks at other locations. e.g. I have a Macbook that can connect to some 5Ghz networks, and its lspci shows:
03:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
but it's completely unable to detect my router's 5GHz network.
On a netbook, running
iwconfig wlan0 shows:
implying it should be able to access my router's 5 GHz mixed a/n network, but running
nmcli dev wifi list only shows 2.4 GHz networks. Why is this?
Is there some command I can run from the command line that will list all the frequencies and network modes supported by the current wifi driver, so I can find the optimal setting for my wireless router?