diff options
author | Chin-Yen Lee <timlee@realtek.com> | 2022-08-19 14:48:07 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-09-02 11:35:51 +0300 |
commit | 48c0e34755a1fca1513ac4128ee179a7856d3ba4 (patch) | |
tree | 3175f4e35e62f5cc6a7fc69f5f2d90c5b91ba131 /drivers/net/wireless/realtek/rtw89/reg.h | |
parent | 08aa80777be9d5d4c9f93b0f727d304d9c9e8150 (diff) |
wifi: rtw89: add retry to change power_mode state
When starting to send heavy traffic in low power mode,
driver will call multiple tx wake notify to wake firmware
within a short time. In this situation, firmware may miss
power mode change request from driver and leads to status
error. So we change driver to call power_mode_change at most
three times to make sure firmware could get the request.
Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220819064811.37700-2-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw89/reg.h')
0 files changed, 0 insertions, 0 deletions