From: Dan Williams Subject: [patch] ipw2100: support WEXT-18 enc_capa v3 Date: Mon, 09 Jan 2006 10:54:57 -0500 Message-ID: <1136822098.7941.13.camel@dhcp83-115.boston.redhat.com> References: <1136820457.7941.4.camel@dhcp83-115.boston.redhat.com> <43C282A5.6010609@pobox.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: jketreno@linux.intel.com, netdev@vger.kernel.org, ipw2100-devel@lists.sourceforge.net Return-path: To: Jeff Garzik In-Reply-To: <43C282A5.6010609@pobox.com> Sender: ipw2100-devel-admin@lists.sourceforge.net Errors-To: ipw2100-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: List-Id: netdev.vger.kernel.org Hi, This patch allows ipw2100 driver to advertise the WPA-related encryption options that it does really support. It's necessary to work correctly with NetworkManager and other programs that actually check driver & card capabilities. Signed-off-by: Dan Williams --- a/drivers/net/wireless/ipw2100.c 2006-01-08 14:04:00.000000000 -0500 +++ b/drivers/net/wireless/ipw2100.c 2006-01-08 15:47:37.000000000 -0500 @@ -7236,7 +7236,7 @@ /* Set the Wireless Extension versions */ range->we_version_compiled = WIRELESS_EXT; - range->we_version_source = 16; + range->we_version_source = 18; // range->retry_capa; /* What retry options are supported */ // range->retry_flags; /* How to decode max/min retry limit */ @@ -7262,6 +7262,9 @@ } range->num_frequency = val; + range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 | + IW_ENC_CAPA_CIPHER_TKIP | IW_ENC_CAPA_CIPHER_CCMP; + IPW_DEBUG_WX("GET Range\n"); return 0; ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click