wifi: rtw89: 8922a: add register definitions of H2C, C2H, page, RRSR and EDCCA
authorPing-Ke Shih <pkshih@realtek.com>
Sat, 20 Jan 2024 00:38:29 +0000 (08:38 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 23 Jan 2024 11:34:18 +0000 (13:34 +0200)
commitd2ff221579e5b281376e84ea9669115723b753b9
treef5c94aa612ed818182790573ea9882c2863a4dc8
parent10af16279a9a4aab4e6e5767c88cac9828d7ce48
wifi: rtw89: 8922a: add register definitions of H2C, C2H, page, RRSR and EDCCA

Firmware H2C commands and C2H events can go via registers, so define them
accordingly. The page registers are to arrange local buffer of WiFi chip.
RRSR is to define rate selection to transmit BA or ACK. EDCCA is to set
threshold of engine detection mechanism by BB hardware.

Like other chips, define these registers and we can share the same flow.

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