question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wireless: limit allowed channels for regulatory reasons

See original GitHub issue

Hi,

for regulatory reasons we need to limit the 5 GHz channels to 100 - 140.

Please add the hostap statement chanlist to L(UCI).

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
rennecommented, Sep 25, 2019

e.g. Germany:

Channel Frequency (GHz) Allowed EIRP (mW) Outdoor
36 5,180 200 No
40 5,200 200 No
44 5,220 200 No
48 5,240 200 No
52 5,260 200 No
56 5,280 200 No
60 5,300 200 No
64 5,320 200 No
100 5,500 1000 Yes
104 5,520 1000 Yes
108 5,540 1000 Yes
112 5,560 1000 Yes
116 5,580 1000 Yes
120 5,600 1000 Yes
124 5,620 1000 Yes
128 5,640 1000 Yes
132 5,660 1000 Yes
136 5,680 1000 Yes
140 5,700 1000 Yes
149 5,745 25 Yes
153 5,765 25 Yes
157 5,785 25 Yes
161 5,805 25 Yes
165 5,825 25 Yes
155-171 4000 Commercially licensed services only

The auto mode selects all channels between 36 and 149 which means you can only use 25 mW in auto mode.

The hostapd option chanlist allows to define allowed channels in auto mode (e.g. 36-64 or 100-140 or a list of channels e.g. 120,128,136). We would e.g. need to limit the operation to channels 100-140 for indoor/outdoor operation with 1000 mW EIRP.

I suggest to add an option Allowed channels in LUCI for 5 Ghz operation which converts to chanlist in the hostapd configuration.

The only dependency is to 5 GHz (802.11a/h/j/n/ac) mode.

0reactions
NilsRocommented, Sep 3, 2022

Also needed for DFS channel selection. Without hostap cannot jump to another channel on radar detection which switches of Wifi

    option channel 'auto'
    option channels '136, 140, 132, 116, 112, 108, 104, 100'

https://github.com/openwrt/openwrt/issues/9864

Read more comments on GitHub >

github_iconTop Results From Across the Web

Channel Bonding In WiFi: Rules And Regulations
The number of independent channels varied by country, but most regulatory domains allowed for at least three channels on the 2.4 GHz band...
Read more >
Regulatory Domain Rule Changes in Cisco Wireless Release ...
The UNII-1 band is added with channels 36, 40, 44, and 48. These channels have the same limitations as for the UNII-2 and...
Read more >
WLAN operating channels and frequencies - wifi-bond
5 GHz WLAN Channel selection​​ Australia's regulatory body (ACMA) states that channels 36-64 should be restricted for indoor use. Note 2: DFS = ......
Read more >
Channel Planning Best Practices for Better Wi-Fi - Ekahau
2.4 GHz Channel Overlap & Adjacent Channel Interference ... Without getting too deep on how wireless communication happens, when a station (Access ...
Read more >
en:developers:regulatory:processing_rules [Linux Wireless]
When a wiphy is registered to cfg80211 the effective set of permitted channels/maximum power is calculated for that device based on the current ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found