Re: RFC: WPA-related API changes



On Tue, 2005-12-06 at 16:05 -0500, Dan Williams wrote:

> 1) Adopt wireless-tools constants wholesale for keytype and
> authentication modes.  While some of these are actually bitfield
> positions, that doesn't really matter for us.  The NM API would then
> accept constants like IW_AUTH_CIPHER_WEP104 and IW_AUTH_CIPHER_TKIP
> rather than stuff like NM_ENC_TYPE_128_BIT_PASSPHRASE.  802.11 auth
> methods would map directly to wireless-tools equivalents, such as:
> 
> NetworkManager                       wireless-tools
> -------------------------------------------------------------------
> NM_DEVICE_AUTH_METHOD_NONE           -
> NM_DEVICE_AUTH_METHOD_OPEN_SYSTEM    IW_AUTH_ALG_OPEN_SYSTEM
> NM_DEVICE_AUTH_METHOD_SHARED_KEY     IW_AUTH_ALG_SHARED_KEY

I just checked this in for NM_DEVICE_AUTH_METHOD_*.  Should be what you
want.

	Robert Love





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]