Re: Is there user mode(wpa_supplicant) and driver mode setting in ipw2200?

Paolo <[email protected]> Mon, 5 Nov 2007 14:27:49 +0100
Newsgroups gmane.linux.drivers.ipw2100.devel
Message-ID <20071105132748.GM4681@localhost>
On Mon, Nov 05, 2007 at 04:29:18AM -0800, jagadish nadimpalli wrote:
>          I am working with wpa_supplicant-0.4.8 and ipw2200-1.2.2.

btw, I'd rather use a more recent release

>    After starting wpa_supplicant, its operations are as follows.
>    Step-1: Bring up the wireless interface.
>    Step-2: Set WPA mode through SIOCSIWAUTH ioctl
>    Step-3: Initiate scan.
>    Step-4: Try to associate with configured network. Using SIOCSIWESSID
>    ioctl.
>    After step-1, driver(ipw2200) initiates scan and try to associate with
>    best matched network.

I think that depends (also) on values of module params:

parm:           auto_create:auto create adhoc network (default on) (int)
parm:           associate:auto associate when scanning (default on) (int)

>    Is there any way to put ipw2200 driver in user mode so that scanning,
>    association e.t.c operations are in the control of user process(E.g.,
>    wpa_supplicant)? I mean, can we stop driver doing its operations while
>    using wpa_supplicant?

Perhaps wpa_supplicant.conf provides some hints:

# AP scanning/selection
# By default, wpa_supplicant requests driver to perform AP scanning and then
# uses the scan results to select a suitable AP. Another alternative is to
# allow the driver to take care of AP scanning and selection and use
# wpa_supplicant just to process EAPOL frames based on IEEE 802.11 association
# information from the driver.
# 1: wpa_supplicant initiates scanning and AP selection
# 0: driver takes care of scanning, AP selection, and IEEE 802.11 association
#    parameters (e.g., WPA IE generation); this mode can also be used with
#    non-WPA drivers when using IEEE 802.1X mode; do not try to associate with
#    APs (i.e., external program needs to control association)
# 2: like 0, but associate with APs using security policy and SSID (but not
#    BSSID); this can be used, e.g., with ndiswrapper and NDIS driver to
#    enable operation with hidden SSIDs and optimized roaming; in this mode,
#    only the first network block in the configuration file is used and this
#    configuration should have explicit security policy (i.e., only one option
#    in the lists) for key_mgmt, pairwise, group, proto variables
#ap_scan=2

HTH
--
paolo

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/