Leon Yen and Felix Fietkau
4b0df538fb
wifi: mt76: mt7925: fix tx power setting failure after chip reset
...
After the chip reset, the procedure to set the tx power will not be
successful because the previous region setting is still remains.
Clear the region setting during MAC initialization and allow it to be
reset to finalize the TX power setting.
Fixes: 3bc62aa4484d ("wifi: mt76: mt7925: add auto regdomain switch support")
Signed-off-by: Leon Yen <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2026-01-27 12:09:58 +00:00
Ming Yen Hsieh and Felix Fietkau
d7b059bba1
wifi: mt76: mt7925: disable auto regd changes after user set
...
Add regd_user flag to block automatic regulatory domain updates
if set by user.
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-11-06 11:22:39 +00:00
Ming Yen Hsieh and Felix Fietkau
c166c4a0e7
wifi: mt76: mt7925: add auto regdomain switch support
...
Implement 802.11d-based automatic regulatory domain switching to
dynamically determine the regulatory domain at runtime.
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-11-06 11:22:39 +00:00
Ming Yen Hsieh and Felix Fietkau
dac1d45fe9
wifi: mt76: mt7925: improve EHT capability control in regulatory flow
...
Move EHT flag handling into mt7925_regd_channel_update() to ensure
correct channel capability reporting.
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-11-06 11:22:39 +00:00
Ming Yen Hsieh and Felix Fietkau
588cc87bf6
wifi: mt76: mt7925: refactor regulatory notifier flow
...
Rename mt7925_regd_update() to mt7925_mcu_regd_update() to centralize
regd updates with error handling.
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-11-06 11:22:39 +00:00
Ming Yen Hsieh and Felix Fietkau
f0e8fe4414
wifi: mt76: mt7925: refactor CLC support check flow
...
Move the disable_clc module parameter to regd.c and introduce
mt7925_regd_clc_supported() to centralize CLC support checks.
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-11-06 11:22:39 +00:00
Ming Yen Hsieh and Felix Fietkau
0043147439
wifi: mt76: mt7925: refactor regulatory domain handling to regd.[ch]
...
Move regd logic to regd.c and regd.h files
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-11-06 11:22:39 +00:00