linux/drivers/net/wireless/realtek/rtl8xxxu
Bitterblue Smith b75289e894 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
2022-12-21 20:51:39 +02:00
..
Kconfig wifi: rtl8xxxu: Update module description 2022-10-12 07:33:59 +03:00
Makefile wifi: rtl8xxxu: Support new chip RTL8188FU 2022-10-04 11:09:33 +03:00
rtl8xxxu_8188f.c wifi: rtl8xxxu: Define masks for cck_agc_rpt bits 2022-12-21 20:51:39 +02:00
rtl8xxxu_8192c.c wifi: rtl8xxxu: Make rtl8xxxu_load_firmware take const char* 2022-12-21 20:51:39 +02:00
rtl8xxxu_8192e.c wifi: rtl8xxxu: Define masks for cck_agc_rpt bits 2022-12-21 20:51:39 +02:00
rtl8xxxu_8723a.c wifi: rtl8xxxu: Make rtl8xxxu_load_firmware take const char* 2022-12-21 20:51:39 +02:00
rtl8xxxu_8723b.c wifi: rtl8xxxu: Define masks for cck_agc_rpt bits 2022-12-21 20:51:39 +02:00
rtl8xxxu_core.c wifi: rtl8xxxu: Make rtl8xxxu_load_firmware take const char* 2022-12-21 20:51:39 +02:00
rtl8xxxu_regs.h wifi: rtl8xxxu: Use u32_get_bits in *_identify_chip 2022-11-16 11:30:43 +02:00
rtl8xxxu.h wifi: rtl8xxxu: Define masks for cck_agc_rpt bits 2022-12-21 20:51:39 +02:00