P2P_CLIENT or STATION - how to check this?
raghunathan.kailasanathan at wipro.com
Wed Apr 6 23:20:18 PDT 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
> 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)
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.
More information about the Hostap