On Sat, 2017-12-30 at 17:31 +0200, Jouni Malinen wrote: > On Thu, Dec 28, 2017 at 01:33:26PM +0000, Avichal Agarwal wrote: > > I ran python scripts to test RRM on HWsimulator gave error : > > > > INFO Skip test case: Required RRM capabilities are not supported > > > > Driver status also shwos RRM not supported: > > That's not an error, but a notification that the kernel does not support > certain capabilities.. > > mac80211_hwsim does not support RRM. I've been using the following patch > to enable some additional testing coverage: > > diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c > index 10b075a..1d32047 100644 > --- a/drivers/net/wireless/mac80211_hwsim.c > +++ b/drivers/net/wireless/mac80211_hwsim.c > @@ -2590,7 +2590,9 @@ static int mac80211_hwsim_new_radio(struct genl_info *info, > NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE | > NL80211_FEATURE_STATIC_SMPS | > NL80211_FEATURE_DYNAMIC_SMPS | > - NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR; > + NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR | > + NL80211_FEATURE_QUIET | > + NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES; > wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS); We could implement those properly in hwsim I guess? johannes _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap