[lvc-project] [PATCH] wifi: mac80211: don't ask rate control with zero rate mask if scanning

Johannes Berg johannes at sipsolutions.net
Thu Jan 18 16:46:14 MSK 2024


On Wed, 2024-01-17 at 15:48 +0300, Dmitry Antipov wrote:
> If we're scanning and got the control frame with zero rate mask, drop
> the frame before '__rate_control_send_low()' getting stuck attempting
> to select supported rate.

But why drop the frame? I'm still thinking that it just doesn't really
make sense to apply the rate mask to scanning at all?

The most common use case for this is probably P2P-style things where you
just don't want to use CCK, but for scanning we have
NL80211_ATTR_TX_NO_CCK_RATE for this, so there's really no need to apply
the rate mask?

johannes




More information about the lvc-project mailing list