diff options
author | Zong-Zhe Yang <kevin_yang@realtek.com> | 2022-12-02 09:05:21 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-12-08 17:47:29 +0300 |
commit | 13eb07e0be1b95f1e1fab721fb0f38117edfe80b (patch) | |
tree | cf4be14f4a05856b5cc1c46dd7ece2f371ce7023 /drivers/vhost/net.c | |
parent | 3ddfe3bdd3cf199676737fbd8cb7878b962acd2a (diff) | |
download | linux-13eb07e0be1b95f1e1fab721fb0f38117edfe80b.tar.xz |
wifi: rtw89: request full firmware only once if it's early requested
Under some condition, we now have to do early request full firmware when
rtw89_early_fw_feature_recognize(). In this case, we can avoid requesting
full firmware twice during probing driver. So, we pass out full firmware
from rtw89_early_fw_feature_recognize() if it's requested successfully.
And then, if firmware is settled, we have no need to request full firmware
again during normal initizating flow.
Setting firmware flow is updated to be as the following.
platform | early recognizing | normally initizating
-----------------------------------------------------------------------
deny reading | request full FW | (no more FW requesting)
partial file | | (obtain FW from early pahse)
-----------------------------------------------------------------------
able to read | request partial FW | async request full FW
partial file | (quite small chunk) |
Signed-off-by: Zong-Zhe Yang <kevin_yang@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/20221202060521.501512-3-pkshih@realtek.com
Diffstat (limited to 'drivers/vhost/net.c')
0 files changed, 0 insertions, 0 deletions