Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259421
b: refs/heads/master
c: a9cfc9b
h: refs/heads/master
i:
  259419: c3c3a47
v: v3
  • Loading branch information
Roland Vossen authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent 19f23e4 commit 406413b
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 154 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b745b6bb468ee308ac3b9884fd80e71f2bd8315a
refs/heads/master: a9cfc9b0b5ce1e52a1486553a9dad82df0ef3755
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "types.h"
#include "scb.h"
#include "pub.h"
#include "key.h"
#include "alloc.h"
#include "rate.h"
#include "phy/phy_hal.h"
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/ampdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "rate.h"
#include "scb.h"
#include "pub.h"
#include "key.h"
#include "phy/phy_hal.h"
#include "antsel.h"
#include "channel.h"
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/antsel.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

#include "d11.h"
#include "rate.h"
#include "key.h"
#include "scb.h"
#include "pub.h"
#include "phy/phy_hal.h"
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/bottom_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#include "rate.h"
#include "scb.h"
#include "pub.h"
#include "key.h"
#include "phy/phy_hal.h"
#include "channel.h"
#include "main.h"
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "d11.h"
#include "scb.h"
#include "pub.h"
#include "key.h"
#include "phy/phy_hal.h"
#include "bottom_mac.h"
#include "rate.h"
Expand Down
142 changes: 0 additions & 142 deletions trunk/drivers/staging/brcm80211/brcmsmac/key.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/mac80211_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include "phy/phy_int.h"
#include "d11.h"
#include "types.h"
#include "key.h"
#include "channel.h"
#include "scb.h"
#include "pub.h"
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/staging/brcm80211/brcmsmac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include "rate.h"
#include "scb.h"
#include "pub.h"
#include "key.h"
#include "phy/phy_hal.h"
#include "channel.h"
#include "main.h"
Expand Down Expand Up @@ -521,8 +520,6 @@ void wlc_init(struct wlc_info *wlc)
}
}

wlc_key_hw_init_all(wlc);

wlc_bandinit_ordered(wlc, chanspec);

wlc_init_scb(wlc, &global_scb);
Expand Down
43 changes: 43 additions & 0 deletions trunk/drivers/staging/brcm80211/brcmsmac/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,49 @@ struct wlc_stf {
#define WLC_HT_WEP_RESTRICT 0x01 /* restrict HT with WEP */
#define WLC_HT_TKIP_RESTRICT 0x02 /* restrict HT with TKIP */

/* Maximum # of keys that wl driver supports in S/W.
* Keys supported in H/W is less than or equal to WSEC_MAX_KEYS.
*/
#define WSEC_MAX_KEYS 54 /* Max # of keys (50 + 4 default keys) */
#define WLC_DEFAULT_KEYS 4 /* Default # of keys */

/*
* Max # of keys currently supported:
*
* s/w keys if WSEC_SW(wlc->wsec).
* h/w keys otherwise.
*/
#define WLC_MAX_WSEC_KEYS(wlc) WSEC_MAX_KEYS

/* number of 802.11 default (non-paired, group keys) */
#define WSEC_MAX_DEFAULT_KEYS 4 /* # of default keys */

typedef struct wsec_iv {
u32 hi; /* upper 32 bits of IV */
u16 lo; /* lower 16 bits of IV */
} wsec_iv_t;

#define WLC_NUMRXIVS 16 /* # rx IVs (one per 802.11e TID) */

typedef struct wsec_key {
u8 ea[ETH_ALEN]; /* per station */
u8 idx; /* key index in wsec_keys array */
u8 id; /* key ID [0-3] */
u8 algo; /* CRYPTO_ALGO_AES_CCM, CRYPTO_ALGO_WEP128, etc */
u8 rcmta; /* rcmta entry index, same as idx by default */
u16 flags; /* misc flags */
u8 algo_hw; /* cache for hw register */
u8 aes_mode; /* cache for hw register */
s8 iv_len; /* IV length */
s8 icv_len; /* ICV length */
u32 len; /* key length..don't move this var */
/* data is 4byte aligned */
u8 data[WLAN_MAX_KEY_LEN]; /* key data */
wsec_iv_t rxiv[WLC_NUMRXIVS]; /* Rx IV (one per TID) */
wsec_iv_t txiv; /* Tx IV */

} wsec_key_t;

/*
* core state (mac)
*/
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/phy_shim.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include "phy/phy_hal.h"
#include "channel.h"
#include "srom.h"
#include "key.h"
#include "bottom_mac.h"
#include "phy_hal.h"
#include "main.h"
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/stf.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "rate.h"
#include "scb.h"
#include "pub.h"
#include "key.h"
#include "phy/phy_hal.h"
#include "channel.h"
#include "main.h"
Expand Down

0 comments on commit 406413b

Please sign in to comment.