[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1104022: wireless-regdb: Consider importing setregdomain and udev rule from Fedora



Package: wireless-regdb
Version: 2025.02.20-1
Severity: wishlist
X-Debbugs-Cc: debian@voltagex.org

Dear Maintainer,

Fedora (and others?) have an additional script and udev rule as part of the wireless-regdb package
which attempts to set the wireless country code automatically.

See https://src.fedoraproject.org/rpms/wireless-regdb/tree/rawhide


   * What led up to the situation?
$ sudo iw reg get
global
country US: DFS-FCC
        (902 - 904 @ 2), (N/A, 30), (N/A)
        (904 - 920 @ 16), (N/A, 30), (N/A)
        (920 - 928 @ 8), (N/A, 30), (N/A)
        (2400 - 2472 @ 40), (N/A, 30), (N/A)
        (5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
        (5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
        (5470 - 5730 @ 160), (N/A, 24), (0 ms), DFS
        (5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW
        (5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, PASSIVE-SCAN
        (5925 - 7125 @ 320), (N/A, 12), (N/A), NO-OUTDOOR, PASSIVE-SCAN
        (57240 - 71000 @ 2160), (N/A, 40), (N/A)

I am not in the US and I belive this is contributing to some of my issues with wifi.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

"options cfg80211 ieee80211_regdom=AU" | sudo tee /etc/modprobe.d/mt7921.conf


   * What was the outcome of this action?
   * What outcome did you expect instead?
Wireless regulatory domain / country code to be set automatically


Regards,
Adam

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.22-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information


Reply to: