From: Brian Norris Date: Wed, 14 Nov 2018 23:11:29 +0000 (-0800) Subject: iw: add FEATURE support for scan randomization X-Git-Tag: v5.0~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b2849e066c33d62e5555d7f2384e3291baebd99;p=thirdparty%2Fiw.git iw: add FEATURE support for scan randomization Signed-off-by: Brian Norris Signed-off-by: Johannes Berg --- diff --git a/info.c b/info.c index d0577e3..f1a25da 100644 --- a/info.c +++ b/info.c @@ -609,6 +609,12 @@ broken_combination: printf("\tDevice supports configuring vdev MAC-addr on create.\n"); if (features & NL80211_FEATURE_TDLS_CHANNEL_SWITCH) printf("\tDevice supports TDLS channel switching\n"); + if (features & NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR) + printf("\tDevice supports randomizing MAC-addr in scans.\n"); + if (features & NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR) + printf("\tDevice supports randomizing MAC-addr in sched scans.\n"); + if (features & NL80211_FEATURE_ND_RANDOM_MAC_ADDR) + printf("\tDevice supports randomizing MAC-addr in net-detect scans.\n"); } if (tb_msg[NL80211_ATTR_TDLS_SUPPORT])