Support of P2P in ath5k

Dani Camps danicamps81
Wed Jul 13 04:47:59 PDT 2011


Hi Jouni,

Thanks for the answer. I added the NL80211_IFTYPE_P2P_GO 
and NL80211_IFTYPE_P2P_CLIENT in ath5k, and it improved a bit, now I can do 
p2p_find and find other peers. However, I am not yet able to set up a group, I 
get a message back saying "Could not read SSID from driver" when trying to set 
up a group. The only other place where I could find mention to p2p in ath9k that 
is not in ath5k, is in the method "change_interface" of ieee80211_ops which is 
defined in ath9k but is undefined in ath5k. Is the method .change_interface 
required for P2P operation ? I wonder if implementing it in ath5k would improve 
the support for P2P,

Thanks

Daniel


----- Mensaje original ----
De: Jouni Malinen <j at w1.fi>
Para: hostap at lists.shmoo.com
Enviado: mar,12 julio, 2011 18:51
Asunto: Re: Support of P2P in ath5k

On Tue, Jul 12, 2011 at 03:53:52PM +0100, Dani Camps wrote:
> I am trying to use P2P in wpa_supplicant (latest version from the git) with 
> kernel 2.6.39 and an ath5k card, and I am having several problems. Basically 
> wpa_supplicant starts correctly, but when I run commands like p2p_find or 
> p2p_group_add they always fail. Should the latest version of P2P work with 
> ath5k? I had some earlier version of P2P working with ath5k ... In case ath5k 
>is 
>
> not supported, which cards are?

ath5k does not advertise support for P2P (NL80211_IFTYPE_P2P_GO and
NL80211_IFTYPE_P2P_CLIENT interface types), so it doesn't work
currently. In theory, you could be able to get partial functionality
working by just adding advertisement of those virtual interface types.

ath9k is an example of a driver that advertises these interface types
and as such, can be used as-is with wpa_supplicant for P2P support.

-- 
Jouni Malinen                                            PGP id EFC895FA
_______________________________________________
HostAP mailing list
HostAP at lists.shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap




More information about the Hostap mailing list