kellyjonbrazil / jc

CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
MIT License
7.84k stars 203 forks source link

Feature request: iw dev DEVICE scan support #94

Closed pschmitt closed 3 years ago

pschmitt commented 3 years ago

Following up on the reddit discussion:

I recently implemented something similar in shell, specifically for the iw dev DEVICE scan command (where DEVICE is a wireless nic).

iw's output is notoriously painful to parse but that's no surprise since there's a clear warning when running the command that its output shouldn't be "screen scraped". In reality I haven't seen it change much over the years.

Here's an example of what iw dev DEVICE scan returns:

iw dev wlan0 scan ``` BSS ac:22:05:db:4d:5b(on wlan0) TSF: 212106552475 usec (2d, 10:55:06) freq: 2412 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime RadioMeasure (0x1411) signal: -57.00 dBm last seen: 3520 ms ago Information elements from Probe Response frame: SSID: Hoeheitsgebiet Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 1 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 1 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) Extended capabilities: HT Information Exchange Supported, BSS Transition BSS Load: * station count: 1 * channel utilisation: 103/255 * available admission capacity: 31250 [*32us] WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 327fd200-1dd2-11b2-8601-8e4aa01a9d4a * Manufacturer: Ralink Technology, Corp. * Model: Ralink Wireless Access Point * Model Number: RT2860 * Serial Number: 12345678 * Primary Device Type: 6-0050f204-1 * Device name: RalinkAPS * Config methods: * RF Bands: 0x1 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS 1c:b0:44:75:42:a5(on wlan0) TSF: 212108020750 usec (2d, 10:55:08) freq: 2457 beacon interval: 100 TUs capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431) signal: -70.00 dBm last seen: 2050 ms ago Information elements from Probe Response frame: SSID: o2-WLAN38 Supported rates: 9.0 18.0 36.0 54.0 1.0* 2.0 5.5 11.0 DS Parameter set: channel 10 Country: DE Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm Power constraint: 0 dB ERP: HT capabilities: Capabilities: 0x2c HT20 SM Power Save disabled RX HT20 SGI No RX STBC Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 32767 bytes (exponent: 0x002) Minimum RX AMPDU time spacing: 16 usec (0x07) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC MFP-capable (0x0080) * 0 PMKIDs * Group mgmt cipher suite: AES-128-CMAC Extended supported rates: 6.0 12.0 24.0 48.0 HT operation: * primary channel: 10 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Overlapping BSS scan params: * passive dwell: 20 TUs * active dwell: 10 TUs * channel width trigger scan interval: 300 s * scan passive total per channel: 200 TUs * scan active total per channel: 20 TUs * BSS width channel transition delay factor: 5 * OBSS Scan Activity Threshold: 100.00 % Extended capabilities: HT Information Exchange Supported WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: b0493afc-202d-11b2-8a5b-1cb0447542a5 * Manufacturer: Askey * Model: o2 HomeBox * Model Number: 6741 * Serial Number: A804016507-009096 * Primary Device Type: 6-0050f204-1 * Device name: o2 HomeBox 6741 * Config methods: Keypad * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS 34:2c:c4:34:3b:95(on wlan0) TSF: 212096913717 usec (2d, 10:54:56) freq: 2412 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime RadioMeasure (0x1411) signal: -77.00 dBm last seen: 13160 ms ago Information elements from Probe Response frame: SSID: Medusa_13 Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 1 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 1 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 0 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) Extended capabilities: HT Information Exchange Supported, BSS Transition BSS Load: * station count: 0 * channel utilisation: 90/255 * available admission capacity: 31250 [*32us] WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 314ea500-1dd2-11b2-8601-8e4aa01a9d4a * Manufacturer: Ralink Technology, Corp. * Model: Ralink Wireless Access Point * Model Number: RT2860 * Serial Number: 12345678 * Primary Device Type: 6-0050f204-1 * Device name: RalinkAPS * Config methods: * RF Bands: 0x1 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS ac:22:05:e6:ff:41(on wlan0) TSF: 212108270373 usec (2d, 10:55:08) freq: 2462 beacon interval: 100 TUs capability: ESS Privacy RadioMeasure (0x1011) signal: -41.00 dBm last seen: 1750 ms ago Information elements from Probe Response frame: SSID: UPCCDB29F5 Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 11 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 11 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) Extended capabilities: HT Information Exchange Supported, BSS Transition BSS Load: * station count: 3 * channel utilisation: 87/255 * available admission capacity: 31250 [*32us] WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 314ea500-1dd2-11b2-8601-8e4aa01a9d4a * Manufacturer: Ralink Technology, Corp. * Model: Ralink Wireless Access Point * Model Number: RT2860 * Serial Number: 12345678 * Primary Device Type: 6-0050f204-1 * Device name: RalinkAPS * Config methods: * RF Bands: 0x1 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS ac:22:05:e6:ff:24(on wlan0) -- associated TSF: 212107576616 usec (2d, 10:55:07) freq: 5180 beacon interval: 100 TUs capability: ESS Privacy ShortPreamble SpectrumMgmt ShortSlotTime RadioMeasure (0x1531) signal: -30.00 dBm last seen: 130 ms ago Information elements from Probe Response frame: SSID: UPCCDB29F5 Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 DS Parameter set: channel 36 Power constraint: 3 dB RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) HT capabilities: Capabilities: 0x6f RX LDPC HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI No RX STBC Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-23, 32 HT TX MCS rate indexes are undefined HT operation: * primary channel: 36 * secondary channel offset: above * STA channel width: any * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Extended capabilities: 6 VHT capabilities: VHT Capabilities (0x33827930): Max MPDU length: 3895 Supported Channel Width: neither 160 nor 80+80 RX LDPC short GI (80 MHz) SU Beamformer SU Beamformee RX antenna pattern consistency TX antenna pattern consistency VHT RX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 0 Mbps VHT TX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 0 Mbps VHT operation: * channel width: 1 (80 MHz) * center freq segment 1: 42 * center freq segment 2: 0 * VHT basic MCS set: 0xffc0 BSS Load: * station count: 3 * channel utilisation: 35/255 * available admission capacity: 30000 [*32us] WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP * Authentication suites: PSK WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 314ea500-1dd2-11b2-8601-8e4aa01a9d4a * Manufacturer: Marvell * Model: WAP * Model Number: 123 * Serial Number: 12345 * Primary Device Type: 6-0050f204-1 * Device name: 5G wireless AP * Config methods: * RF Bands: 0x2 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS a8:d3:f7:96:10:69(on wlan0) TSF: 212107440363 usec (2d, 10:55:07) freq: 2442 beacon interval: 100 TUs capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431) signal: -81.00 dBm last seen: 2630 ms ago Information elements from Probe Response frame: SSID: o2-WLAN34 Supported rates: 9.0 18.0 36.0 54.0 1.0* 2.0 5.5 11.0 DS Parameter set: channel 7 Country: DE Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm Power constraint: 0 dB ERP: HT capabilities: Capabilities: 0x2c HT20 SM Power Save disabled RX HT20 SGI No RX STBC Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 32767 bytes (exponent: 0x002) Minimum RX AMPDU time spacing: 16 usec (0x07) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) Extended supported rates: 6.0 12.0 24.0 48.0 HT operation: * primary channel: 7 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: nonmember * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Overlapping BSS scan params: * passive dwell: 20 TUs * active dwell: 10 TUs * channel width trigger scan interval: 300 s * scan passive total per channel: 200 TUs * scan active total per channel: 20 TUs * BSS width channel transition delay factor: 5 * OBSS Scan Activity Threshold: 100.00 % Extended capabilities: HT Information Exchange Supported WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 4e9bd57c-8ebe-46d8-aa04-cdd3994f7288 * Manufacturer: Arcadyan * Model: o2 HomeBox 6441 * Model Number: IAD 6441 * Serial Number: D512146595 * Primary Device Type: 6-0050f204-1 * Device name: D512146595-A8D3F7 * Config methods: * RF Bands: 0x3 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS 54:fa:3e:87:1f:93(on wlan0) TSF: 212108698335 usec (2d, 10:55:08) freq: 2472 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime APSD (0x0c11) signal: -72.00 dBm last seen: 1310 ms ago Information elements from Probe Response frame: SSID: moin moin Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 13 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 HT capabilities: Capabilities: 0x1ec HT20 SM Power Save disabled RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: No restriction (0x00) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 13 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec BSS Load: * station count: 1 * channel utilisation: 26/255 * available admission capacity: 31250 [*32us] Extended capabilities: HT Information Exchange Supported Country: DE Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: bc329e00-1dd8-11b2-8601-54fa3e871f93 * Manufacturer: Celeno Communication, Inc. * Model: Celeno Wireless AP 2.4G * Model Number: CL1800 * Serial Number: 12345678 * Primary Device Type: 6-0050f204-1 * Device name: CelenoAP2.4G * Config methods: Display, PBC, Keypad * RF Bands: 0x1 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS ae:22:15:db:4d:5b(on wlan0) TSF: 212106562854 usec (2d, 10:55:06) freq: 2412 beacon interval: 100 TUs capability: ESS ShortSlotTime RadioMeasure (0x1401) signal: -57.00 dBm last seen: 3510 ms ago Information elements from Probe Response frame: SSID: Vodafone Hotspot Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 1 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 1 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Extended capabilities: HT Information Exchange Supported, BSS Transition BSS Load: * station count: 1 * channel utilisation: 103/255 * available admission capacity: 31250 [*32us] WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm BSS 90:5c:44:d1:34:2f(on wlan0) TSF: 212107263738 usec (2d, 10:55:07) freq: 2437 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime RadioMeasure (0x1411) signal: -53.00 dBm last seen: 2810 ms ago SSID: UPC5144FAF Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 6 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 6 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: non-HT mixed * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) Extended capabilities: HT Information Exchange Supported, BSS Transition BSS Load: * station count: 1 * channel utilisation: 109/255 * available admission capacity: 31250 [*32us] WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 30b60e80-1dd2-11b2-8601-8e4aa01a9d4a * Manufacturer: Ralink Technology, Corp. * Model: Ralink Wireless Access Point * Model Number: RT2860 * Serial Number: 12345678 * Primary Device Type: 6-0050f204-1 * Device name: RalinkAPS * Config methods: * RF Bands: 0x1 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS 92:5c:14:d1:34:2f(on wlan0) TSF: 212107270871 usec (2d, 10:55:07) freq: 2437 beacon interval: 100 TUs capability: ESS ShortSlotTime RadioMeasure (0x1401) signal: -53.00 dBm last seen: 2800 ms ago Information elements from Probe Response frame: SSID: Vodafone Hotspot Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 6 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 6 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: non-HT mixed * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Extended capabilities: HT Information Exchange Supported, BSS Transition BSS Load: * station count: 1 * channel utilisation: 109/255 * available admission capacity: 31250 [*32us] WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm BSS 36:2c:b4:34:3b:95(on wlan0) TSF: 212075883822 usec (2d, 10:54:35) freq: 2412 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime RadioMeasure (0x1411) signal: -77.00 dBm last seen: 13150 ms ago Information elements from Probe Response frame: SSID: Gast_Medusa_13 Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 1 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 1 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 0 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) Extended capabilities: HT Information Exchange Supported, BSS Transition BSS Load: * station count: 0 * channel utilisation: 94/255 * available admission capacity: 31250 [*32us] WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm BSS fe:49:2d:20:d8:21(on wlan0) TSF: 212080903764 usec (2d, 10:54:40) freq: 2412 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime (0x0411) signal: -67.00 dBm last seen: 29170 ms ago Information elements from Probe Response frame: SSID: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 DS Parameter set: channel 1 TIM: DTIM Count 1 DTIM Period 2 Bitmap Control 0x0 Bitmap[0] 0x0 ERP: RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c) HT capabilities: Capabilities: 0x1ad RX LDPC HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 1 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 1 * HT protection: no * non-GF present: 0 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Extended capabilities: Extended Channel Switching WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 * Device name: Marion,Laura,Larissas Fire TV... * Primary Device Type: 1-0050f204-9 WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec P2P: * Group capa: 0x25, Device capa: 0xab * Unknown TLV (0x03, 6 bytes): 49 2d 20 58 21 dd BSS 90:5c:44:db:21:48(on wlan0) TSF: 212077364612 usec (2d, 10:54:37) freq: 2462 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime RadioMeasure (0x1411) signal: -76.00 dBm last seen: 27640 ms ago Information elements from Probe Response frame: SSID: UPC614F5E5 Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 11 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 11 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) Extended capabilities: HT Information Exchange Supported, BSS Transition BSS Load: * station count: 1 * channel utilisation: 100/255 * available admission capacity: 31250 [*32us] WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 314ea500-1dd2-11b2-8601-8e4aa01a9d4a * Manufacturer: Ralink Technology, Corp. * Model: Ralink Wireless Access Point * Model Number: RT2860 * Serial Number: 12345678 * Primary Device Type: 6-0050f204-1 * Device name: RalinkAPS * Config methods: * RF Bands: 0x1 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS ae:22:15:e6:ff:41(on wlan0) TSF: 212108278788 usec (2d, 10:55:08) freq: 2462 beacon interval: 100 TUs capability: ESS RadioMeasure (0x1001) signal: -40.00 dBm last seen: 1740 ms ago Information elements from Probe Response frame: SSID: Vodafone Hotspot Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 11 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 11 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Extended capabilities: HT Information Exchange Supported, BSS Transition BSS Load: * station count: 3 * channel utilisation: 87/255 * available admission capacity: 31250 [*32us] WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm BSS 34:31:c4:b8:2e:85(on wlan0) TSF: 212081672689 usec (2d, 10:54:41) freq: 2437 beacon interval: 100 TUs capability: ESS Privacy ShortPreamble ShortSlotTime RadioMeasure (0x1431) signal: -83.00 dBm last seen: 28400 ms ago Information elements from Probe Response frame: SSID: Nexus Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0* 9.0 12.0* 18.0 DS Parameter set: channel 6 TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0 (+ 1 octet) Country: DE Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm ERP: Extended supported rates: 24.0* 36.0 48.0 54.0 BSS Load: * station count: 13 * channel utilisation: 74/255 * available admission capacity: 0 [*32us] HT capabilities: Capabilities: 0x1ad RX LDPC HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 8 usec (0x06) HT TX/RX MCS rate indexes supported: 0-23 HT operation: * primary channel: 6 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: nonmember * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Overlapping BSS scan params: * passive dwell: 20 TUs * active dwell: 10 TUs * channel width trigger scan interval: 300 s * scan passive total per channel: 200 TUs * scan active total per channel: 20 TUs * BSS width channel transition delay factor: 5 * OBSS Scan Activity Threshold: 0.25 % Extended capabilities: HT Information Exchange Supported, Extended Channel Switching, TFS, WNM-Sleep Mode, TIM Broadcast, BSS Transition, 6 WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * RF Bands: 0x3 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK 00-0f-ac:8 * Capabilities: 1-PTKSA-RC 1-GTKSA-RC MFP-capable (0x0080) BSS 92:5c:14:db:21:48(on wlan0) TSF: 212098644532 usec (2d, 10:54:58) freq: 2462 beacon interval: 100 TUs capability: ESS ShortSlotTime RadioMeasure (0x1401) signal: -71.00 dBm last seen: 11430 ms ago Information elements from Probe Response frame: SSID: Vodafone Hotspot Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 11 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 11 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Extended capabilities: HT Information Exchange Supported, BSS Transition BSS Load: * station count: 1 * channel utilisation: 111/255 * available admission capacity: 31250 [*32us] WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm BSS 9c:80:df:31:03:a4(on wlan0) TSF: 212082583134 usec (2d, 10:54:42) freq: 2467 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime (0x0411) signal: -87.00 dBm last seen: 27490 ms ago Information elements from Probe Response frame: SSID: o2-WLAN84 Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 12 Extended supported rates: 6.0 12.0 24.0 48.0 Country: DE Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0 ERP: Barker_Preamble_Mode HT capabilities: Capabilities: 0x106e HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI No RX STBC Max AMSDU length: 3839 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15, 32 HT TX MCS rate indexes are undefined HT operation: * primary channel: 12 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: 20 MHz * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Extended capabilities: HT Information Exchange Supported Overlapping BSS scan params: * passive dwell: 20 TUs * active dwell: 10 TUs * channel width trigger scan interval: 300 s * scan passive total per channel: 200 TUs * scan active total per channel: 20 TUs * BSS width channel transition delay factor: 5 * OBSS Scan Activity Threshold: 0.25 % RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: PreAuth 1-PTKSA-RC 1-GTKSA-RC (0x0001) WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec BSS Load: * station count: 768 * channel utilisation: 33/255 * available admission capacity: 4730 [*32us] BSS 36:2c:94:34:3b:95(on wlan0) TSF: 212096926483 usec (2d, 10:54:56) freq: 2412 beacon interval: 100 TUs capability: ESS ShortSlotTime RadioMeasure (0x1401) signal: -84.00 dBm last seen: 13150 ms ago SSID: Vodafone Hotspot Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 1 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 1 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 0 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Extended capabilities: HT Information Exchange Supported, BSS Transition BSS Load: * station count: 0 * channel utilisation: 90/255 * available admission capacity: 31250 [*32us] WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm BSS 38:43:7d:1c:95:e6(on wlan0) TSF: 212097695148 usec (2d, 10:54:57) freq: 2437 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime RadioMeasure (0x1411) signal: -83.00 dBm last seen: 12380 ms ago Information elements from Probe Response frame: SSID: UPCB45EF15 Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 6 Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * UUID: 30b60e80-1dd2-11b2-8601-8e4aa01a9d4a * RF Bands: 0x1 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 ERP: Barker_Preamble_Mode HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 6 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Extended capabilities: HT Information Exchange Supported, BSS Transition WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec BSS Load: * station count: 1 * channel utilisation: 86/255 * available admission capacity: 31250 [*32us] BSS 90:5c:44:db:21:33(on wlan0) TSF: 212107555845 usec (2d, 10:55:07) freq: 5180 beacon interval: 100 TUs capability: ESS Privacy ShortPreamble SpectrumMgmt ShortSlotTime RadioMeasure (0x1531) signal: -88.00 dBm last seen: 2510 ms ago Information elements from Probe Response frame: SSID: UPC614F5E5 Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 DS Parameter set: channel 36 Power constraint: 3 dB RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) HT capabilities: Capabilities: 0x6f RX LDPC HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI No RX STBC Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-23, 32 HT TX MCS rate indexes are undefined HT operation: * primary channel: 36 * secondary channel offset: above * STA channel width: any * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Extended capabilities: 6 VHT capabilities: VHT Capabilities (0x33827930): Max MPDU length: 3895 Supported Channel Width: neither 160 nor 80+80 RX LDPC short GI (80 MHz) SU Beamformer SU Beamformee RX antenna pattern consistency TX antenna pattern consistency VHT RX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 0 Mbps VHT TX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 0 Mbps VHT operation: * channel width: 1 (80 MHz) * center freq segment 1: 42 * center freq segment 2: 0 * VHT basic MCS set: 0xffc0 BSS Load: * station count: 2 * channel utilisation: 54/255 * available admission capacity: 30000 [*32us] WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP * Authentication suites: PSK WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 314ea500-1dd2-11b2-8601-8e4aa01a9d4a * Manufacturer: Marvell * Model: WAP * Model Number: 123 * Serial Number: 12345 * Primary Device Type: 6-0050f204-1 * Device name: 5G wireless AP * Config methods: * RF Bands: 0x2 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS a8:d3:f7:96:10:6d(on wlan0) TSF: 212107799783 usec (2d, 10:55:07) freq: 5200 beacon interval: 100 TUs capability: ESS Privacy SpectrumMgmt ShortSlotTime (0x0511) signal: -88.00 dBm last seen: 2260 ms ago Information elements from Probe Response frame: SSID: o2-WLAN34 Supported rates: 6.0* 9.0 12.0* 18.0 24.0 36.0 48.0 54.0 DS Parameter set: channel 40 Country: DE Environment: Indoor/Outdoor Channels [36 - 36] @ 23 dBm Channels [40 - 40] @ 23 dBm Channels [44 - 44] @ 23 dBm Channels [48 - 48] @ 23 dBm Power constraint: 0 dB HT capabilities: Capabilities: 0x86f RX LDPC HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI No RX STBC Max AMSDU length: 7935 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT TX/RX MCS rate indexes supported: 0-31, 33-76 HT operation: * primary channel: 40 * secondary channel offset: below * STA channel width: any * RIFS: 0 * HT protection: nonmember * non-GF present: 1 * OBSS non-GF present: 1 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) Extended capabilities: HT Information Exchange Supported, SSID List, 6 WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 4e9bd57c-8ebe-46d8-aa04-cdd3994f7288 * Manufacturer: Quantenna * Model: Topaz * Model Number: QV840.432 * Serial Number: A8D3F796106D * Primary Device Type: 6-0050f204-1 * Device name: Reference Design * Config methods: * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 VHT capabilities: VHT Capabilities (0x3fcb7832): Max MPDU length: 11454 Supported Channel Width: neither 160 nor 80+80 RX LDPC short GI (80 MHz) SU Beamformer SU Beamformee MU Beamformer +HTC-VHT RX antenna pattern consistency TX antenna pattern consistency VHT RX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: MCS 0-9 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 0 Mbps VHT TX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: MCS 0-9 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 0 Mbps VHT operation: * channel width: 1 (80 MHz) * center freq segment 1: 42 * center freq segment 2: 0 * VHT basic MCS set: 0xfffc BSS 90:5c:44:d1:34:20(on wlan0) TSF: 212108016406 usec (2d, 10:55:08) freq: 5220 beacon interval: 100 TUs capability: ESS Privacy ShortPreamble SpectrumMgmt ShortSlotTime RadioMeasure (0x1531) signal: -46.00 dBm last seen: 2060 ms ago Information elements from Probe Response frame: SSID: UPC5144FAF Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 DS Parameter set: channel 44 Power constraint: 3 dB RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) HT capabilities: Capabilities: 0x6f RX LDPC HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI No RX STBC Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-23, 32 HT TX MCS rate indexes are undefined HT operation: * primary channel: 44 * secondary channel offset: above * STA channel width: any * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Extended capabilities: 6 VHT capabilities: VHT Capabilities (0x33827930): Max MPDU length: 3895 Supported Channel Width: neither 160 nor 80+80 RX LDPC short GI (80 MHz) SU Beamformer SU Beamformee RX antenna pattern consistency TX antenna pattern consistency VHT RX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 0 Mbps VHT TX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 0 Mbps VHT operation: * channel width: 1 (80 MHz) * center freq segment 1: 42 * center freq segment 2: 0 * VHT basic MCS set: 0xffc0 BSS Load: * station count: 1 * channel utilisation: 33/255 * available admission capacity: 30000 [*32us] WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP * Authentication suites: PSK WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 30b60e80-1dd2-11b2-8601-8e4aa01a9d4a * Manufacturer: Marvell * Model: WAP * Model Number: 123 * Serial Number: 12345 * Primary Device Type: 6-0050f204-1 * Device name: 5G wireless AP * Config methods: * RF Bands: 0x2 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS ac:22:05:db:4d:22(on wlan0) TSF: 212108018921 usec (2d, 10:55:08) freq: 5220 beacon interval: 100 TUs capability: ESS Privacy ShortPreamble SpectrumMgmt ShortSlotTime RadioMeasure (0x1531) signal: -68.00 dBm last seen: 2020 ms ago Information elements from Probe Response frame: SSID: Hoeheitsgebiet Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 DS Parameter set: channel 44 Power constraint: 3 dB RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) HT capabilities: Capabilities: 0x6f RX LDPC HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI No RX STBC Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-23, 32 HT TX MCS rate indexes are undefined HT operation: * primary channel: 44 * secondary channel offset: above * STA channel width: any * RIFS: 0 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Extended capabilities: 6 VHT capabilities: VHT Capabilities (0x33827930): Max MPDU length: 3895 Supported Channel Width: neither 160 nor 80+80 RX LDPC short GI (80 MHz) SU Beamformer SU Beamformee RX antenna pattern consistency TX antenna pattern consistency VHT RX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 0 Mbps VHT TX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 0 Mbps VHT operation: * channel width: 1 (80 MHz) * center freq segment 1: 42 * center freq segment 2: 0 * VHT basic MCS set: 0xffc0 BSS Load: * station count: 4 * channel utilisation: 43/255 * available admission capacity: 30000 [*32us] WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP * Authentication suites: PSK WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 327fd200-1dd2-11b2-8601-8e4aa01a9d4a * Manufacturer: Marvell * Model: WAP * Model Number: 123 * Serial Number: 12345 * Primary Device Type: 6-0050f204-1 * Device name: 5G wireless AP * Config methods: * RF Bands: 0x2 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS 54:67:51:2c:3d:0a(on wlan0) TSF: 212108254184 usec (2d, 10:55:08) freq: 2462 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime RadioMeasure (0x1411) signal: -80.00 dBm last seen: 1820 ms ago Information elements from Probe Response frame: SSID: UPC956E146 Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 11 ERP: Barker_Preamble_Mode Extended supported rates: 6.0 12.0 24.0 48.0 Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 20 dBm HT capabilities: Capabilities: 0x1ac HT20 SM Power Save disabled RX HT20 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 11 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 0 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) Extended capabilities: HT Information Exchange Supported, BSS Transition BSS Load: * station count: 0 * channel utilisation: 93/255 * available admission capacity: 31250 [*32us] WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Country: EU Environment: Indoor/Outdoor Channels [1 - 13] @ 16 dBm WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 314ea500-1dd2-11b2-8601-8e4aa01a9d4a * Manufacturer: Ralink Technology, Corp. * Model: Ralink Wireless Access Point * Model Number: RT2860 * Serial Number: 12345678 * Primary Device Type: 6-0050f204-1 * Device name: RalinkAPS * Config methods: * RF Bands: 0x1 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS 74:31:70:75:f1:e2(on wlan0) TSF: 212098649788 usec (2d, 10:54:58) freq: 2462 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime (0x0411) signal: -80.00 dBm last seen: 11420 ms ago Information elements from Probe Response frame: SSID: WLAN-75F122 Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0 DS Parameter set: channel 11 ERP: ERP D4.0: RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) Extended supported rates: 6.0 9.0 12.0 48.0 HT capabilities: Capabilities: 0x186c HT20 SM Power Save disabled RX HT20 SGI RX HT40 SGI No RX STBC Max AMSDU length: 7935 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 16 usec (0x07) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 11 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 1 * HT protection: no * non-GF present: 1 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Overlapping BSS scan params: * passive dwell: 20 TUs * active dwell: 10 TUs * channel width trigger scan interval: 300 s * scan passive total per channel: 200 TUs * scan active total per channel: 20 TUs * BSS width channel transition delay factor: 5 * OBSS Scan Activity Threshold: 0.25 % Extended capabilities: HT Information Exchange Supported WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Selected Registrar: 0x0 * Response Type: 3 (AP) * UUID: 00000000-0000-0003-0000-74317075f1e2 * Manufacturer: Corporation * Model: VGV8539JW * Model Number: 1.47.000 * Serial Number: J144024542 * Primary Device Type: 6-0050f204-1 * Device name: Wireless Router(WFA) * Config methods: Label, PBC * RF Bands: 0x3 BSS 1c:b0:44:75:42:a8(on wlan0) TSF: 212108018214 usec (2d, 10:55:08) freq: 5220 beacon interval: 100 TUs capability: ESS Privacy SpectrumMgmt ShortSlotTime (0x0511) signal: -89.00 dBm last seen: 2060 ms ago SSID: o2-WLAN38 Supported rates: 6.0* 9.0 12.0* 18.0 24.0 36.0 48.0 54.0 DS Parameter set: channel 44 BSS Load: * station count: 5 * channel utilisation: 55/255 * available admission capacity: 65535 [*32us] Country: DE Environment: Indoor/Outdoor Channels [36 - 36] @ 23 dBm Channels [40 - 40] @ 23 dBm Channels [44 - 44] @ 23 dBm Channels [48 - 48] @ 23 dBm Power constraint: 0 dB HT capabilities: Capabilities: 0x86f RX LDPC HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI No RX STBC Max AMSDU length: 7935 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT TX/RX MCS rate indexes supported: 0-31, 33-76 HT operation: * primary channel: 44 * secondary channel offset: above * STA channel width: any * RIFS: 0 * HT protection: nonmember * non-GF present: 1 * OBSS non-GF present: 1 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC MFP-capable (0x0080) * 0 PMKIDs * Group mgmt cipher suite: AES-128-CMAC Extended capabilities: HT Information Exchange Supported, BSS Transition, SSID List, 6 WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: b0493afc-202d-11b2-8a5b-1cb0447542a5 * Manufacturer: Askey * Model: o2 HomeBox * Model Number: 6741 * Serial Number: 1CB0447542A8 * Primary Device Type: 6-0050f204-1 * Device name: o2 HomeBox 6741 * Config methods: Display * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 VHT capabilities: VHT Capabilities (0x3fcb7832): Max MPDU length: 11454 Supported Channel Width: neither 160 nor 80+80 RX LDPC short GI (80 MHz) SU Beamformer SU Beamformee MU Beamformer +HTC-VHT RX antenna pattern consistency TX antenna pattern consistency VHT RX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: MCS 0-9 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 0 Mbps VHT TX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: MCS 0-9 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 0 Mbps VHT operation: * channel width: 1 (80 MHz) * center freq segment 1: 42 * center freq segment 2: 0 * VHT basic MCS set: 0xfffc ```
pschmitt commented 3 years ago

There are some special cases one needs to be aware of when implementing this. Some access points may not broadcast any SSID. iw then displays a null character (\0). There may be more but I personally haven't encountered any - yet ;)

kellyjonbrazil commented 3 years ago

Hi @pschmitt,

I have a beta version of the iw-scan parser ready.

This parser can be tested by placing a file called iw_scan.py under $HOME/.local/share/jc/jcparsers with the code from here: https://github.com/kellyjonbrazil/jc/blob/dev/jc/parsers/iw_scan.py.

I have noted that this parser is 'beta' quality since I don't really have a lot of examples to test with. If you have more example output for me to test I'll put it through the paces.

This output is pretty hairy, so I sorta cheated and didn't create a schema. I did make a best-effort attempt to convert ints and floats and programmatically pull as many fields in as possible. Some fields/data will be missing - most notably multi-line fields where there are not obvious key/value pairs on each line. If there are additional fields/data that you need for your use case I can improve the parser to get more of that info like I did for the dmidecode and sysctl parsers.

Cheers!

pschmitt commented 3 years ago

Cool, thanks!

I've been testing this for the last few minutes on my laptop and on Termux. For some reason I only get a few fields (mac_address and interface):

sudo iw dev wlan0 scan | jc --iw_scan | jq
[                                      
  {                                    
    "mac_address": "90:5c:44:d1:34:2f",
    "interface": "wlan0"               
  },                                   
  {                                    
    "mac_address": "92:5c:14:d1:34:2f",
    "interface": "wlan0"               
  }
]

As a sidenote it would make sense to rename mac_address to bssid - given the context (ref)

Thanks for the time and effort you put into this! Let me know if I can help you debug this further.

EDIT: I found the issue. See #97

kellyjonbrazil commented 3 years ago

Changes merged into v1.14.1, now available on pypi.