linux/drivers
Ilan Peer f81aa834bf wifi: iwlwifi: mld: Move regulatory domain initialization
The regulatory domain information was initialized every time the
FW was loaded and the device was restarted. This was unnecessary
and useless as at this stage the wiphy channels information was
not setup yet so while the regulatory domain was set to the wiphy,
the channel information was not updated.

In case that a specific MCC was configured during FW initialization
then following updates with this MCC are ignored, and thus the
wiphy channels information is left with information not matching
the regulatory domain.

This commit moves the regulatory domain initialization to after the
operational firmware is started, i.e., after the wiphy channels were
configured and the regulatory information is needed.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250604061200.f138a7382093.I2fd8b3e99be13c2687da483e2cb1311ffb4fbfce@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
History 2025-06-04 19:07:21 +03:00
..
accel drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
accessibility treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
acpi arm64 updates for 6.16 2025-05-28 14:55:35 -07:00
amba iommu: Get DT/ACPI parsing into the proper probe path 2025-03-11 14:05:43 +01:00
android vfs-6.16-rc1.async.dir 2025-05-26 08:02:43 -07:00
ata ata: libata-scsi: Improve CDL control 2025-04-22 16:06:05 +09:00
atm treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
auxdisplay treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
base Power management updates for 6.16-rc1 2025-05-27 16:48:47 -07:00
bcma bcma: use new GPIO line value setter callbacks 2025-04-23 15:28:24 +02:00
block for-6.16/block-20250523 2025-05-26 11:39:36 -07:00
bluetooth Bluetooth: btintel: Check dsbr size from EFI variable 2025-05-22 13:06:28 -04:00
bus bus: moxtet: Switch to irq_domain_create_simple() 2025-05-16 21:06:08 +02:00
cache cache: StarFive: Require a 64-bit system 2024-08-01 07:15:02 -07:00
cdrom cdrom: Remove unnecessary NULL check before unregister_sysctl_table() 2025-05-15 16:25:20 -06:00
cdx Merge branches 'apple/dart', 'arm/smmu/updates', 'arm/smmu/bindings', 'rockchip', 's390', 'core', 'intel/vt-d' and 'amd/amd-vi' into next 2025-03-20 09:11:09 +01:00
char drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
clk Allwinner clk fixes for 6.15 2025-05-17 20:46:38 -07:00
clocksource Updates for clocksource/clockevent drivers: 2025-05-27 09:01:26 -07:00
comedi comedi: jr3_pci: Fix synchronous deletion of timer 2025-04-15 15:18:55 +02:00
connector connector/cn_proc: revert "connector: Fix proc_event_num_listeners count not cleared" 2024-02-13 11:15:44 +01:00
counter Char/Misc fixes for 6.15-rc1 2025-04-02 18:03:34 -07:00
cpufreq Power management updates for 6.16-rc1 2025-05-27 16:48:47 -07:00
cpuidle Power management updates for 6.16-rc1 2025-05-27 16:48:47 -07:00
crypto Core x86 updates for v6.16: 2025-05-26 16:04:17 -07:00
cxl cxl/core/regs.c: Skip Memory Space Enable check for RCD and RCH Ports 2025-04-21 08:30:13 -07:00
dax device/dax: properly refcount device dax pages when mapping 2025-03-17 22:06:41 -07:00
dca Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
devfreq PM / devfreq: rockchip-dfi: Switch to use hrtimer_setup() 2025-02-18 10:32:34 +01:00
dio dio: Have dio_bus_match() callback take a const * 2024-07-10 15:38:14 +02:00
dma Linux 6.15-rc7 2025-05-21 08:45:03 +02:00
dma-buf drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
dpll Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-03-20 21:38:01 +01:00
edac - ie31200: Add support for Raptor Lake-S and Alder Lake-S compute dies 2025-05-27 10:13:06 -07:00
eisa driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
extcon Update extcon next for v6.14 2025-01-12 13:44:27 +01:00
firewire treewide, timers: Rename destroy_timer_on_stack() as timer_destroy_on_stack() 2025-05-08 19:49:33 +02:00
firmware arm64 updates for 6.16 2025-05-28 14:55:35 -07:00
fpga fpga: tests: add module descriptions 2025-04-11 17:32:38 -07:00
fsi fsi: core: Use const 'struct bin_attribute' callbacks 2025-02-21 09:20:31 +01:00
fwctl fwctl: Fix repeated device word in log message 2025-04-11 20:47:45 -03:00
gnss [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
gpio gpio updates for v6.16-rc1 2025-05-27 15:22:01 -07:00
gpu drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
greybus treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
hid hid-for-linus-2025051501 2025-05-15 10:57:24 -07:00
hsi treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
hte treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
hv Including fixes from Bluetooth and wireless. 2025-05-15 10:40:49 -07:00
hwmon Merge branch 'x86/msr' into x86/core, to resolve conflicts 2025-05-13 10:42:06 +02:00
hwspinlock hwspinlock: Remove unused hwspin_lock_get_id() 2025-03-21 17:12:04 -05:00
hwtracing intel_th: avoid using deprecated page->mapping, index fields 2025-04-15 13:29:03 +02:00
i2c A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
i3c i3c: Add NULL pointer check in i3c_master_queue_ibi() 2025-03-31 11:44:00 +02:00
idle Power management updates for 6.16-rc1 2025-05-27 16:48:47 -07:00
iio A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
infiniband Networking changes for 6.16. 2025-05-28 15:24:36 -07:00
input Input updates for v6.15-rc7 2025-05-24 18:54:18 -07:00
interconnect interconnect changes for 6.14 2025-01-16 14:01:40 +01:00
iommu dma-mapping updates for Linux 6.16: 2025-05-27 20:09:06 -07:00
ipack driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
irqchip Another set of timer API cleanups: 2025-05-27 08:31:21 -07:00
isdn treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
leds treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
macintosh treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
mailbox mailbox: qcom-ipcc: Switch to irq_domain_create_tree() 2025-05-16 21:06:09 +02:00
mcb mcb: fix a double free bug in chameleon_parse_gdd() 2025-04-15 18:21:39 +02:00
md hardening updates for v6.16-rc1 2025-05-28 07:47:10 -07:00
media [GIT PULL for v6.16] media updates 2025-05-28 09:17:20 -07:00
memory spi: Updates for v6.16 2025-05-27 15:53:55 -07:00
memstick treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
message SCSI misc on 20250326 2025-03-26 19:57:34 -07:00
mfd gpio updates for v6.16-rc1 2025-05-27 15:22:01 -07:00
misc hardening updates for v6.16-rc1 2025-05-28 07:47:10 -07:00
mmc mmc: Merge branch fixes into next 2025-05-19 14:26:54 +02:00
most treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
mtd Linux 6.15-rc4 2025-05-02 09:43:44 +02:00
mux mux: gpio: use gpiod_multi_set_value_cansleep 2025-02-17 14:27:34 +01:00
net wifi: iwlwifi: mld: Move regulatory domain initialization 2025-06-04 19:07:21 +03:00
nfc nfc: Correct Samsung "Electronics" spelling in copyright headers 2025-05-21 20:31:18 -07:00
ntb NTB/msi: Switch MSI descriptor locking to lock guard() 2025-04-09 20:47:29 +02:00
nubus nubus: Make nubus_bus_type static and constant 2024-01-03 13:33:59 +01:00
nvdimm libnvdimm additions for 6.15 2025-04-02 20:27:18 -07:00
nvme Networking changes for 6.16. 2025-05-28 15:24:36 -07:00
nvmem gpio updates for v6.16-rc1 2025-05-27 15:22:01 -07:00
of Devicetree for v6.15: 2025-03-29 11:23:16 -07:00
opp OPP: switch to use kmemdup_array() 2025-05-19 15:37:53 +05:30
parisc parisc: led: Use scnprintf() to avoid string truncation warning 2025-03-09 22:27:54 +01:00
parport treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
pci dma-mapping updates for Linux 6.16: 2025-05-27 20:09:06 -07:00
pcmcia treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
peci module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
perf arm64 updates for 6.16 2025-05-28 14:55:35 -07:00
phy phy: Fix error handling in tegra_xusb_port_init 2025-05-14 12:28:43 +01:00
pinctrl ACPI updates for 6.16-rc1 2025-05-27 16:32:30 -07:00
platform drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
pmdomain pmdomain: ti: Fix STANDBY handling of PER power domain 2025-05-19 16:11:05 +02:00
pnp x86/platform/amd: Move the <asm/amd_nb.h> header to <asm/amd/nb.h> 2025-04-14 09:34:14 +02:00
power power: supply: rt9471: Simplify definition of some struct linear_range 2025-05-03 19:17:02 +02:00
powercap x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
pps pps: generators: tio: fix platform_set_drvdata() 2025-04-15 18:22:32 +02:00
ps3 ps3: Correct some typos in comments 2024-11-15 00:32:29 +11:00
ptp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-05-22 09:42:41 -07:00
pwm pwm: adp5585: make sure to include mod_devicetable.h 2025-05-19 18:07:39 +02:00
rapidio Linux 6.14-rc6 2025-03-10 17:37:25 +01:00
ras Linux 6.15-rc5 2025-05-06 10:00:58 +02:00
regulator regulator: Updates for v6.16 2025-05-27 15:49:58 -07:00
remoteproc remoteproc: qcom_wcnss: Fix on platforms without fallback regulators 2025-05-13 10:34:33 -05:00
reset remoteproc updates for v6.15 2025-03-29 17:18:50 -07:00
rpmsg driver core: Constify API device_find_child() and adapt for various usages 2025-01-03 11:19:35 +01:00
rtc treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
s390 Networking changes for 6.16. 2025-05-28 15:24:36 -07:00
sbus Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
scsi hardening updates for v6.16-rc1 2025-05-28 07:47:10 -07:00
sh sh: Switch to irq_domain_create_*() 2025-05-16 21:06:11 +02:00
siox Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
slimbus slimbus: messaging: Free transaction ID in delayed interrupt scenario 2025-02-20 15:19:51 +01:00
soc pwm: Changes for v6.16-rc1 2025-05-27 15:01:47 -07:00
soundwire soundwire fix for 6.15 2025-05-17 12:04:19 -07:00
spi spi: Updates for v6.16 2025-05-27 15:53:55 -07:00
spmi spmi: hisi-spmi-controller: Drop duplicated OF node assignment in spmi_controller_probe() 2025-01-17 12:58:49 +01:00
ssb irqdomain: ssb: Switch to irq_domain_create_linear() 2025-04-23 15:08:44 +02:00
staging [GIT PULL for v6.16] media updates 2025-05-28 09:17:20 -07:00
target net: core: Convert inet_addr_is_any() to sockaddr_storage 2025-05-27 08:25:42 +02:00
tc TC: Fix the wrong format specifier 2024-11-12 15:48:08 +01:00
tee tee: optee: Fix supplicant wait loop 2025-02-14 15:17:34 +01:00
thermal Thermal control updates for 6.16-rc1 2025-05-27 16:28:02 -07:00
thunderbolt USB/Thunderbolt update for 6.15-rc1 2025-04-02 18:23:31 -07:00
tty serial: sifive: lock port in startup()/shutdown() callbacks 2025-04-15 15:02:39 +02:00
ufs Updates for the MSI subsystem (core code and PCI): 2025-05-27 08:15:26 -07:00
uio uio_hv_generic: Fix sysfs creation path for ring buffer 2025-05-02 13:59:02 +02:00
usb Power management updates for 6.16-rc1 2025-05-27 16:48:47 -07:00
vdpa vduse: add virtio_fs to allowed dev id 2025-02-25 07:10:46 -05:00
vfio vfio/pci: Align huge faults to order 2025-05-06 12:59:12 -06:00
vhost vhost/net: Defer TX queue re-enable until after sendmsg 2025-05-05 18:18:41 -07:00
video drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
virt treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
virtio virtgpu: don't reset on shutdown 2025-04-18 10:05:49 -04:00
w1 w1: ds2406: use crc16() instead of crc16_byte() loop 2025-05-13 20:37:16 -07:00
watchdog hardening updates for v6.16-rc1 2025-05-28 07:47:10 -07:00
xen xen/x86: fix initial memory balloon target 2025-05-23 07:09:00 +02:00
zorro zorro: Constify 'struct bin_attribute' 2025-01-08 18:04:36 +01:00
Kconfig fwctl: Add basic structure for a class subsystem with a cdev 2025-03-06 15:11:30 -04:00
Makefile fwctl: Add basic structure for a class subsystem with a cdev 2025-03-06 15:11:30 -04:00