Re: [PATCH] wpa_supplicant: send event to all interfaces

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

 



On 24 April 2016 at 10:42, Jouni Malinen <j@xxxxx> wrote:
> On Sat, Apr 02, 2016 at 07:20:45PM +0200, Janusz Dziedzic wrote:
>> This is test with hwsim:
>
>> diff --git a/tests/hwsim/start.sh b/tests/hwsim/start.sh
>> @@ -100,7 +100,7 @@ else
>> -test -f /proc/modules && sudo modprobe mac80211_hwsim radios=7
>> channels=$NUM_CH support_p2p_device=0
>> +test -f /proc/modules && sudo modprobe mac80211_hwsim radios=7
>> channels=$NUM_CH support_p2p_device=1
>
>> janusz@dell:~/work/hostap/tests/hwsim$ sudo ./run-tests.py ibss_5ghz
>> START ibss_5ghz 1/1
>> FAIL ibss_5ghz 5.19917 2016-04-02 19:13:49.208650
>>
>> And error: No regdom change event
>
> I cannot reproduce this with such a change in start.sh. Are you saying
> this fails for you every time with "No regdom change event"?
>
Yes, exactly.
In ibss_5ghz.log I see we only get this event for p2p-dev-wlan1/p2p-dev-wlan0.

Kernel I am using:
4.5.0-rc6-ath+

BR
Janusz


