2019-07-25 20:11:35

by Bill Unruh

[permalink] [raw]
Subject: Bug in iw ... scan output for Ad-Hoc (IBSS) output

The output of iw .. scan output for Ad-Hoc (IBSS) does not have a carriage
return running it into the next access point output


BSS f6:63:9f:d1:f9:17(on wlp58s0)
TSF: 0 usec (0d, 00:00:00)
freq: 2437
beacon interval: 100 TUs
capability: IBSS ShortPreamble (0x0022)
signal: -69.00 dBm
last seen: 6040 ms ago
Information elements from Probe Response frame:
SSID: hpsetup
Supported rates: 1.0* 2.0* 5.5* 11.0*
DS Parameter set: channel 6
IBSS ATIM window: 0 TUsBSS 34:31:c4:39:63:ef(on wlp58s0)

Note the last line-- that is the BSS of the next access point output of iw

See attachments for full iw wlps58s0 scan output and iwlist scan output.


Attachments:
iw (34.67 kB)
iwlist (25.31 kB)
Download all attachments

2019-07-26 07:21:03

by Johannes Berg

[permalink] [raw]
Subject: Re: Bug in iw ... scan output for Ad-Hoc (IBSS) output

On Thu, 2019-07-25 at 13:04 -0700, Bill Unruh wrote:
> The output of iw .. scan output for Ad-Hoc (IBSS) does not have a carriage
> return running it into the next access point output
>
>
> BSS f6:63:9f:d1:f9:17(on wlp58s0)
> TSF: 0 usec (0d, 00:00:00)
> freq: 2437
> beacon interval: 100 TUs
> capability: IBSS ShortPreamble (0x0022)
> signal: -69.00 dBm
> last seen: 6040 ms ago
> Information elements from Probe Response frame:
> SSID: hpsetup
> Supported rates: 1.0* 2.0* 5.5* 11.0*
> DS Parameter set: channel 6
> IBSS ATIM window: 0 TUsBSS 34:31:c4:39:63:ef(on wlp58s0)
>
> Note the last line-- that is the BSS of the next access point output of iw

Thanks for the report, pushed a fix.

johannes