Ezra Buehler <ezra@xxxxxxxx> wrote: > From: Ezra Buehler <ezra.buehler@xxxxxxxxxxxxxxxxxx> > > Without this change, e.g., "iw station dump" will show "tx bitrate: > (unknown)" when in AP mode. > > Signed-off-by: Ezra Buehler <ezra.buehler@xxxxxxxxxxxxxxxxxx> > --- > Note: The code was simply copied over from rtl8xxxu_bss_info_changed() The code seems to report the highest rate as initial (fake) TX rate. Please add a patch ahead that moves the code into an individual function but don't change existing logic. Then, this patch can use the function to get your expectation.