Score:0

My Intel Wireless "self-managed" into remote regdomain, how to enforce safe defaults?

in flag

Syslog contains about 10 of these lines per day on a Laptop, using WiFi hotspot from smartphone:

wpa_supplicant[]: wlp59s0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=UA
wpa_supplicant[]: wlp59s0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=RU
wpa_supplicant[]: wlp59s0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=WORLD
wpa_supplicant[]: wlp59s0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=US
wpa_supplicant[]: wlp59s0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=WORLD
wpa_supplicant[]: wlp59s0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=US
  • Should I worry about the device polluting unlicensed frequencies? (correct regdom: DE)
  • If so, can I force the card/driver/system go back to safe default?

Notable difference to existing question:

  • regardless of regulatory logged, connectivity is satisfactory
  • unlike others, the card does not reset to (one) vendor default, but multiple different


Diagnostics have been collected after attempting to work around using REGDOMAIN=DE and ieee80211_regdom=DE - with no observable difference:

# grep ^[^#] /etc/default/crda
REGDOMAIN=DE

# grep cfg80211 /etc/modprobe/local.conf
options cfg80211 ieee80211_regdom=DE

# iw reg get | grep "^\S"
global
country DE: DFS-ETSI
phy#0 (self-managed)
country UA: DFS-UNSET

# lspci -v | grep -i wireless
3b:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
Subsystem: Intel Corporation Dual Band Wireless-AC 8265

# uname -srimp
Linux 5.8.0-59-generic x86_64 x86_64 x86_64

# journalctl _TRANSPORT=kernel | grep -E '80211|iwlwifi'
10:08:16 kernel: iwlwifi 0000:3b:00.0: Applying debug destination EXTERNAL_DRAM
10:08:17 kernel: iwlwifi 0000:3b:00.0: Applying debug destination EXTERNAL_DRAM
10:08:17 kernel: iwlwifi 0000:3b:00.0: FW already configured (0) - re-configuring
10:09:42 kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database
10:09:42 kernel: cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
10:09:42 kernel: iwlwifi 0000:3b:00.0: Found debug destination: EXTERNAL_DRAM
10:09:42 kernel: iwlwifi 0000:3b:00.0: Found debug configuration: 0
10:09:42 kernel: iwlwifi 0000:3b:00.0: loaded firmware version 36.77d01142.0 8265-36.ucode op_mode iwlmvm
10:09:42 kernel: iwlwifi 0000:3b:00.0: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
10:09:42 kernel: iwlwifi 0000:3b:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
10:09:42 kernel: iwlwifi 0000:3b:00.0: Applying debug destination EXTERNAL_DRAM
10:09:42 kernel: iwlwifi 0000:3b:00.0: Allocated 0x00400000 bytes for firmware monitor.
10:09:42 kernel: iwlwifi 0000:3b:00.0: base HW address: 00:bb:60:80:2b:40
10:09:43 kernel: ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
10:09:43 kernel: iwlwifi 0000:3b:00.0 wlp59s0: renamed from wlan0
10:09:44 kernel: iwlwifi 0000:3b:00.0: Applying debug destination EXTERNAL_DRAM
10:09:44 kernel: iwlwifi 0000:3b:00.0: Applying debug destination EXTERNAL_DRAM
10:09:44 kernel: iwlwifi 0000:3b:00.0: FW already configured (0) - re-configuring

# grep -r . /sys/module/{iwl*,*80211*}/parameters/
/sys/module/iwlmvm/parameters/power_scheme:2
/sys/module/iwlmvm/parameters/init_dbg:N
/sys/module/iwlwifi/parameters/11n_disable:0
/sys/module/iwlwifi/parameters/power_save:N
/sys/module/iwlwifi/parameters/swcrypto:0
/sys/module/iwlwifi/parameters/power_level:0
/sys/module/iwlwifi/parameters/amsdu_size:0
/sys/module/iwlwifi/parameters/uapsd_disable:3
/sys/module/iwlwifi/parameters/fw_restart:Y
/sys/module/iwlwifi/parameters/led_mode:0
/sys/module/iwlwifi/parameters/disable_11ax:N
/sys/module/iwlwifi/parameters/enable_ini:Y
/sys/module/iwlwifi/parameters/disable_11ac:N
/sys/module/iwlwifi/parameters/bt_coex_active:Y
/sys/module/iwlwifi/parameters/remove_when_gone:N
/sys/module/iwlwifi/parameters/nvm_file:(null)
/sys/module/cfg80211/parameters/cfg80211_disable_40mhz_24ghz:N
/sys/module/cfg80211/parameters/ieee80211_regdom:DE
/sys/module/cfg80211/parameters/bss_entries_limit:1000
/sys/module/mac80211/parameters/probe_wait_ms:500
/sys/module/mac80211/parameters/ieee80211_default_rc_algo:minstrel_ht
/sys/module/mac80211/parameters/max_probe_tries:5
/sys/module/mac80211/parameters/minstrel_vht_only:Y
/sys/module/mac80211/parameters/max_nullfunc_tries:2
/sys/module/mac80211/parameters/beacon_loss_count:7

Update: The wireless-regdb 2021.08.28-0ubuntu1~20.04.1 upgrade coincided with a change to logged lines with init=DRIVER type=COUNTRY alpha2=FR (still incorrect, but different).

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.