linux/drivers/staging/rtl8712/rtl8712_cmd.c

// SPDX-License-Identifier: GPL-2.0
/******************************************************************************
 * rtl8712_cmd.c
 *
 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
 * Linux device driver for RTL8192SU
 *
 * Modifications for inclusion into the Linux staging tree are
 * Copyright(c) 2010 Larry Finger. All rights reserved.
 *
 * Contact information:
 * WLAN FAE <[email protected]>.
 * Larry Finger <[email protected]>
 *
 ******************************************************************************/

#define _RTL8712_CMD_C_

#include <linux/compiler.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/sched/signal.h>
#include <linux/module.h>
#include <linux/kref.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/usb.h>
#include <linux/usb/ch9.h>
#include <linux/circ_buf.h>
#include <linux/uaccess.h>
#include <asm/byteorder.h>
#include <linux/atomic.h>
#include <linux/semaphore.h>
#include <linux/rtnetlink.h>

#include "osdep_service.h"
#include "drv_types.h"
#include "recv_osdep.h"
#include "mlme_osdep.h"
#include "rtl871x_ioctl_set.h"

static void check_hw_pbc(struct _adapter *padapter)
{}

/* query rx phy status from fw.
 * Adhoc mode: beacon.
 * Infrastructure mode: beacon , data.
 */
static void query_fw_rx_phy_status(struct _adapter *padapter)
{}

/* check mlme, hw, phy, or dynamic algorithm status. */
static void StatusWatchdogCallback(struct _adapter *padapter)
{}

static void r871x_internal_cmd_hdl(struct _adapter *padapter, u8 *pbuf)
{}

static u8 read_bbreg_hdl(struct _adapter *padapter, u8 *pbuf)
{}

static u8 write_bbreg_hdl(struct _adapter *padapter, u8 *pbuf)
{}

static u8 read_rfreg_hdl(struct _adapter *padapter, u8 *pbuf)
{}

static u8 write_rfreg_hdl(struct _adapter *padapter, u8 *pbuf)
{}

static u8 sys_suspend_hdl(struct _adapter *padapter, u8 *pbuf)
{}

static struct cmd_obj *cmd_hdl_filter(struct _adapter *padapter,
				      struct cmd_obj *pcmd)
{}

u8 r8712_fw_cmd(struct _adapter *pAdapter, u32 cmd)
{}

void r8712_fw_cmd_data(struct _adapter *pAdapter, u32 *value, u8 flag)
{}

int r8712_cmd_thread(void *context)
{}

void r8712_event_handle(struct _adapter *padapter, __le32 *peventbuf)
{}