Skip to content

Commit

Permalink
[PATCH] bcm43xx: Wireless Ext update
Browse files Browse the repository at this point in the history
Wireless Ext update:
update we_version_source
set enc_capa

Signed-off-by: Michael Buesch <mbuesch@freenet.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Michael Buesch authored and John W. Linville committed Mar 27, 2006
1 parent 6465ce1 commit 8fa252d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion drivers/net/wireless/bcm43xx/bcm43xx_wx.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
#include "bcm43xx_main.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 BCM43xx_WX_DEBUG

Expand Down Expand Up @@ -282,7 +287,12 @@ static int bcm43xx_wx_get_rangeparams(struct net_device *net_dev,
range->max_encoding_tokens = WEP_KEYS;

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);

Expand Down

0 comments on commit 8fa252d

Please sign in to comment.