Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > From: Shao-Fu Cheng <shaofu@xxxxxxxxxxx> > > By default the driver uses the 1M and 6M rate for managemnt frames > in 2G and 5G bands respectively. But when the basic rates is configured > from the mac80211, we need to send the management frames according the > basic rates. > > This commit makes the driver use the lowest basic rates to send > the management frames and a debufs entry to enable/disable force to use > the lowest rate 1M/6M for 2.4G/5G bands. > > obtain current setting > cat /sys/kernel/debug/ieee80211/phyX/rtw88/basic_rates > > force lowest rate: > echo 1 > /sys/kernel/debug/ieee80211/phyX/rtw88/basic_rates > > Signed-off-by: Shao-Fu Cheng <shaofu@xxxxxxxxxxx> > Signed-off-by: Yu-Yen Ting <steventing@xxxxxxxxxxx> > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Why is a debugfs interface needed? -- https://patchwork.kernel.org/project/linux-wireless/patch/20210319054218.3319-3-pkshih@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches