> -----Original Message----- > From: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> > Sent: Thursday, December 1, 2022 10:17 PM > To: linux-wireless@xxxxxxxxxxxxxxx > Cc: Jes Sorensen <Jes.Sorensen@xxxxxxxxx>; Ping-Ke Shih <pkshih@xxxxxxxxxxx> > Subject: [PATCH v4 3/3] wifi: rtl8xxxu: Introduce rtl8xxxu_update_ra_report > > The ra_report struct is used for reporting the TX rate via > sta_statistics. The code which fills it out is duplicated in two > places, and the RTL8188EU will need it in a third place. Move this > code into a new function rtl8xxxu_update_ra_report. > > Signed-off-by: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> > --- > v4: > - No change. > > v3: > - No change. > > v2: > - Compare against DESC_RATE_54M instead of DESC_RATE_MCS0. > --- [...]