> --
> Jouni Malinen                                            PGP id EFC895FA
2016-04-25 06:46:24,885 INFO START ibss_5ghz 1/1
2016-04-25 06:46:24,885 INFO Test: IBSS on 5 GHz band
2016-04-25 06:46:24,885 DEBUG wlan0: CTRL: PING
2016-04-25 06:46:24,885 DEBUG wlan0: CTRL(global): PING
2016-04-25 06:46:24,885 DEBUG wlan0: CTRL: NOTE TEST-START ibss_5ghz
2016-04-25 06:46:24,885 DEBUG wlan1: CTRL: PING
2016-04-25 06:46:24,885 DEBUG wlan1: CTRL(global): PING
2016-04-25 06:46:24,885 DEBUG wlan1: CTRL: NOTE TEST-START ibss_5ghz
2016-04-25 06:46:24,885 DEBUG wlan2: CTRL: PING
2016-04-25 06:46:24,885 DEBUG wlan2: CTRL(global): PING
2016-04-25 06:46:24,885 DEBUG wlan2: CTRL: NOTE TEST-START ibss_5ghz
2016-04-25 06:46:29,897 DEBUG wlan0: CTRL: BSS_FLUSH 0
2016-04-25 06:46:29,900 DEBUG wlan0(global): IFNAME=p2p-dev-wlan0 <3>CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
2016-04-25 06:46:29,900 DEBUG wlan0: CTRL: SCAN freq=2417 only_new=1
2016-04-25 06:46:29,905 DEBUG wlan0: <3>CTRL-EVENT-SCAN-STARTED 
2016-04-25 06:46:29,959 DEBUG wlan0: <3>CTRL-EVENT-SCAN-RESULTS 
2016-04-25 06:46:29,959 DEBUG wlan0: CTRL: SCAN_RESULTS
2016-04-25 06:46:29,959 DEBUG wlan1: CTRL: BSS_FLUSH 0
2016-04-25 06:46:29,959 DEBUG wlan1(global): IFNAME=p2p-dev-wlan1 <3>CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
2016-04-25 06:46:29,959 DEBUG wlan1(global): IFNAME=p2p-dev-wlan1 <3>CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
2016-04-25 06:46:29,959 DEBUG wlan1: CTRL: SCAN freq=2417 only_new=1
2016-04-25 06:46:29,960 DEBUG wlan1: <3>CTRL-EVENT-SCAN-STARTED 
2016-04-25 06:46:30,019 DEBUG wlan1: <3>CTRL-EVENT-SCAN-RESULTS 
2016-04-25 06:46:30,019 DEBUG wlan1: CTRL: SCAN_RESULTS
2016-04-25 06:46:30,019 INFO No regdom change event
2016-04-25 06:46:30,019 DEBUG wlan0: <3>CTRL-EVENT-NETWORK-NOT-FOUND 
2016-04-25 06:46:30,019 DEBUG wlan0(global): IFNAME=wlan0 <3>CTRL-EVENT-SCAN-STARTED 
2016-04-25 06:46:30,019 DEBUG wlan0(global): IFNAME=p2p-dev-wlan0 <3>CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
2016-04-25 06:46:30,019 DEBUG wlan0(global): IFNAME=wlan0 <3>CTRL-EVENT-SCAN-RESULTS 
2016-04-25 06:46:30,020 DEBUG wlan0(global): IFNAME=wlan0 <3>CTRL-EVENT-NETWORK-NOT-FOUND 
2016-04-25 06:46:30,020 DEBUG wlan0(global): IFNAME=p2p-dev-wlan0 <3>CTRL-EVENT-SCAN-RESULTS 
2016-04-25 06:46:30,020 DEBUG wlan0: CTRL: NOTE TEST-STOP ibss_5ghz
2016-04-25 06:46:30,020 DEBUG wlan1: <3>CTRL-EVENT-NETWORK-NOT-FOUND 
2016-04-25 06:46:30,020 DEBUG wlan1(global): IFNAME=wlan1 <3>CTRL-EVENT-SCAN-STARTED 
2016-04-25 06:46:30,020 DEBUG wlan1(global): IFNAME=wlan1 <3>CTRL-EVENT-SCAN-RESULTS 
2016-04-25 06:46:30,020 DEBUG wlan1(global): IFNAME=wlan1 <3>CTRL-EVENT-NETWORK-NOT-FOUND 
2016-04-25 06:46:30,020 DEBUG wlan1(global): IFNAME=p2p-dev-wlan1 <3>CTRL-EVENT-SCAN-RESULTS 
2016-04-25 06:46:30,020 DEBUG wlan1: CTRL: NOTE TEST-STOP ibss_5ghz
2016-04-25 06:46:30,020 DEBUG wlan2(global): IFNAME=p2p-dev-wlan2 <3>CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
2016-04-25 06:46:30,020 DEBUG wlan2(global): IFNAME=p2p-dev-wlan2 <3>CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
2016-04-25 06:46:30,020 DEBUG wlan2: CTRL: NOTE TEST-STOP ibss_5ghz
2016-04-25 06:46:30,022 DEBUG /tmp/wpas-wlan5: CTRL(global): RELOG
2016-04-25 06:46:30,024 DEBUG wlan0: CTRL: FLUSH
2016-04-25 06:46:30,024 DEBUG wlan0: CTRL(global): REMOVE_NETWORK all
2016-04-25 06:46:30,024 DEBUG wlan0: CTRL(global): SET p2p_no_group_iface 1
2016-04-25 06:46:30,025 DEBUG wlan0: CTRL(global): P2P_FLUSH
2016-04-25 06:46:30,025 DEBUG wlan0: CTRL: STATUS-DRIVER
2016-04-25 06:46:30,025 DEBUG wlan0: CTRL(global): IFNAME=p2p-dev-wlan0 STATUS-DRIVER
2016-04-25 06:46:30,025 DEBUG wlan0: CTRL: PING
2016-04-25 06:46:30,025 DEBUG wlan1: CTRL: FLUSH
2016-04-25 06:46:30,025 DEBUG wlan1: CTRL(global): REMOVE_NETWORK all
2016-04-25 06:46:30,025 DEBUG wlan1: CTRL(global): SET p2p_no_group_iface 1
2016-04-25 06:46:30,026 DEBUG wlan1: CTRL(global): P2P_FLUSH
2016-04-25 06:46:30,026 DEBUG wlan1: CTRL: STATUS-DRIVER
2016-04-25 06:46:30,026 DEBUG wlan1: CTRL(global): IFNAME=p2p-dev-wlan1 STATUS-DRIVER
2016-04-25 06:46:30,026 DEBUG wlan1: CTRL: PING
2016-04-25 06:46:30,026 DEBUG wlan2: CTRL: FLUSH
2016-04-25 06:46:30,027 DEBUG wlan2: CTRL(global): REMOVE_NETWORK all
2016-04-25 06:46:30,027 DEBUG wlan2: CTRL(global): SET p2p_no_group_iface 1
2016-04-25 06:46:30,027 DEBUG wlan2: CTRL(global): P2P_FLUSH
2016-04-25 06:46:30,027 DEBUG wlan2: CTRL: STATUS-DRIVER
2016-04-25 06:46:30,027 DEBUG wlan2: CTRL(global): IFNAME=p2p-dev-wlan2 STATUS-DRIVER
2016-04-25 06:46:30,027 DEBUG wlan2: CTRL: PING
2016-04-25 06:46:30,027 DEBUG /tmp/wpas-wlan5: CTRL(global): INTERFACES
2016-04-25 06:46:30,027 DEBUG : CTRL(global): FLUSH
2016-04-25 06:46:30,028 DEBUG : CTRL(global): REMOVE wlan3-3
2016-04-25 06:46:30,028 DEBUG : CTRL(global): REMOVE wlan3-2
2016-04-25 06:46:30,028 DEBUG : CTRL(global): REMOVE wlan3
2016-04-25 06:46:30,028 DEBUG : CTRL(global): REMOVE wlan4
2016-04-25 06:46:30,028 DEBUG wlan0: CTRL(global): RELOG
2016-04-25 06:46:30,030 DEBUG wlan1: CTRL(global): RELOG
2016-04-25 06:46:30,033 DEBUG wlan2: CTRL(global): RELOG
2016-04-25 06:46:30,036 DEBUG : CTRL(global): RELOG
2016-04-25 06:46:30,045 INFO FAIL ibss_5ghz 5.159915 2016-04-25 06:46:30.045059
_______________________________________________
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