wpa_supplicant signaling after scan in AP mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

When wpa_supplicant is connected as GO-P2P and a Scan request is done,
wpa_supplicant does not deny such request and forwards it toward the
driver. In my case, the full process is completed but once the results
arrives from the driver, wpa_supplicant is refuting to forward them
because it is in AP mode. At this point, upper layer applicants (e.g.
ConnMan) will remain waiting forever for a Interface.ScanDone D-Bus
signal because they successfully performed the Scan request through
Interface.Scan and saw the Scanning property moved to "True".

I am using one of the latest  versions:
wpa_supplicant v2.7-devel-hostap_2_6-979-g290834d

I would say that wpa_supplicant should either refuse the Scan request
from the very beginning or emit such ScanDone signal with the given
results, shouldn't it?

My logs:

dbus: fi.w1.wpa_supplicant1.Interface.Scan
(/fi/w1/wpa_supplicant1/Interfaces/1) [a{sv}]
wfd0: Add radio work 'scan'@0x1c59f20
wfd0: First radio work item in the queue - schedule start immediately
wfd0: Starting radio work 'scan'@0x1c59f20 after 0.000234 second wait
wfd0: nl80211: scan request
nl80211: Scan SSID - hexdump_ascii(len=4):
     4a 6f 73 65                                       Jose
nl80211: Scan frequency 2462 MHz
Scan requested (ret=0) - scan timeout 30 seconds
dbus: flush_object_timeout_handler: Timeout - sending changed
properties of object /fi/w1/wpa_supplicant1/Interfaces/1
RTM_NEWLINK: ifi_index=5 ifname=mlan0 wext ifi_family=0 ifi_flags=0x1002 ()
RTM_NEWLINK: ifi_index=7 ifname=wfd0 wext ifi_family=0
ifi_flags=0x19043 ([UP][RUNNING][LOWER_UP])
nl80211: Event message available
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wfd0
wfd0: nl80211: Scan trigger
wfd0: Event SCAN_STARTED (47) received
wfd0: Own scan request started a scan in 0.000628 seconds
nl80211: Event message available
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wfd0
wfd0: nl80211: New scan results available
nl80211: Scan probed for SSID 'Jose'
nl80211: Scan included frequencies: 2462
wfd0: Event SCAN_RESULTS (3) received
wfd0: Scan completed in 0.000130 seconds
nl80211: Received scan results (1 BSSes)
Sorted scan results
c6:43:8f:43:9e:01 freq=2462 qual=0 noise=-91 level=-28 snr=63*
flags=0x9 age=20932 est=54000
IEs - hexdump(len=208): 00 07 44 49 52 45 43 54 2d 01 08 8c 12 98 24
b0 48 60 6c 03 01 0b dd 7f 00 50 f2 04 10 4a 00 01 10 10 44 00 01 01
10 3b 00 01 00 10 47 00 10 29 c9 b6 e6 ab c2 54 63 80 2c 1e 10 a9 b7
0b 40 10 21 00 03 4c 47 45 10 23 00 07 4e 65 78 75 73 20 34 10 24 00
07 4e 65 78 75 73 20 34 10 42 00 10 30 32 31 36 37 30 32 63 64 32 30
62 65 36 31 31 10 54 00 08 00 0a 00 50 f2 04 00 05 10 11 00 07 4e 65
78 75 73 4d 4d 10 08 00 02 43 88 10 49 00 06 00 37 2a 00 01 20 dd 0d
50 6f 9a 0a 00 00 06 00 10 1c 44 00 32 dd 28 50 6f 9a 09 02 02 00 25
00 0d 1c 00 c6 43 8f 43 9e 01 01 88 00 0a 00 50 f2 04 00 05 00 10 11
00 07 4e 65 78 75 73 4d 4d
wfd0: BSS: Start scan result update 83
BSS: last_scan_res_used=0/64
Add randomness: count=748 entropy=459
random pool - hexdump(len=128): [REMOVED]
random_mix_pool - hexdump(len=16): [REMOVED]
random_mix_pool - hexdump(len=5): [REMOVED]
random pool - hexdump(len=128): [REMOVED]
wfd0: Ignore scan results in AP mode
wfd0: Radio work 'scan'@0x1c59f20 done in 0.204430 seconds
wfd0: radio_work_free('scan'@0x1c59f20: num_active_works --> 0
dbus: flush_object_timeout_handler: Timeout - sending changed
properties of object /fi/w1/wpa_supplicant1/Interfaces/1

Thanks in advance,

Jose Blanquicet

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux