P2P_CLIENT or STATION - how to check this?

raghunathan.kailasanathan at wipro.com raghunathan.kailasanathan at wipro.com
Thu Apr 7 02:20:18 EDT 2011


> 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 guess information given by "wpa_cli status" for the appropriate 
interface should have the details (for P2P , there is a mode
field which shows whether it is a client or GO)


--Raghu

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com


More information about the HostAP mailing list