staging: brcm80211: removed wl_export.h
Code cleanup, reducing number of header files. Merged into brcmsmac_80211.h. Signed-off-by: Roland Vossen <rvossen@broadcom.com> Reviewed-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
da4ef2aea5
commit
72a27fb842
@ -40,7 +40,6 @@
|
|||||||
#include "wlc_channel.h"
|
#include "wlc_channel.h"
|
||||||
#include "wlc_scb.h"
|
#include "wlc_scb.h"
|
||||||
#include "wlc_pub.h"
|
#include "wlc_pub.h"
|
||||||
#include "wl_export.h"
|
|
||||||
#include "ucode_loader.h"
|
#include "ucode_loader.h"
|
||||||
#include "brcms_mac80211.h"
|
#include "brcms_mac80211.h"
|
||||||
|
|
||||||
|
@ -78,4 +78,32 @@ struct brcms_info {
|
|||||||
struct brcms_firmware fw;
|
struct brcms_firmware fw;
|
||||||
struct wiphy *wiphy;
|
struct wiphy *wiphy;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* misc callbacks */
|
||||||
|
struct brcms_info;
|
||||||
|
struct brcms_if;
|
||||||
|
struct wlc_if;
|
||||||
|
extern void brcms_init(struct brcms_info *wl);
|
||||||
|
extern uint brcms_reset(struct brcms_info *wl);
|
||||||
|
extern void brcms_intrson(struct brcms_info *wl);
|
||||||
|
extern u32 brcms_intrsoff(struct brcms_info *wl);
|
||||||
|
extern void brcms_intrsrestore(struct brcms_info *wl, u32 macintmask);
|
||||||
|
extern int brcms_up(struct brcms_info *wl);
|
||||||
|
extern void brcms_down(struct brcms_info *wl);
|
||||||
|
extern void brcms_txflowcontrol(struct brcms_info *wl, struct brcms_if *wlif,
|
||||||
|
bool state, int prio);
|
||||||
|
extern bool wl_alloc_dma_resources(struct brcms_info *wl, uint dmaddrwidth);
|
||||||
|
extern bool brcms_rfkill_set_hw_state(struct brcms_info *wl);
|
||||||
|
|
||||||
|
/* timer functions */
|
||||||
|
struct brcms_timer;
|
||||||
|
extern struct brcms_timer *brcms_init_timer(struct brcms_info *wl,
|
||||||
|
void (*fn) (void *arg), void *arg,
|
||||||
|
const char *name);
|
||||||
|
extern void brcms_free_timer(struct brcms_info *wl, struct brcms_timer *timer);
|
||||||
|
extern void brcms_add_timer(struct brcms_info *wl, struct brcms_timer *timer,
|
||||||
|
uint ms, int periodic);
|
||||||
|
extern bool brcms_del_timer(struct brcms_info *wl, struct brcms_timer *timer);
|
||||||
|
extern void brcms_msleep(struct brcms_info *wl, uint ms);
|
||||||
|
|
||||||
#endif /* _wl_mac80211_h_ */
|
#endif /* _wl_mac80211_h_ */
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2010 Broadcom Corporation
|
|
||||||
*
|
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
|
||||||
* copyright notice and this permission notice appear in all copies.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
||||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
||||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
||||||
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
||||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
|
||||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _wl_export_h_
|
|
||||||
#define _wl_export_h_
|
|
||||||
|
|
||||||
/* misc callbacks */
|
|
||||||
struct brcms_info;
|
|
||||||
struct brcms_if;
|
|
||||||
struct wlc_if;
|
|
||||||
extern void brcms_init(struct brcms_info *wl);
|
|
||||||
extern uint brcms_reset(struct brcms_info *wl);
|
|
||||||
extern void brcms_intrson(struct brcms_info *wl);
|
|
||||||
extern u32 brcms_intrsoff(struct brcms_info *wl);
|
|
||||||
extern void brcms_intrsrestore(struct brcms_info *wl, u32 macintmask);
|
|
||||||
extern int brcms_up(struct brcms_info *wl);
|
|
||||||
extern void brcms_down(struct brcms_info *wl);
|
|
||||||
extern void brcms_txflowcontrol(struct brcms_info *wl, struct brcms_if *wlif,
|
|
||||||
bool state, int prio);
|
|
||||||
extern bool wl_alloc_dma_resources(struct brcms_info *wl, uint dmaddrwidth);
|
|
||||||
extern bool brcms_rfkill_set_hw_state(struct brcms_info *wl);
|
|
||||||
|
|
||||||
/* timer functions */
|
|
||||||
struct brcms_timer;
|
|
||||||
extern struct brcms_timer *brcms_init_timer(struct brcms_info *wl,
|
|
||||||
void (*fn) (void *arg), void *arg,
|
|
||||||
const char *name);
|
|
||||||
extern void brcms_free_timer(struct brcms_info *wl, struct brcms_timer *timer);
|
|
||||||
extern void brcms_add_timer(struct brcms_info *wl, struct brcms_timer *timer,
|
|
||||||
uint ms, int periodic);
|
|
||||||
extern bool brcms_del_timer(struct brcms_info *wl, struct brcms_timer *timer);
|
|
||||||
extern void brcms_msleep(struct brcms_info *wl, uint ms);
|
|
||||||
|
|
||||||
#endif /* _wl_export_h_ */
|
|
@ -31,7 +31,6 @@
|
|||||||
#include "wlc_key.h"
|
#include "wlc_key.h"
|
||||||
#include "phy/wlc_phy_hal.h"
|
#include "phy/wlc_phy_hal.h"
|
||||||
#include "wlc_antsel.h"
|
#include "wlc_antsel.h"
|
||||||
#include "wl_export.h"
|
|
||||||
#include "wlc_channel.h"
|
#include "wlc_channel.h"
|
||||||
#include "wlc_main.h"
|
#include "wlc_main.h"
|
||||||
#include "wlc_ampdu.h"
|
#include "wlc_ampdu.h"
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
#include "wlc_bmac.h"
|
#include "wlc_bmac.h"
|
||||||
#include "wlc_channel.h"
|
#include "wlc_channel.h"
|
||||||
#include "wlc_main.h"
|
#include "wlc_main.h"
|
||||||
#include "wl_export.h"
|
|
||||||
#include "wlc_antsel.h"
|
#include "wlc_antsel.h"
|
||||||
|
|
||||||
#define ANT_SELCFG_AUTO 0x80 /* bit indicates antenna sel AUTO */
|
#define ANT_SELCFG_AUTO 0x80 /* bit indicates antenna sel AUTO */
|
||||||
|
@ -44,11 +44,11 @@
|
|||||||
#include "phy/wlc_phy_hal.h"
|
#include "phy/wlc_phy_hal.h"
|
||||||
#include "wlc_channel.h"
|
#include "wlc_channel.h"
|
||||||
#include "wlc_main.h"
|
#include "wlc_main.h"
|
||||||
#include "wl_export.h"
|
|
||||||
#include "ucode_loader.h"
|
#include "ucode_loader.h"
|
||||||
#include "wlc_antsel.h"
|
#include "wlc_antsel.h"
|
||||||
#include "wlc_alloc.h"
|
#include "wlc_alloc.h"
|
||||||
#include "wlc_bmac.h"
|
#include "wlc_bmac.h"
|
||||||
|
#include "brcms_mac80211.h"
|
||||||
|
|
||||||
#define TIMER_INTERVAL_WATCHDOG_BMAC 1000 /* watchdog timer, in unit of ms */
|
#define TIMER_INTERVAL_WATCHDOG_BMAC 1000 /* watchdog timer, in unit of ms */
|
||||||
|
|
||||||
|
@ -46,7 +46,6 @@
|
|||||||
#include "wlc_antsel.h"
|
#include "wlc_antsel.h"
|
||||||
#include "wlc_stf.h"
|
#include "wlc_stf.h"
|
||||||
#include "wlc_ampdu.h"
|
#include "wlc_ampdu.h"
|
||||||
#include "wl_export.h"
|
|
||||||
#include "wlc_alloc.h"
|
#include "wlc_alloc.h"
|
||||||
#include "brcms_mac80211.h"
|
#include "brcms_mac80211.h"
|
||||||
|
|
||||||
|
@ -44,9 +44,9 @@
|
|||||||
#include "wlc_key.h"
|
#include "wlc_key.h"
|
||||||
#include "wlc_bmac.h"
|
#include "wlc_bmac.h"
|
||||||
#include "wlc_phy_hal.h"
|
#include "wlc_phy_hal.h"
|
||||||
#include "wl_export.h"
|
|
||||||
#include "wlc_main.h"
|
#include "wlc_main.h"
|
||||||
#include "wlc_phy_shim.h"
|
#include "wlc_phy_shim.h"
|
||||||
|
#include "brcms_mac80211.h"
|
||||||
|
|
||||||
/* PHY SHIM module specific state */
|
/* PHY SHIM module specific state */
|
||||||
struct wlc_phy_shim_info {
|
struct wlc_phy_shim_info {
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
#include "phy/wlc_phy_hal.h"
|
#include "phy/wlc_phy_hal.h"
|
||||||
#include "wlc_channel.h"
|
#include "wlc_channel.h"
|
||||||
#include "wlc_main.h"
|
#include "wlc_main.h"
|
||||||
#include "wl_export.h"
|
|
||||||
#include "wlc_bmac.h"
|
#include "wlc_bmac.h"
|
||||||
#include "wlc_stf.h"
|
#include "wlc_stf.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user