Search Linux Wireless

RE: iwlwifi: P2P group-formation timeout

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

 



Hi David, 

My guess is that the root cause of the failure is the fact that the GoN ended with the local side trying to instantiate a GO on freq=5180 which probably not supported by your SKU. To verify this can u please send me the output of 'iw phy0 info'? Also can you please send the full log of the wpa_supplicant?

One way to avoid this is to call  'wpa_cli set disallow_freq 5180-5800' before the GoN. Another way is to force the operating channel in the configuration file or in the p2p_connect command. You could also try to set a low go_intent so that the otherside would become a GO.
 
Thanks in advance,

Ilan.

> > I run wpa_supplicant as:
> >   wpa_supplicant -d -Dnl80211 -c wpa.conf -i wlan0 -p
> > p2p_device=1,use_p2p_group_interface=1
> >

You can probably remove the use_p2p_group_interface=1 (although I need to see iw phy0 info output to make sure).

> > My wpa.conf is:
> >   ctrl_interface=/run/wpa_supplicant
> >   ap_scan=1
> >   p2p_go_ht40=1
> >   device_name=david-ub
> >   device_type=1-0050F204-1
> >
> > In wpa_cli I run:
> >   p2p_find
> >   p2p_connect 12:68:3f:4e:39:f2 pbc
> >

To start with, can you please verify that setting up a standalone GO works? You can do that using: wpa_cli p2p_group_add.

> >
> > Lemme know if iwlwifi-debug options should be enabled and I can
> > provide a full debug log.
> > There are a bunch of errors in the wpa_supplicant log during startup,
> > but I think they're related to nl80211+P2P_DEVICE and expected?

No. Using the latest wpa_supplicant I do not see these warnings.  

> > These include:
> >   Could not read interface p2p-dev-wlan0 flags: No such device
> >   nl80211: Use separate P2P group interface (driver advertised support)
> >   nl80211: interface p2p-dev-wlan0 in phy phy0
> >   nl80211: Set mode ifindex 0 iftype 10 (P2P_DEVICE)
> >   nl80211: Failed to set interface 0 to mode 10: -22 (Invalid
> > argument)
> >
> > The GO-negotiation itself succeeds. However, the following
> > group-formation fails, the relevant part of the log is probably this:
> >
> > P2P-GO-NEG-SUCCESS role=GO freq=5180 ht40=0
> peer_dev=12:68:3f:4e:39:f2

Here you can see that there is an attempt to start the GO on 5180.

> >
> > Any hints are welcome. If there's any debug-option I should enable to
> > provide more logs, lemme know. I can also give iwlwifi-next a try if
> > there're any important patches pending. The p2p-dev-wlan0 related
> > errors are quite confusing, but I think they're caused by the fact

Need to see the full log, to try and get a better grasp of these warinings.

> > that there's no netdev for the device. At least I only have wlan0 and
> > p2p-wlan0-0 during runtime, a p2p-dev-wlan0 never shows up.
> >

P2p-dev-wlan0 should not show up. It is an internal interface in the wpa_supplicant that is not associated to a network interface (and it shouldn't). The proper way to trigger P2P device flows is to do so using the global control interface of the wpa_supplicant.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux