Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow configuration of wlan radio bandwidth #2947

Open
skorpy2009 opened this issue Aug 26, 2023 · 2 comments
Open

allow configuration of wlan radio bandwidth #2947

skorpy2009 opened this issue Aug 26, 2023 · 2 comments

Comments

@skorpy2009
Copy link
Member

skorpy2009 commented Aug 26, 2023

While I can configure it on the device itself, currently only 20 MHz of channel bandwidth is used by Gluon and is not configurable per-band in the site configuration.

To achieve this, the site should be able to indicate the desired maximum bandwith (20/40/80/160) while Gluon should try to pair the widest supported channel bandwith with the most efficient HT-mode.

We mainly have to extend https://github.com/freifunk-gluon/gluon/blob/master/package/gluon-core/luasrc/lib/gluon/upgrade/200-wireless#L64 and update https://github.com/freifunk-gluon/gluon/blob/master/package/gluon-core/check_site.lua#L34

@rotanid rotanid changed the title Feature: allow configuration of wlan radio bandwidth allow configuration of wlan radio bandwidth Sep 6, 2023
@neocturne
Copy link
Member

I believe one of the issues here was that hostapd will automatically reduce the channel width to 20MHz whenever another BSSID on one of the extension channels is detected (which will always be the case for mesh nodes), unless the noscan option is set.

Maybe this can be changed to be handled separately for AP and mesh VIFs (or maybe something about this has already changed in the last years since I last looked at channel width handling).

@blocktrron
Copy link
Member

@neocturne The behavior you are referring to was limited to 2.4 GHz IIRC and does not apply to 5GHz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants