diff options
| author | Bitterblue Smith <rtl8821cerfe2@gmail.com> | 2022-12-17 16:15:23 +0200 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2022-12-21 20:51:39 +0200 |
| commit | b75289e89459083e42959bec1b0a7f62c6f99c60 (patch) | |
| tree | 0169863c7247ac900c8ccebc88edbdd99ad7c1a8 /tools/perf/scripts/python | |
| parent | wifi: rtl8xxxu: Make rtl8xxxu_load_firmware take const char* (diff) | |
| download | linux-b75289e89459083e42959bec1b0a7f62c6f99c60.tar.gz linux-b75289e89459083e42959bec1b0a7f62c6f99c60.zip | |
wifi: rtl8xxxu: Define masks for cck_agc_rpt bits
Define the constants CCK_AGC_RPT_LNA_IDX_MASK and
CCK_AGC_RPT_VGA_IDX_MASK instead of using the same literals
in four places.
And get the bits from cck_agc_rpt using u8_get_bits().
It's a cosmetic change only.
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/cfe79922-efdf-2ed0-7404-263915d19d82@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
