wpa_supplicant: network mode(infrastructure or ad-hoc)

Jouni Malinen jkmaline
Mon Aug 28 19:57:43 PDT 2006


On Mon, Aug 28, 2006 at 10:16:31PM +0530, Pradeep Sengar wrote:

> Is there any way in  wpa_supplicant  to scan the available networks and know
> wheather it supports infrastructure or ad-hoc mode?.

Yes, the scan results include a capability flag for IBSS. Internally,
this is the IEEE80211_CAP_IBSS flag and in scan results from the
ctrl_iface, this is shown with [IBSS] in the flags field.
 
-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list