iwlist scan broken with hostap 0.1.1/0.1.2?

markus.baumeister at philips.com markus.baumeister
Tue Nov 11 01:12:26 PST 2003


Hi,

>Would you mind testing whether you can
>reproduce the issue by setting it back to 14 and recompile?

Yes, I attached the output from the iwlist debug statements (thanks for 
leaving them in!) when using the hostap_ioctl.c version with the CUSTOM 
tags enabled. I cut the hex output (lots more lines for ca. 4 APs) since 
iwlist already stops after the first AP.

------ snip ------
# ./iwlist wlan0 scan
Scan result 
[14:00:15:8B:01:00:00:09:5B:35:73:39:00:00:00:00:00:00:00:00:13:00:1B:8B:00:00:00:00:07:00:01:00:4D:45:44:2D:4C:41:4E:08:00:07:8B:03:00:00:00:0C:00:05:8B:80:6B:60:0E:01:00:00:00:08:00:01:8C:00:AA:9F:00:0C:00:2B:8B:00:00:00:00:00:00:00:08:24:00:21:8B:40:42:0F:00:00:00:00:00:80:84:1E:00:00:00:00:00:60:EC:53:00:00:00:00:00:C0:D8:A7:00:00:00:00:00:17:00:02:8C:00:00:00:00:0B:00:00:00:62:63:6E:5F:69:6E:74:3D:31:30:30:
[This was "bcn_int=100"]
00:00:02:8C:00:00:00:00:0C:00:00:00:72:65:73:70:5F:72:61:74:65:3D:31:30:14:00:15:8B:01:00:00:09:5B:3B:B1:FA:00:00:00:00:00:00:00:00:14:00:1B:8B:00:00:00:00:08:00:01:00:4D:79:4D:65:64:4C:41:4E:08:00:07:8B:03:00:00:00:0C:00:05:8B:80:6B:60:0E:01:00:00:00:08:00:01:8C:00:B1:A0:00:0C:00:2B:8B:00:00:00:00:00:00:00:08:24:00:21:8B:40:42:0F:00:00:00:00:00:80:84:1E:00:00:00:00:00:60:EC:53:00:00:00:00:00:C0:D8:A7:00:00:00:00:00:17:00:02:8C:00:00:00:00:0B:00:00:00:62:63:6E:5F:69:6E:74:3D:31:30:30:00:00:02:8C:00:00:00:00:0C:00:00:00:72:65:73:70:5F:72:61:74:65:3D:32:30:14:00:15:8B:01:00:00:09:5B:35:73:3D:00:00:00:00:00: 
[......]

wlan0     Scan completed :
DBG - stream->current = 0xbfffe7f0, stream->value = (nil), stream->end = 
0xbfffebe4
DBG - iwe->cmd = 0x8B15, iwe->len = 20
DBG - event_type = 6, event_len = 16, pointer = 0xbfffe7f4
          Cell 01 - Address: 00:09:5B:35:73:39
DBG - stream->current = 0xbfffe804, stream->value = (nil), stream->end = 
0xbfffebe4
DBG - iwe->cmd = 0x8B1B, iwe->len = 19
DBG - event_type = 8, event_len = 8, pointer = 0xbfffe808
                    ESSID:"MED-LAN"
DBG - stream->current = 0xbfffe817, stream->value = (nil), stream->end = 
0xbfffebe4
DBG - iwe->cmd = 0x8B07, iwe->len = 8
DBG - event_type = 4, event_len = 4, pointer = 0xbfffe81b
                    Mode:Master
DBG - stream->current = 0xbfffe81f, stream->value = (nil), stream->end = 
0xbfffebe4
DBG - iwe->cmd = 0x8B05, iwe->len = 12
DBG - event_type = 5, event_len = 8, pointer = 0xbfffe823
                    Frequency:2.412GHz
DBG - stream->current = 0xbfffe82b, stream->value = (nil), stream->end = 
0xbfffebe4
DBG - iwe->cmd = 0x8C01, iwe->len = 8
DBG - event_type = 10, event_len = 4, pointer = 0xbfffe82f
                    Quality:0/92  Signal level:-86 dBm  Noise level:-97 
dBm
DBG - stream->current = 0xbfffe833, stream->value = (nil), stream->end = 
0xbfffebe4
DBG - iwe->cmd = 0x8B2B, iwe->len = 12
DBG - event_type = 8, event_len = 8, pointer = 0xbfffe837
                    Encryption key:on
DBG - stream->current = 0xbfffe83f, stream->value = (nil), stream->end = 
0xbfffebe4
DBG - iwe->cmd = 0x8B21, iwe->len = 36
DBG - event_type = 9, event_len = 8, pointer = 0xbfffe843
                    Bit Rate:1Mb/s
DBG - stream->current = 0xbfffe83f, stream->value = 0xbfffe84b, 
stream->end = 0xbfffebe4
DBG - iwe->cmd = 0x8B21, iwe->len = 36
DBG - event_type = 9, event_len = 8, pointer = 0xbfffe84b
                    Bit Rate:2Mb/s
DBG - stream->current = 0xbfffe83f, stream->value = 0xbfffe853, 
stream->end = 0xbfffebe4
DBG - iwe->cmd = 0x8B21, iwe->len = 36
DBG - event_type = 9, event_len = 8, pointer = 0xbfffe853
                    Bit Rate:5.5Mb/s
DBG - stream->current = 0xbfffe83f, stream->value = 0xbfffe85b, 
stream->end = 0xbfffebe4
DBG - iwe->cmd = 0x8B21, iwe->len = 36
DBG - event_type = 9, event_len = 8, pointer = 0xbfffe85b
                    Bit Rate:11Mb/s
DBG - stream->current = 0xbfffe863, stream->value = (nil), stream->end = 
0xbfffebe4
DBG - iwe->cmd = 0x8C02, iwe->len = 23
DBG - event_type = 8, event_len = 8, pointer = 0xbfffe867
                    Extra:bcn_int=100
DBG - stream->current = 0xbfffe87a, stream->value = (nil), stream->end = 
0xbfffebe4
DBG - iwe->cmd = 0x8C02, iwe->len = 0

[root at dslappy wireless_tools.25]# iwlist -v
iwlist    Version 25
          Compatible with Wireless Extension v15 or earlier,
          Currently compiled with Wireless Extension v15.

wlan0     Recommend Wireless Extension v13 or later,
          Currently compiled with Wireless Extension v15.

[root at dslappy wireless_tools.25]# uname -a
Linux dslappy.mlan.local 2.4.20 #13 Tue Jul 8 15:40:06 CEST 2003 i686 
unknown
[root at dslappy wireless_tools.25]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)

# dmesg 
...
hostap_cs: 0.1.2 - 2003-11-02 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
hostap_cs: Registered netdevice wlan0
prism2_hw_init: initialized in 180 ms
wlan0: NIC: id=0x800c v1.0.0
wlan0: PRI: id=0x15 v1.1.1
wlan0: STA: id=0x1f v1.7.4
...

---------- snip ----------

1 MHz mobile Pentium III Processor
Netgear MA401 PCMCIA card

Anything else?

Kind regards
        Markus Baumeister





More information about the Hostap mailing list