*/
/* ****************** BCMSDH Interface Functions *************************** */
-#include <typedefs.h>
+#include <linux/types.h>
+#include <bcmdefs.h>
#include <bcmdevs.h>
#include <bcmendian.h>
#include <bcmutils.h>
#define __UNDEF_NO_VERSION__
-#include <typedefs.h>
#include <linuxver.h>
#include <linux/pci.h>
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
-
+#include <linux/types.h>
+#include <bcmdefs.h>
#include <bcmdevs.h>
#include <bcmendian.h>
#include <bcmutils.h>
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-
-#include <typedefs.h>
+#include <linux/types.h>
+#include <linux/sched.h> /* request_irq() */
+#include <bcmdefs.h>
#include <bcmutils.h>
#include <sdio.h> /* SDIO Specs */
#include <bcmsdbus.h> /* bcmsdh to/from specific controller APIs */
#include <sdiovar.h> /* to get msglevel bit values */
-#include <linux/sched.h> /* request_irq() */
-
#include <linux/mmc/core.h>
#include <linux/mmc/card.h>
#include <linux/mmc/sdio_func.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
+#include <linux/types.h>
+#include <bcmdefs.h>
#include <osl.h>
#include <bcmutils.h>
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
-#include <osl.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <bcmdefs.h>
+#include <osl.h>
#include <bcmutils.h>
#include <bcmendian.h>
#include <dngl_stats.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
#include <linuxver.h>
#include <osl.h>
#include <bcmutils.h>
#ifdef CONFIG_WIFI_CONTROL_FUNC
#include <linux/platform_device.h>
#endif
-#include <typedefs.h>
-#include <linuxver.h>
-#include <osl.h>
-
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux/ethtool.h>
#include <linux/fcntl.h>
#include <linux/fs.h>
-
#include <linux/uaccess.h>
+#include <bcmdefs.h>
+#include <linuxver.h>
+#include <osl.h>
#include <bcmutils.h>
#include <bcmendian.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
+#include <linux/types.h>
+#include <bcmdefs.h>
#include <osl.h>
#include <bcmsdh.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
+#include <linux/kernel.h>
+#include <linux/if_arp.h>
#include <linuxver.h>
#include <osl.h>
-#include <linux/kernel.h>
#include <bcmutils.h>
#include <bcmendian.h>
#include <proto/ethernet.h>
-#include <linux/if_arp.h>
#include <asm/uaccess.h>
#include <dngl_stats.h>
#include <dngl_stats.h>
#include <dhd.h>
-#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux/netdevice.h>
#include <linux/sched.h>
#define _wl_cfg80211_h_
#include <linux/wireless.h>
-#include <typedefs.h>
-#include <proto/ethernet.h>
-#include <wlioctl.h>
#include <linux/wireless.h>
#include <net/cfg80211.h>
+#include <proto/ethernet.h>
+#include <wlioctl.h>
struct wl_conf;
struct wl_iface;
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <wlioctl.h>
-
-#include <typedefs.h>
-#include <linuxver.h>
#include <linux/kthread.h>
+#include <bcmdefs.h>
+#include <linuxver.h>
#include <osl.h>
+#include <wlioctl.h>
#include <bcmutils.h>
#include <bcmendian.h>
#include <linux/wireless.h>
-#include <typedefs.h>
#include <proto/ethernet.h>
#include <wlioctl.h>
#ifndef _BCM_RPC_H_
#define _BCM_RPC_H_
-#include <typedefs.h>
#include <rpc_osl.h>
typedef struct rpc_info rpc_info_t;
#define JTAG_BUS 4
#define USB_BUS 5
#define SPI_BUS 6
-/*
- * One doesn't need to include this file explicitly, gets included automatically if
- * typedefs.h is included.
- */
+
+
+#ifndef OFF
+#define OFF 0
+#endif
+
+#ifndef ON
+#define ON 1 /* ON = 1 */
+#endif
+
+#define AUTO (-1) /* Auto = -1 */
#ifdef mips
#define BCMFASTPATH __attribute__ ((__section__(".text.fastpath")))
#ifndef _BCMENDIAN_H_
#define _BCMENDIAN_H_
-#include <typedefs.h>
-
/* Reverse the bytes in a 16-bit value */
#define BCMSWAP16(val) \
((u16)((((u16)(val) & (u16)0x00ffU) << 8) | \
#ifndef _LANGUAGE_ASSEMBLY
-#include <typedefs.h>
#include <bcmdefs.h>
struct nvram_header {
#ifndef _D11_H
#define _D11_H
-#include <typedefs.h>
+#include <bcmdefs.h>
#include <bcmdevs.h>
#include <hndsoc.h>
#include <sbhndpio.h>
#ifndef __DBUS_H__
#define __DBUS_H__
-#include "typedefs.h"
-
#ifdef BCMDBG
#define DBUSERR(args) do { if (net_ratelimit()) printf args; } while (0)
#define DBUSTRACE(args)
#ifndef _dhdioctl_h_
#define _dhdioctl_h_
-#include <typedefs.h>
-
/* require default structure packing */
#define BWL_DEFAULT_PACKING
#include <packed_section_start.h>
#ifndef _LANGUAGE_ASSEMBLY
-#include <typedefs.h>
-
typedef struct _trap_struct {
u32 type;
u32 epc;
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
-
#define CBUF_LEN (128)
#define LOG_BUF_LEN 1024
#ifndef _linux_osl_h_
#define _linux_osl_h_
-#ifdef BRCM_FULLMAC
-#include <typedefs.h>
-#endif
/* Linux Kernel: File Operations: start */
extern void *osl_os_open_image(char *filename);
#ifndef _MSGTRACE_H
#define _MSGTRACE_H
-#include <typedefs.h>
-
/* This marks the start of a packed structure section. */
#include <packed_section_start.h>
#ifndef _802_11_H_
#define _802_11_H_
-#include <typedefs.h>
#include <proto/wpa.h>
#include <packed_section_start.h>
#ifndef _BCMETH_H_
#define _BCMETH_H_
-#include <typedefs.h>
#include <packed_section_start.h>
#define BCMILCP_SUBTYPE_RATE 1
#ifndef _BCMEVENT_H_
#define _BCMEVENT_H_
-#include <typedefs.h>
#include <packed_section_start.h>
#define BCM_EVENT_MSG_VERSION 1
#ifndef _bcmip_h_
#define _bcmip_h_
-#include <typedefs.h>
#include <packed_section_start.h>
#define IP_VER_OFFSET 0x0
#ifndef _NET_ETHERNET_H_
#define _NET_ETHERNET_H_
-#include "typedefs.h"
#include <packed_section_start.h>
#define ETHER_ADDR_LEN 6
#ifndef _vlan_h_
#define _vlan_h_
-#include <typedefs.h>
#include <packed_section_start.h>
#define VLAN_VID_MASK 0xfff
#ifndef _proto_wpa_h_
#define _proto_wpa_h_
-#include <typedefs.h>
#include <proto/ethernet.h>
#include <packed_section_start.h>
#ifndef __QMATH_H__
#define __QMATH_H__
-#include <typedefs.h>
-
s16 qm_sat32(s32 op);
s32 qm_mul321616(s16 op1, s16 op2);
#ifndef _sdiovar_h_
#define _sdiovar_h_
-#include <typedefs.h>
-
/* require default structure packing */
#define BWL_DEFAULT_PACKING
#include <packed_section_start.h>
+++ /dev/null
-/*
- * 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 _TYPEDEFS_H_
-#define _TYPEDEFS_H_
-
-#include <linux/types.h>
-
-#ifndef OFF
-#define OFF 0
-#endif
-
-#ifndef ON
-#define ON 1 /* ON = 1 */
-#endif
-
-#define AUTO (-1) /* Auto = -1 */
-
-
-/*
- * Including the bcmdefs.h here, to make sure everyone including typedefs.h
- * gets this automatically
-*/
-#include <bcmdefs.h>
-
-#endif /* _TYPEDEFS_H_ */
#ifndef _wlioctl_h_
#define _wlioctl_h_
-#include <typedefs.h>
#include <proto/ethernet.h>
#ifdef BRCM_FULLMAC
#include <proto/bcmeth.h>
#include <wlc_cfg.h>
-#include <typedefs.h>
-#include <osl.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <bcmdefs.h>
+#include <osl.h>
#include <linuxver.h>
#include <bcmendian.h>
#include <bcmnvram.h>
#ifndef _wlc_phy_h_
#define _wlc_phy_h_
-#include <typedefs.h>
#include <wlioctl.h>
#include <siutils.h>
#include <d11.h>
#ifndef _wlc_phy_int_h_
#define _wlc_phy_int_h_
-#include <typedefs.h>
+#include <linux/kernel.h>
+#include <bcmdefs.h>
#include <bcmutils.h>
#include <bcmsrom_fmt.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/bitops.h>
#include <wlc_cfg.h>
#include <qmath.h>
#include <osl.h>
-#include <linux/kernel.h>
-#include <linux/string.h>
#include <linuxver.h>
#include <siutils.h>
-#include <linux/bitops.h>
#include <hndpmu.h>
#include <wlc_phy_radio.h>
#ifndef _wlc_phy_lcn_h_
#define _wlc_phy_lcn_h_
-#include <typedefs.h>
-
struct phy_info_lcnphy {
int lcnphy_txrf_sp_9_override;
u8 lcnphy_full_cal_channel;
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <wlc_cfg.h>
-#include <typedefs.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <bcmdefs.h>
+#include <wlc_cfg.h>
#include <linuxver.h>
#include <osl.h>
#include <siutils.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
-
+#include <linux/types.h>
#include <wlc_phy_int.h>
#include <wlc_phytbl_lcn.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
+#include <linux/kernel.h>
#include <wlc_phy_int.h>
#include <wlc_phytbl_n.h>
#define __UNDEF_NO_VERSION__
-#include <typedefs.h>
-#include <linuxver.h>
-#include <osl.h>
#include <linux/kernel.h>
#include <linux/etherdevice.h>
#include <linux/string.h>
#include <linux/pci_ids.h>
+#include <bcmdefs.h>
+#include <linuxver.h>
+#include <osl.h>
#define WLC_MAXBSSCFG 1 /* single BSS configs */
#include <wlc_cfg.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
typedef struct d11init {
u16 addr;
u16 size;
*/
typedef struct wl_info wl_info_t;
-#include <typedefs.h>
+#include <linux/types.h>
+#include <bcmdefs.h>
#include <d11ucode_ext.h>
#include <wl_ucode.h>
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-
-#include <wlc_cfg.h>
-#include <typedefs.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <bcmdefs.h>
+#include <wlc_cfg.h>
#include <linuxver.h>
#include <osl.h>
#include <bcmutils.h>
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-
+#include <linux/kernel.h>
#include <wlc_cfg.h>
-#include <typedefs.h>
+#include <bcmdefs.h>
#include <linuxver.h>
#include <bcmdefs.h>
#include <osl.h>
#ifdef WLANTSEL
-#include <typedefs.h>
#include <linux/kernel.h>
#include <linuxver.h>
#include <bcmdefs.h>
#error "This file needs WLC_LOW"
#endif
+#include <linux/kernel.h>
#include <wlc_cfg.h>
-#include <typedefs.h>
#include <linuxver.h>
#include <bcmdefs.h>
#include <osl.h>
-#include <linux/kernel.h>
#include <proto/802.11.h>
#include <bcmwifi.h>
#include <bcmutils.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <wlc_cfg.h>
-#include <typedefs.h>
-#include <bcmdefs.h>
-#include <osl.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <bcmdefs.h>
+#include <wlc_cfg.h>
+#include <osl.h>
#include <linuxver.h>
#include <bcmutils.h>
#include <siutils.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
#include <linux/kernel.h>
+#include <bcmdefs.h>
#include <linuxver.h>
#include <bcmutils.h>
#include <siutils.h>
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-
-#include <wlc_cfg.h>
-#include <typedefs.h>
#include <linux/kernel.h>
-#include <linuxver.h>
+#include <linux/ctype.h>
#include <bcmdefs.h>
+#include <wlc_cfg.h>
+#include <linuxver.h>
#include <osl.h>
-#include <linux/ctype.h>
#include <bcmutils.h>
#include <bcmwifi.h>
#include <siutils.h>
* access to wlc_hw pointer.
*/
+#include <linux/kernel.h>
+#include <bcmdefs.h>
#include <wlc_cfg.h>
-#include <typedefs.h>
#include <linuxver.h>
-#include <linux/kernel.h>
#include <bcmutils.h>
-#include <bcmdefs.h>
#include <osl.h>
#include <proto/802.11.h>
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-
+#include <linux/kernel.h>
+#include <bcmdefs.h>
#include <wlc_cfg.h>
-#include <typedefs.h>
#include <osl.h>
-#include <linux/kernel.h>
#include <linuxver.h>
#include <bcmutils.h>
#include <siutils.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <wlc_cfg.h>
-#include <typedefs.h>
#include <linux/kernel.h>
+#include <wlc_cfg.h>
#include <linuxver.h>
#include <bcmdefs.h>
#include <osl.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
-#include <bcmdefs.h>
-#include <osl.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <bcmdefs.h>
+#include <osl.h>
#include <linuxver.h>
#include <bcmutils.h>
#include <siutils.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
-#include <bcmdefs.h>
-#include <osl.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <bcmdefs.h>
+#include <osl.h>
#include <linuxver.h>
#include <bcmdevs.h>
#include <bcmutils.h>
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-
-#include <typedefs.h>
-#include <bcmdefs.h>
-#include <osl.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <bcmdefs.h>
+#include <osl.h>
#include <linuxver.h>
#include <stdarg.h>
#include <bcmutils.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
-#include <bcmdefs.h>
-#include <stdarg.h>
-#include <osl.h>
#include <linux/ctype.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <bcmdefs.h>
+#include <stdarg.h>
+#include <osl.h>
#include <linuxver.h>
#include <bcmutils.h>
#include <siutils.h>
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-
-#include <typedefs.h>
-
-#include <osl.h>
#include <linux/ctype.h>
#include <linux/kernel.h>
+#include <bcmdefs.h>
#include <bcmutils.h>
#include <bcmwifi.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linuxver.h>
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-
-#include <typedefs.h>
-#include <bcmdefs.h>
-#include <osl.h>
+#include <linux/kernel.h>
#include <linux/string.h>
#include <linuxver.h>
-#include <linux/kernel.h>
+#include <bcmdefs.h>
+#include <osl.h>
#include <bcmutils.h>
#include <siutils.h>
#include <bcmdevs.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
+#include <linux/delay.h>
+#include <linux/fs.h>
+#ifdef mips
+#include <asm/paccess.h>
+#endif /* mips */
#include <bcmendian.h>
#include <linuxver.h>
#include <bcmdefs.h>
#include <osl.h>
#include <bcmutils.h>
-#include <linux/delay.h>
-#ifdef mips
-#include <asm/paccess.h>
-#endif /* mips */
#include <pcicfg.h>
-#include <linux/fs.h>
#define PCI_CFG_RETRY 10
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
#include <linux/string.h>
#include <linuxver.h>
#include <bcmdefs.h>
*/
#include <linux/slab.h>
-#include <typedefs.h>
-#include <bcmdefs.h>
#include <linux/string.h>
+#include <bcmdefs.h>
#include <osl.h>
#include <bcmutils.h>
#include <siutils.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <linux/types.h>
#include "qmath.h"
/*
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
+#include <linux/types.h>
#include <bcmdefs.h>
#include <osl.h>
#include <bcmutils.h>
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <typedefs.h>
-#include <bcmdefs.h>
-#include <osl.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <bcmdefs.h>
+#include <osl.h>
#include <linuxver.h>
#include <bcmutils.h>
#include <siutils.h>