P2P_CLIENT or STATION - how to check this?
Janusz Dziedzic
janusz.dziedzic
Wed Apr 6 09:12:27 PDT 2011
Hello,
How to check if we are P2P_CLIENT or STATION?
I see driver have such knowleadge eg. nl80211 ->
NL80211_IFTYPE_P2P_CLIENT/NL80211_IFTYPE_STATION - but this is driver
specyfic.
How to check this from upper layers, from wpa_supplicant?
I see:
enum wpas_mode {
WPAS_MODE_INFRA = 0,
WPAS_MODE_IBSS = 1,
WPAS_MODE_AP = 2,
WPAS_MODE_P2P_GO = 3,
WPAS_MODE_P2P_GROUP_FORMATION = 4,
} mode;
BR
--
Janusz
More information about the Hostap
mailing list