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

/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
 *
 * Copyright(c) 2007 - 2013 Realtek Corporation. All rights reserved.
 *
 ******************************************************************************/
#ifndef __OSDEP_LINUX_SERVICE_H_
#define __OSDEP_LINUX_SERVICE_H_

	#include <linux/spinlock.h>
	#include <linux/compiler.h>
	#include <linux/kernel.h>
	#include <linux/errno.h>
	#include <linux/init.h>
	#include <linux/slab.h>
	#include <linux/module.h>
	#include <linux/kref.h>
	/* include <linux/smp_lock.h> */
	#include <linux/netdevice.h>
	#include <linux/skbuff.h>
	#include <linux/uaccess.h>
	#include <asm/byteorder.h>
	#include <linux/atomic.h>
	#include <linux/io.h>
	#include <linux/sem.h>
	#include <linux/sched.h>
	#include <linux/etherdevice.h>
	#include <linux/wireless.h>
	#include <net/iw_handler.h>
	#include <linux/if_arp.h>
	#include <linux/rtnetlink.h>
	#include <linux/delay.h>
	#include <linux/interrupt.h>	/*  for struct tasklet_struct */
	#include <linux/ip.h>
	#include <linux/kthread.h>
	#include <linux/list.h>
	#include <linux/vmalloc.h>

/* 	#include <linux/ieee80211.h> */
        #include <net/ieee80211_radiotap.h>
	#include <net/cfg80211.h>

	struct	__queue	{};

static inline struct list_head *get_next(struct list_head	*list)
{}

static inline struct list_head	*get_list_head(struct __queue	*queue)
{}

static inline void _set_timer(struct timer_list *ptimer, u32 delay_time)
{}

static inline void _init_workitem(struct work_struct *pwork, void *pfunc, void *cntx)
{}

static inline void _set_workitem(struct work_struct *pwork)
{}

static inline void _cancel_workitem_sync(struct work_struct *pwork)
{}

static inline int rtw_netif_queue_stopped(struct net_device *pnetdev)
{}

static inline void rtw_netif_wake_queue(struct net_device *pnetdev)
{}

static inline void rtw_netif_start_queue(struct net_device *pnetdev)
{}

static inline void rtw_netif_stop_queue(struct net_device *pnetdev)
{}

#define rtw_signal_process(pid, sig)

#define NDEV_ARG(ndev)
#define ADPT_ARG(adapter)
#define FUNC_NDEV_FMT
#define FUNC_NDEV_ARG(ndev)
#define FUNC_ADPT_FMT
#define FUNC_ADPT_ARG(adapter)

struct rtw_netdev_priv_indicator {};

static inline struct adapter *rtw_netdev_priv(struct net_device *netdev)
{}

struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv);
extern struct net_device *rtw_alloc_etherdev(int sizeof_priv);

#endif