Regarding the P2P configuration file

Barigal, Shrishail sbarigal at qti.qualcomm.com
Mon Jul 25 03:37:51 PDT 2016


Hi All,

I have been facing an issue with Multi Channel Concurrency related to "p2p_ignore_shared_freq" in the P2P configuration file.

Wpa_supplicant version used is 2.3.

Below are the steps followed for testing 

1.	Connect STAUT interface to AP in channel 1.
2.	Start fast ping from STAUT to AP.
3.	Configure the operating channel as 6 .
4.	Add the parameter "p2p_ignore_shared_freq=1" to P2P conf file so that it does not follow STA's channel and thus become Multi Channel Concurrency.
5.	Start P2P find on both DUT and PEER devices.
6.	Start Group Negotiation on both DUT and PEER devices to become GO.

Actual Result:
--------------
The P2P Group is formed in channel 1 instead of configured operating channel 6. The P2P group is following the STA's channel.

Expected Result:
--------------
The P2P group shall be formed in channel 6 as we have configured to ignore the own channel prefernce by adding "p2p_ignore_shared_freq=1" to P2P conf file.

Snippet of wpa_supplicant log:

07/04/16 14:09:34.056: 1467621566.711570: p2p0: P2P: num_unused_channels: 1
07/04/16 14:09:34.056: 1467621566.711571: P2P: Setup freqs: freq=0 num_MCC=2 shared_freqs=1 num_unused=1
07/04/16 14:09:34.056: 1467621566.711573: P2P: Try to prefer a frequency (2412 MHz) we are already using
07/04/16 14:09:34.056: 1467621566.711575: p2p0: Determining shared radio frequencies (max len 2)
07/04/16 14:09:34.057: 1467621566.711577: p2p0: Shared frequencies (len=1): completed iteration
07/04/16 14:09:34.057: 1467621566.711578: p2p0: freq[0]: 2412, flags=0x1
07/04/16 14:09:34.057: 1467621566.711580: p2p0: P2P: num_unused_channels: 1
07/04/16 14:09:34.057: 1467621566.711581: P2P: Ignore own channel preference 2412 MHz due to p2p_ignore_shared_freq=1 configuration
07/04/16 14:09:34.057: 1467621566.711583: P2P: Own frequency preference: 0 MHz
07/04/16 14:09:34.057: 1467621566.711585: P2P: Create a new interface p2p-p2p0-0 for the group
07/04/16 14:09:34.057: 1467621566.711587: nl80211: Create interface iftype 8 (P2P_CLIENT)
07/04/16 14:09:34.057: 1467621566.712370: nl80211: New interface p2p-p2p0-0 created: ifindex=14
07/04/16 14:09:34.057: 1467621566.712396: nl80211: Set TX rates failed: ret=-95 (Operation not supported)
07/04/16 14:09:34.057: 1467621566.712402: P2P: Created pending virtual interface p2p-p2p0-0 addr 02:03:7f:50:80:01
07/04/16 14:09:34.057: 1467621566.712415: P2P: Request to start group negotiation - peer=8e:fd:f0:02:04:01 GO Intent=1 Intended Interface Address=02:03:7f:50:80:01 wps_method=3 persistent_group=0 pd_before_go_neg=0 oob_pw_id=0
07/04/16 14:09:34.057: 1467621566.712554: P2P: Prepare channel - force_freq=0 pref_freq=2412 go=0
07/04/16 14:09:34.057: 1467621566.712558: P2P: Prepare channel pref - force_freq=0 pref_freq=2412 go=0
07/04/16 14:09:34.057: 1467621566.712576: 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
07/04/16 14:09:34.057: 1467621566.712592: 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
07/04/16 14:09:34.057: 1467621566.712596: P2P: Own preference for operation channel: Operating Class 81 Channel 1\

The highlighted line is not coming into effect.

Can anyone please help me understand the purpose of p2p_ignore_shared_freq=1 in configuration file?

Thanks,
Shrishail



More information about the Hostap mailing list