diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2023-12-11 16:33:38 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-12-15 15:39:13 +0200 |
commit | cfb99433662c08f7e19f9c7a05d6e71607d81522 (patch) | |
tree | 680f23b2ee28d5c19bd368665351d6d18d78fc05 /kernel/bpf/helpers.c | |
parent | f20b2b7d3f1b1dd008955f42655d0620daf714a3 (diff) |
wifi: rtw89: mac: add flags to check if CMAC and DMAC are enabled
Before accessing CMAC and DMAC registers, we should ensure they have been
powered on, so add flag to determine the state. For old chips, we read
registers and check corresponding bit, but it takes extra cost to read.
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20231211083341.118047-4-pkshih@realtek.com
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions