> -----Original Message----- > From: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> > Sent: Wednesday, December 14, 2022 1:30 AM > To: linux-wireless@xxxxxxxxxxxxxxx > Cc: Jes Sorensen <Jes.Sorensen@xxxxxxxxx>; Ping-Ke Shih <pkshih@xxxxxxxxxxx>; Andrea Merello > <andrea.merello@xxxxxxxxx>; Taehee Yoo <ap420073@xxxxxxxxx> > Subject: [PATCH v2 3/5] 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@xxxxxxxxx> Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> > --- > v2: > - Patch is new in v2. > --- > drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 3 +++ > drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188f.c | 4 ++-- > drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c | 4 ++-- > drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c | 4 ++-- > 4 files changed, 9 insertions(+), 6 deletions(-) > [...]