nl80211: how to check if that is p2p go or client

Janusz Dziedzic janusz.dziedzic
Thu Aug 11 05:29:27 PDT 2011


Hello,

Seems wpa_supplicant when calling set_interface
(nl80211_set_interface) never set:
  NL80211_IFTYPE_P2P_GO
  NL80211_IFTYPE_P2P_CLIENT

Change this into:
  NL80211_IFTYPE_AP
  NL80211_IFTYPE_STATION

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



More information about the Hostap mailing list