diff mbox series

[1/5] wifi: rtw89: 8852c: support firmware format up to v1

Message ID 20240805090028.27768-2-pkshih@realtek.com (mailing list archive)
State Accepted
Delegated to: Ping-Ke Shih
Headers show
Series wifi: rtw89: wow: support net-detect | expand

Commit Message

Ping-Ke Shih Aug. 5, 2024, 9 a.m. UTC
Driver has supported different WoWLAN reason code by commit 0e5210217768
("wifi: rtw89: wow: update WoWLAN reason register for different FW")
since firmware version 0.27.80.0. The old driver can't support two
kinds of WoWLAN reason, so increase firmware format to v1.

Also driver tables of BB and RF registers and power values will be added
into v1 format.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw89/rtw8852c.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Ping-Ke Shih Aug. 9, 2024, 1:04 a.m. UTC | #1
Ping-Ke Shih <pkshih@realtek.com> wrote:

> Driver has supported different WoWLAN reason code by commit 0e5210217768
> ("wifi: rtw89: wow: update WoWLAN reason register for different FW")
> since firmware version 0.27.80.0. The old driver can't support two
> kinds of WoWLAN reason, so increase firmware format to v1.
> 
> Also driver tables of BB and RF registers and power values will be added
> into v1 format.
> 
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

5 patch(es) applied to rtw-next branch of rtw.git, thanks.

45ae0e8cf8c7 wifi: rtw89: 8852c: support firmware format up to v1
0f683c2cf673 wifi: rtw89: wow: implement PS mode for net-detect
c0bc1bce12e4 wifi: rtw89: wow: add WoWLAN net-detect support
e99dd80c8a18 wifi: rtw89: wow: add delay option for net-detect
9fd284aaaead wifi: rtw89: wow: add net-detect support for 8852c

---
https://github.com/pkshih/rtw.git
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw89/rtw8852c.c b/drivers/net/wireless/realtek/rtw89/rtw8852c.c
index d9d7b3ff338a..244f50e72549 100644
--- a/drivers/net/wireless/realtek/rtw89/rtw8852c.c
+++ b/drivers/net/wireless/realtek/rtw89/rtw8852c.c
@@ -14,10 +14,10 @@ 
 #include "rtw8852c_table.h"
 #include "util.h"
 
-#define RTW8852C_FW_FORMAT_MAX 0
+#define RTW8852C_FW_FORMAT_MAX 1
 #define RTW8852C_FW_BASENAME "rtw89/rtw8852c_fw"
 #define RTW8852C_MODULE_FIRMWARE \
-	RTW8852C_FW_BASENAME ".bin"
+	RTW8852C_FW_BASENAME "-" __stringify(RTW8852C_FW_FORMAT_MAX) ".bin"
 
 static const struct rtw89_hfc_ch_cfg rtw8852c_hfc_chcfg_pcie[] = {
 	{13, 1614, grp_0}, /* ACH 0 */