aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/brcm80211/sys/wlc_mac80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/brcm80211/sys/wlc_mac80211.h')
-rw-r--r--drivers/staging/brcm80211/sys/wlc_mac80211.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/brcm80211/sys/wlc_mac80211.h b/drivers/staging/brcm80211/sys/wlc_mac80211.h
index 9d0d8f336dd..04615881311 100644
--- a/drivers/staging/brcm80211/sys/wlc_mac80211.h
+++ b/drivers/staging/brcm80211/sys/wlc_mac80211.h
@@ -306,13 +306,11 @@ typedef struct wlc_stf {
306 * core state (mac) 306 * core state (mac)
307 */ 307 */
308typedef struct wlccore { 308typedef struct wlccore {
309#ifdef WLC_LOW
310 uint coreidx; /* # sb enumerated core */ 309 uint coreidx; /* # sb enumerated core */
311 310
312 /* fifo */ 311 /* fifo */
313 uint *txavail[NFIFO]; /* # tx descriptors available */ 312 uint *txavail[NFIFO]; /* # tx descriptors available */
314 s16 txpktpend[NFIFO]; /* tx admission control */ 313 s16 txpktpend[NFIFO]; /* tx admission control */
315#endif /* WLC_LOW */
316 314
317 macstat_t *macstat_snapshot; /* mac hw prev read values */ 315 macstat_t *macstat_snapshot; /* mac hw prev read values */
318} wlccore_t; 316} wlccore_t;
@@ -406,7 +404,6 @@ struct wlc_if {
406/* flags for the interface */ 404/* flags for the interface */
407#define WLC_IF_LINKED 0x02 /* this interface is linked to a wl_if */ 405#define WLC_IF_LINKED 0x02 /* this interface is linked to a wl_if */
408 406
409#ifdef WLC_LOW
410typedef struct wlc_hwband { 407typedef struct wlc_hwband {
411 int bandtype; /* WLC_BAND_2G, WLC_BAND_5G */ 408 int bandtype; /* WLC_BAND_2G, WLC_BAND_5G */
412 uint bandunit; /* bandstate[] index */ 409 uint bandunit; /* bandstate[] index */
@@ -423,7 +420,6 @@ typedef struct wlc_hwband {
423 wlc_phy_t *pi; /* pointer to phy specific information */ 420 wlc_phy_t *pi; /* pointer to phy specific information */
424 bool abgphy_encore; 421 bool abgphy_encore;
425} wlc_hwband_t; 422} wlc_hwband_t;
426#endif /* WLC_LOW */
427 423
428struct wlc_hw_info { 424struct wlc_hw_info {
429#ifdef WLC_SPLIT 425#ifdef WLC_SPLIT
@@ -436,7 +432,6 @@ struct wlc_hw_info {
436 /* fifo */ 432 /* fifo */
437 hnddma_t *di[NFIFO]; /* hnddma handles, per fifo */ 433 hnddma_t *di[NFIFO]; /* hnddma handles, per fifo */
438 434
439#ifdef WLC_LOW
440 uint unit; /* device instance number */ 435 uint unit; /* device instance number */
441 436
442 /* version info */ 437 /* version info */
@@ -502,7 +497,6 @@ struct wlc_hw_info {
502 * 0 = N/A, 1 = 2x4 board, 2 = 2x3 CB2 board 497 * 0 = N/A, 1 = 2x4 board, 2 = 2x3 CB2 board
503 */ 498 */
504 u32 antsel_avail; /* put antsel_info_t here if more info is needed */ 499 u32 antsel_avail; /* put antsel_info_t here if more info is needed */
505#endif /* WLC_LOW */
506}; 500};
507 501
508/* TX Queue information 502/* TX Queue information
@@ -817,11 +811,7 @@ struct antsel_info {
817#define IS_MBAND_UNLOCKED(wlc) \ 811#define IS_MBAND_UNLOCKED(wlc) \
818 ((NBANDS(wlc) > 1) && !(wlc)->bandlocked) 812 ((NBANDS(wlc) > 1) && !(wlc)->bandlocked)
819 813
820#ifdef WLC_LOW
821#define WLC_BAND_PI_RADIO_CHANSPEC wlc_phy_chanspec_get(wlc->band->pi) 814#define WLC_BAND_PI_RADIO_CHANSPEC wlc_phy_chanspec_get(wlc->band->pi)
822#else
823#define WLC_BAND_PI_RADIO_CHANSPEC (wlc->chanspec)
824#endif
825 815
826/* sum the individual fifo tx pending packet counts */ 816/* sum the individual fifo tx pending packet counts */
827#define TXPKTPENDTOT(wlc) ((wlc)->core->txpktpend[0] + (wlc)->core->txpktpend[1] + \ 817#define TXPKTPENDTOT(wlc) ((wlc)->core->txpktpend[0] + (wlc)->core->txpktpend[1] + \
@@ -881,10 +871,8 @@ extern void wlc_print_txdesc(d11txh_t *txh);
881extern void wlc_print_dot11_mac_hdr(u8 *buf, int len); 871extern void wlc_print_dot11_mac_hdr(u8 *buf, int len);
882#endif 872#endif
883 873
884#ifdef WLC_LOW
885extern void wlc_setxband(wlc_hw_info_t *wlc_hw, uint bandunit); 874extern void wlc_setxband(wlc_hw_info_t *wlc_hw, uint bandunit);
886extern void wlc_coredisable(wlc_hw_info_t *wlc_hw); 875extern void wlc_coredisable(wlc_hw_info_t *wlc_hw);
887#endif
888 876
889extern bool wlc_valid_rate(wlc_info_t *wlc, ratespec_t rate, int band, 877extern bool wlc_valid_rate(wlc_info_t *wlc, ratespec_t rate, int band,
890 bool verbose); 878 bool verbose);