[PATCH] wireless-regdb: Update regulatory rules for Iran (IR) on both 2.4 and 5Ghz for 2019
Johannes Berg
johannes at sipsolutions.net
Mon Feb 17 23:40:23 PST 2025
On Tue, 2025-02-18 at 13:29 +0800, Chen-Yu Tsai wrote:
> There are NO-INDOOR and NO-OUTDOOR flags for the database. The kernel
> doesn't have a matching IEEE80211_CHAN_OUTDOOR_ONLY flag though.
> Maybe that should be added?
>
> Johannes, what do you think?
Good question. I guess we could have it, though I'm not sure we'd have
any mechanics to actually _use_ such a thing right now? Something, say
hostapd (?) would have to promise it's actually outdoors?
More information doesn't hurt and I don't mind adding it at all, but I
do think we'd probably not be able to use it at this time.
Or we could add it to the db.txt file but ignore it in parsing now and
skip the band for the binary for now?
The thing is I don't think we have a good way to say "older kernel skips
this range" - or perhaps we set the NO_IR flag so older kernel cannot
use it but then allow OUTDOOR_ONLY to override that given some
conditions?
johannes
More information about the wireless-regdb
mailing list