From: Assaf Krauss Date: Thu, 10 Sep 2015 12:53:03 +0000 (+0300) Subject: scan: Add FTM info to scan results X-Git-Tag: v4.7~32 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d06cda9edaab32355de7cc20c238bf7b21e7fd9f;p=thirdparty%2Fiw.git scan: Add FTM info to scan results In each scan result, check station capabilities and report whether it is capable of acting as an FTM initiator, and whether it is capable if acting as an FTM responder. Signed-off-by: Assaf Krauss Signed-off-by: Johannes Berg --- diff --git a/scan.c b/scan.c index 8e75b81..8197679 100644 --- a/scan.c +++ b/scan.c @@ -1160,6 +1160,8 @@ static void print_capabilities(const uint8_t type, uint8_t len, const uint8_t *d CAPA(46, "WNM-Notification"); CAPA(47, "Reserved"); CAPA(48, "UTF-8 SSID"); + CAPA(70, "FTM Responder"); + CAPA(71, "FTM Initiator"); default: printf(" %d", bit); break;