On Fri, Jan 20, 2023 at 05:49:33PM +0000, Jaewan Kim wrote: > This CL allows mac80211_hwsim to be configured with PMSR capability. > The capability is mandatory because nl80211_pmsr_start() ignores > incoming PMSR request if PMSR capability isn't set in the wiphy. > > This CL adds HWSIM_ATTR_PMSR_SUPPORT. > It can be used to set PMSR capability when creating a new radio. > To send extra details, HWSIM_ATTR_PMSR_SUPPORT can have nested > PMSR capability attributes defined in the nl80211.h. > Data format is the same as cfg80211_pmsr_capabilities. > > If HWSIM_ATTR_PMSR_SUPPORT is specified, mac80211_hwsim builds > cfg80211_pmsr_capabilities and sets wiphy.pmsr_capa. > > Signed-off-by: Jaewan Kim <jaewan@xxxxxxxxxx> > --- Always run scripts/checkpatch.pl on your submissions before sending them in so you do not get grumpy maintainers asking you why you did not run scripts/checkpatch.pl in your submission :(