HWSIM: Required RRM capabilities are not supported
Jouni Malinen
j at w1.fi
Sat Dec 30 07:31:17 PST 2017
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);
/* ask mac80211 to reserve space for magic */
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list