linux/drivers/staging/rtl8723bs/include/drv_types.h

/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
 *
 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
 *
 ******************************************************************************/
/*-------------------------------------------------------------------------------

	For type defines and data structure defines

--------------------------------------------------------------------------------*/


#ifndef __DRV_TYPES_H__
#define __DRV_TYPES_H__

#include <linux/sched/signal.h>
#include <basic_types.h>
#include <osdep_service.h>
#include <rtw_byteorder.h>
#include <wlan_bssdef.h>
#include <wifi.h>
#include <ieee80211.h>

#include <rtw_rf.h>

#include <rtw_ht.h>

#include <rtw_cmd.h>
#include <cmd_osdep.h>
#include <rtw_security.h>
#include <rtw_xmit.h>
#include <xmit_osdep.h>
#include <rtw_recv.h>

#include <recv_osdep.h>
#include <rtw_efuse.h>
#include <hal_intf.h>
#include <hal_com.h>
#include <rtw_qos.h>
#include <rtw_pwrctrl.h>
#include <rtw_mlme.h>
#include <mlme_osdep.h>
#include <rtw_io.h>
#include <rtw_ioctl_set.h>
#include <osdep_intf.h>
#include <rtw_eeprom.h>
#include <sta_info.h>
#include <rtw_event.h>
#include <rtw_mlme_ext.h>
#include <rtw_ap.h>
#include <rtw_version.h>

#include "ioctl_cfg80211.h"

#include <linux/ip.h>
#include <linux/if_ether.h>

#define SPEC_DEV_ID_NONE
#define SPEC_DEV_ID_DISABLE_HT
#define SPEC_DEV_ID_ENABLE_PS
#define SPEC_DEV_ID_RF_CONFIG_1T1R
#define SPEC_DEV_ID_RF_CONFIG_2T2R
#define SPEC_DEV_ID_ASSIGN_IFNAME

struct registry_priv {};


/* For registry parameters */
#define RGTRY_OFT(field)
#define RGTRY_SZ(field)
#define BSSID_OFT(field)
#define BSSID_SZ(field)

#include <drv_types_sdio.h>

#define is_primary_adapter(adapter)
#define get_iface_type(adapter)
#define GET_PRIMARY_ADAPTER(padapter)
#define GET_IFACE_NUMS(padapter)
#define GET_ADAPTER(padapter, iface_id)

struct debug_priv {};

struct rtw_traffic_statistics {};

struct cam_ctl_t {};

struct cam_entry_cache {};

struct dvobj_priv {};

#define dvobj_to_pwrctl(dvobj)

static inline struct dvobj_priv *pwrctl_to_dvobj(struct pwrctrl_priv *pwrctl_priv)
{}

static inline struct device *dvobj_to_dev(struct dvobj_priv *dvobj)
{}

struct adapter *dvobj_get_port0_adapter(struct dvobj_priv *dvobj);

enum {};

enum {};

struct adapter {};

#define adapter_to_dvobj(adapter)
#define adapter_to_pwrctl(adapter)
#define adapter_wdev_data(adapter)

/*  */
/*  Function disabled. */
/*  */
#define DF_TX_BIT
#define DF_RX_BIT
#define DF_IO_BIT

/* define RTW_DISABLE_FUNC(padapter, func) (atomic_add(&adapter_to_dvobj(padapter)->disable_func, (func))) */
/* define RTW_ENABLE_FUNC(padapter, func) (atomic_sub(&adapter_to_dvobj(padapter)->disable_func, (func))) */
static inline void RTW_DISABLE_FUNC(struct adapter *padapter, int func_bit)
{}

static inline void RTW_ENABLE_FUNC(struct adapter *padapter, int func_bit)
{}

#define RTW_IS_FUNC_DISABLED(padapter, func_bit)

#define RTW_CANNOT_IO(padapter)

#define RTW_CANNOT_RX(padapter)

#define RTW_CANNOT_TX(padapter)

static inline u8 *myid(struct eeprom_priv *peepriv)
{}

/*  HCI Related header file */
#include <sdio_ops.h>
#include <sdio_hal.h>

#include <rtw_btcoex.h>

extern char *rtw_initmac;
extern int rtw_mc2u_disable;
extern int rtw_ht_enable;
extern u32 g_wait_hiq_empty;
extern u8 g_fwdl_wintint_rdy_fail;
extern u8 g_fwdl_chksum_fail;

#endif /* __DRV_TYPES_H__ */