nl80211: how to check if that is p2p go or client
hk5patel at gmail.com
Fri Aug 12 06:37:39 EDT 2011
Which supplicant version you are using ? I think in latest supplicant
it is taken care by driver_nl80211.c file in supplicant. Which will
set proper interface for p2p.
In cfg80211 driver, In cfg80211_change_iface callback driver function
you can check type which is nothing but "enum nl80211_iftype"
variable. this tell you whether it is p2p_client or p2p_GO
On Thu, Aug 11, 2011 at 5:59 PM, Janusz Dziedzic
<janusz.dziedzic at gmail.com> wrote:
> Seems wpa_supplicant when calling set_interface
> (nl80211_set_interface) never set:
> Change this into:
> How to check if that is p2p connection in the nl80211/cfg80211 driver based?
> I see in mac80211 there is a flag vif->p2p, but is never set now,
> because supplicant not using this P2P_GO, P2P_CLIENT enums.
> Janusz Dziedzic
> HostAP mailing list
> HostAP at lists.shmoo.com
"If you are doing what you have always been doing then expect what you
have always been getting."
More information about the HostAP