]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: ps: refactor channel info to firmware before entering PS
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 6 Dec 2024 05:57:11 +0000 (13:57 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 12 Dec 2024 02:17:02 +0000 (10:17 +0800)
commit8c86036693a3c7e24008734f01109f14807e7347
tree9ba83cc19b16cd27ddf2f12a300bef1cfba0e26c
parent1015d61570802c7e0794585934d3bc5e09de743e
wifi: rtw89: ps: refactor channel info to firmware before entering PS

In PS mode, firmware needs hardware parameters related to channel info
to configure hardware itself. Before entering PS, driver prepares these
info to firmware via firmware H2C command.

Since firmware only consider PS for single one vif, change the argument
of entry function to rtwvif, and only consider first link for this old
H2C command that only support legacy.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241206055716.18598-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h
drivers/net/wireless/realtek/rtw89/ps.c