Wifi manual channel doubt

Hi everyone,

I have configured my 5 Ghz. wifi channel manually to 36:

I have no neighbours running in the same channel around me:

Once the wlan interface is up, is working in channel 40, not 36 as I manually set before:

Why is changing to channel 40 where there is nobody working in the same channel around me?
Any idea/suggestion?

Thanks for your help and time!!

Try setting the channel width to 40MHz, and see if it switches back to channel 40 as well.

Also, it might help to post the wifi config file (/etc/config/wireless, with any secret keys/passwords redacted).

1 Like

Hi,

The wifi config it's so simple:

root@AP-2610:/etc/config# uname -a
Linux AP-2610 5.4.50 #0 SMP Sat Jul 4 19:12:42 2020 armv7l GNU/Linux
root@AP-2610:/etc/config# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11g'
        option path 'platform/soc/a000000.wifi'
        option htmode 'HT20'
        option channel 'auto'
        option country 'ES'
        option legacy_rates '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'MyWifi'
        option encryption 'psk2'
        option key 'MyPassword'

config wifi-device 'radio1'
        option type 'mac80211'
        option hwmode '11a'
        option path 'platform/soc/a800000.wifi'
        option htmode 'VHT80'
        option country 'ES'
        option legacy_rates '0'
        option channel '36'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'MyWifi2'
        option encryption 'psk2'
        option key 'MyPassword2'

root@AP-2610:/etc/config#

I'll try to change width to 40 Mhz., but I prefer to stay in 80 Mhz.

Thanks,

With a 80MHz bandwidth, channel 36 goes in fact from 36 to 48, so it is just a different name for the same channel. See https://en.wikipedia.org/wiki/List_of_WLAN_channels?wprov=sfla1.

3 Likes

Shouldn't it be called 42 then?

See:

3 Likes

Yes, exactly so. Don't know about the logic of the channel names in these cases, but whatever...

But, since you will be chan 36-48 wide with 80mhz bandwidth... and, if that first, -64dbm station on chan 44, is one of your neighbors, you DO have someone "on the same channel", interfering with you (and you with them). So, going to 40mhz, on chan 36, would prevent the two of you from interfering with each other. And maybe you get better goodput and/or better datarate, due to less collisions and retrys, than you might have with the wider channel.

1 Like