wifi: mt76: mt7925e: fix too long of wifi resume time

The mt7925e takes a long time to resume in platform resume
scenarios. This is due to the mt7925 reconfiguring the tx
power for each wifi channel during resume. By streamlining
the process and removing redundant power configurations,
the resume time for the mt7925 can be shortened.

Signed-off-by: Quan Zhou <[email protected]>
Link: https://patch.msgid.link/f075d43d87a5eefa5869baf755e9986edf735860.1735910836.git.quan.zhou@mediatek.com
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Quan Zhou
2025-01-13 11:16:33 +01:00
committed by Felix Fietkau
parent 5aacd0d73c
commit e86e97e453
4 changed files with 15 additions and 3 deletions
+2
View File
@@ -224,6 +224,8 @@ struct mt792x_dev {
bool aspm_supported:1;
bool hif_idle:1;
bool hif_resumed:1;
bool sar_inited:1;
bool regd_change:1;
wait_queue_head_t wait;
struct work_struct init_work;