Instances of wpa_supplicant

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

 



Hi All,

I have a small query related to multiple instances of wpa_supplicant in Linux-x86.
I have put down the 2 cases of my execution and the results are different for both. I am basically concerned with the channel of the P2P-GO formed.

What is the difference in running 1 wpa_supplicant with 2 different interface and running 2 wpa_supplicant with 1 interface each as mentioned below:

1.Two interfaces to the same supplicant:  wpa_supplicant -i p2p0 -c /usr/local/qspr/supplicants/P2P.conf -D nl80211 -N -i wlan2 -c STA.conf -D nl80211 -ddddKt 
	a. STA connected to AP in channel 1
	b. P2P group formed in channel 1 

1472012289.488387: p2p0: Control interface command 'P2P_CONNECT 8e:fd:f0:02:03:2d pbc go_intent=15'
1472012289.488421: p2p0: Determining shared radio frequencies (max len 2)
1472012289.488428: p2p0: Shared frequencies (len=1): completed iteration
1472012289.488432: p2p0: freq[0]: 2412, flags=0x1
1472012289.488436: p2p0: Shared frequencies (len=1): valid for P2P
1472012289.488439: p2p0: freq[0]: 2412, flags=0x1
1472012289.488442: p2p0: Determining shared radio frequencies (max len 2)
1472012289.488444: p2p0: Shared frequencies (len=1): completed iteration
1472012289.488447: p2p0: freq[0]: 2412, flags=0x1
1472012289.488449: p2p0: P2P: num_unused_channels: 1
1472012289.488450: P2P: Setup freqs: freq=0 num_MCC=2 shared_freqs=1 num_unused=1
1472012289.488452: P2P: Try to prefer a frequency (2412 MHz) we are already using
1472012289.488454: p2p0: Determining shared radio frequencies (max len 2)
1472012289.488456: p2p0: Shared frequencies (len=1): completed iteration
1472012289.488459: p2p0: freq[0]: 2412, flags=0x1
1472012289.488462: p2p0: P2P: num_unused_channels: 1
1472012289.488463: P2P: Ignore own channel preference 2412 MHz due to p2p_ignore_shared_freq=1 configuration
1472012289.488466: P2P: Own frequency preference: 0 MHz
1472012289.488469: P2P: Create a new interface p2p-p2p0-0 for the group
1472012289.488471: nl80211: Create interface iftype 9 (P2P_GO)
1472012289.489177: nl80211: New interface p2p-p2p0-0 created: ifindex=122
1472012289.489205: nl80211: Set TX rates failed: ret=-95 (Operation not supported)
1472012289.489212: P2P: Created pending virtual interface p2p-p2p0-0 addr 02:03:7f:33:83:27
1472012289.489224: P2P: Request to start group negotiation - peer=8e:fd:f0:02:03:2d  GO Intent=15  Intended Interface Address=02:03:7f:33:83:27 wps_method=3 persistent_group=0 pd_before_go_neg=0 oob_pw_id=0
1472012289.489239: P2P: Prepare channel - force_freq=0 pref_freq=2412 go=1
1472012289.489242: P2P: Prepare channel pref - force_freq=0 pref_freq=2412 go=1
1472012289.489261: P2P: prepared channels: 81:1,2,3,4,5,6,7,8,9,10,11 115:36,40,44,48 124:149,153,157,161 116:36,44 117:40,48 126:149,157 127:153,161 128:36,40,44,48
1472012289.489278: P2P: after go/cli filter/add: 81:1,2,3,4,5,6,7,8,9,10,11 115:36,40,44,48 124:149,153,157,161 116:36,44 117:40,48 126:149,157 127:153,161 128:36,40,44,48
1472012289.489281: P2P: Own preference for operation channel: Operating Class 81 Channel 1
1472012289.489285: P2P: * Dialog Token: 1
1472012289.489286: P2P: * P2P IE header
	
2. DIfferent wpa_supplicant for the 2 different interfaces
	a. STA connected to AP in channel 1 
	b. P2P group formed in channel 40

wpa_supplicant -i wlan2 -c STA.conf -D nl80211 -ddddKt
wpa_supplicant -i p2p0 -c /usr/local/qspr/supplicants/P2P.conf -D nl80211 -ddddKt

1472012515.308699: p2p0: Control interface command 'P2P_CONNECT 8e:fd:f0:02:03:2d pbc go_intent=15'
1472012515.308736: p2p0: Determining shared radio frequencies (max len 2)
1472012515.308741: p2p0: Shared frequencies (len=0): completed iteration
1472012515.308743: p2p0: Shared frequencies (len=0): valid for P2P
1472012515.308745: p2p0: Determining shared radio frequencies (max len 2)
1472012515.308747: p2p0: Shared frequencies (len=0): completed iteration
1472012515.308749: p2p0: P2P: num_unused_channels: 2
1472012515.308750: P2P: Setup freqs: freq=0 num_MCC=2 shared_freqs=0 num_unused=2
1472012515.308751: P2P: Current operating channels are not available for P2P. Try to use another channel
1472012515.308754: P2P: Own frequency preference: 0 MHz
1472012515.308756: P2P: Create a new interface p2p-p2p0-0 for the group
1472012515.308759: nl80211: Create interface iftype 9 (P2P_GO)
1472012515.309482: nl80211: New interface p2p-p2p0-0 created: ifindex=125
1472012515.309507: nl80211: Set TX rates failed: ret=-95 (Operation not supported)
1472012515.309514: P2P: Created pending virtual interface p2p-p2p0-0 addr 02:03:7f:33:83:27
1472012515.309535: P2P: Request to start group negotiation - peer=8e:fd:f0:02:03:2d  GO Intent=15  Intended Interface Address=02:03:7f:33:83:27 wps_method=3 persistent_group=0 pd_before_go_neg=0 oob_pw_id=0
1472012515.309544: P2P: Prepare channel - force_freq=0 pref_freq=0 go=1
1472012515.309547: P2P: Prepare channel best
1472012515.309550: P2P: Select first pref_chan entry as operating channel preference
1472012515.309567: P2P: prepared channels: 81:1,2,3,4,5,6,7,8,9,10,11 115:36,40,44,48 124:149,153,157,161 116:36,44 117:40,48 126:149,157 127:153,161 128:36,40,44,48
1472012515.309584: P2P: after go/cli filter/add: 81:1,2,3,4,5,6,7,8,9,10,11 115:36,40,44,48 124:149,153,157,161 116:36,44 117:40,48 126:149,157 127:153,161 128:36,40,44,48
1472012515.309587: P2P: Own preference for operation channel: Operating Class 115 Channel 40

Thanks,
Shrishail

_______________________________________________
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