I was able to configure a hosapd.conf file to use channel 60 to create an access point. I'm now trying to do the same for a P2P connection using wpa_supplicant.
Here is the supplicant.conf file:
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
device_type=1-0050F204-1
country=US
max_num_sta=1
p2p_go_max_inactivity=10
p2p_go_intent=15
p2p_go_ht40=1
p2p_oper_channel=0
p2p_go_freq_change_policy=1
eapol_version=2
ignore_old_scan_res=1
network={
ssid="uniitwo"
psk="pickone"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
mode=3
disabled=2
}
Using p2p_connect, I see the debug output from the supplicant:
wlan0: Control interface command 'P2P_CONNECT 4a:eb:62:20:40:54 pbc persistent=0 freq=5320'
wlan0: Direct P2P_CONNECT command to p2p-dev-wlan0
p2p-dev-wlan0: Determining shared radio frequencies (max len 2)
p2p-dev-wlan0: Shared frequencies (len=0): completed iteration
p2p-dev-wlan0: Shared frequencies (len=0): valid for P2P
p2p-dev-wlan0: Determining shared radio frequencies (max len 2)
p2p-dev-wlan0: Shared frequencies (len=0): completed iteration
p2p-dev-wlan0: P2P: num_unused_channels: 2
P2P: Setup freqs: freq=5320 num_MCC=2 shared_freqs=0 num_unused=2
P2P: The forced channel (5320 MHz) is not supported for P2P uses
And for p2p_group_add, I see:
wlan0: Control interface command 'P2P_GROUP_ADD persistent=0 freq=5320'
P2P: Stopping find
P2P: Clear timeout (state=IDLE)
P2P: State IDLE -> IDLE
P2P: The forced channel for GO (5320 MHz) is not supported for P2P uses
It took me a while to find the right combination of settings to be able to set up a network on channel 60 using hostapd, so I'm wondering if there is a parameter I am not aware of that is causing this.