Commit 8fa252d0 authored by Michael Buesch's avatar Michael Buesch Committed by John W. Linville

[PATCH] bcm43xx: Wireless Ext update

Wireless Ext update:
update we_version_source
set enc_capa
Signed-off-by: default avatarMichael Buesch <mbuesch@freenet.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 6465ce1b
...@@ -41,6 +41,11 @@ ...@@ -41,6 +41,11 @@
#include "bcm43xx_main.h" #include "bcm43xx_main.h"
#include "bcm43xx_radio.h" #include "bcm43xx_radio.h"
/* The WIRELESS_EXT version, which is implemented by this driver. */
#define BCM43xx_WX_VERSION 18
/* Define to enable a printk on each wx handler function invocation */ /* Define to enable a printk on each wx handler function invocation */
//#define BCM43xx_WX_DEBUG //#define BCM43xx_WX_DEBUG
...@@ -282,7 +287,12 @@ static int bcm43xx_wx_get_rangeparams(struct net_device *net_dev, ...@@ -282,7 +287,12 @@ static int bcm43xx_wx_get_rangeparams(struct net_device *net_dev,
range->max_encoding_tokens = WEP_KEYS; range->max_encoding_tokens = WEP_KEYS;
range->we_version_compiled = WIRELESS_EXT; range->we_version_compiled = WIRELESS_EXT;
range->we_version_source = 16; range->we_version_source = BCM43xx_WX_VERSION;
range->enc_capa = IW_ENC_CAPA_WPA |
IW_ENC_CAPA_WPA2 |
IW_ENC_CAPA_CIPHER_TKIP |
IW_ENC_CAPA_CIPHER_CCMP;
spin_lock_irqsave(&bcm->lock, flags); spin_lock_irqsave(&bcm->lock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment