]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: use struct to fill H2C command to download beacon frame
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 8 Jan 2024 09:13:25 +0000 (17:13 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 12 Jan 2024 17:10:53 +0000 (19:10 +0200)
commit69466b979a72008022ee7c054b6123488eb00472
tree8e498607602a4f59ba0bd5225cb7e9ea226b9edb
parentc313c31ff40d6fe65570eaf237c8ba4428aeace6
wifi: rtw89: use struct to fill H2C command to download beacon frame

Download beacon frame via H2C command for AP mode, and then firmware can
issues beacon periodically. Originally TIM offset minus fixed 24 bytes of
frame header implicitly in macro, and this patch explicitly uses
ieee80211_hdrlen() to get header length, but expected to change nothing
at all.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240108091325.67424-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h