JB Tsai and Felix Fietkau
4fb4a07625
wifi: mt76: mt7921: disable auto regd changes after user set
...
Add regd_user flag to block automatic regulatory domain updates
if set by user.
Co-developed-by: Sean Wang <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Signed-off-by: JB Tsai <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2026-06-09 12:28:21 +02:00
JB Tsai and Felix Fietkau
06d1ccbecd
wifi: mt76: mt7921: add auto regdomain switch support
...
Implement 802.11d-based automatic regulatory domain switching to
dynamically determine the regulatory domain at runtime.
The scan-done event structure by reusing reserved padding and appending
new fields; the layout and values remains backward-compatible with
existing users.
Co-developed-by: Sean Wang <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Signed-off-by: JB Tsai <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2026-06-09 12:28:21 +02:00
JB Tsai and Felix Fietkau
cd3d2a68c9
wifi: mt76: mt7921: refactor regulatory notifier flow
...
Rename mt7921_regd_update() to mt7921_mcu_regd_update() to centralize
regd updates with error handling.
Co-developed-by: Sean Wang <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Signed-off-by: JB Tsai <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2026-06-09 12:28:21 +02:00
JB Tsai and Felix Fietkau
1ec0abf5d9
wifi: mt76: mt7921: refactor CLC support check flow
...
Move the disable_clc module parameter to regd.c and introduce
mt7921_regd_clc_supported() to centralize CLC support checks.
Co-developed-by: Sean Wang <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Signed-off-by: JB Tsai <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2026-06-09 12:28:21 +02:00
JB Tsai and Felix Fietkau
fc890d5b36
wifi: mt76: mt7921: refactor regulatory domain handling to regd.[ch]
...
Move regd logic to regd.c and regd.h files
Co-developed-by: Sean Wang <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Signed-off-by: JB Tsai <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2026-06-09 12:28:21 +02:00