diff options
| author | Bitterblue Smith <rtl8821cerfe2@gmail.com> | 2024-10-23 17:12:06 +0300 |
|---|---|---|
| committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-10-29 06:59:53 +0300 |
| commit | 82a617413e8545775ec03a1970809ac5f549ef32 (patch) | |
| tree | 8ab8f9afdb0ae5409f7c066dbd54455f190fa79d /rust/helpers/task.c | |
| parent | abb0f19492ba6289ffba6ec1057c0426240958af (diff) | |
| download | linux-82a617413e8545775ec03a1970809ac5f549ef32.tar.xz | |
wifi: rtw88: Support TX page sizes bigger than 128
All the chips supported so far have a TX page size of 128 bytes.
Change the type of the page_size member of struct rtw_chip_info from u8
to u16 in order to support RTL8821AU (page size of 256 bytes) and
RTL8812AU (page size of 512 bytes). Also change the types of several
related variables and function parameters from u8 to u16.
The TX page size is used, among other things, to construct the beacon,
null data, QOS null data, and PS poll templates which are uploaded to
the chip's reserved page. Each template needs to be aligned on a
multiple of the TX page size. Power saving can't work if the TX page
size is wrong.
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/acdefbb1-3daf-4349-9e03-9472754d5f1e@gmail.com
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
