linux/drivers/staging/rtl8712/rtl871x_cmd.c

// SPDX-License-Identifier: GPL-2.0
/******************************************************************************
 * rtl871x_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 _RTL871X_CMD_C_

#include <linux/compiler.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.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"

/*
 * Caller and the r8712_cmd_thread can protect cmd_q by spin_lock.
 * No irqsave is necessary.
 */

int r8712_init_cmd_priv(struct cmd_priv *pcmdpriv)
{}

int r8712_init_evt_priv(struct evt_priv *pevtpriv)
{}

void r8712_free_evt_priv(struct evt_priv *pevtpriv)
{}

void r8712_free_cmd_priv(struct cmd_priv *pcmdpriv)
{}

/*
 * Calling Context:
 *
 * r8712_enqueue_cmd can only be called between kernel thread,
 * since only spin_lock is used.
 *
 * ISR/Call-Back functions can't call this sub-function.
 *
 */

void r8712_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj)
{}

struct cmd_obj *r8712_dequeue_cmd(struct  __queue *queue)
{}

void r8712_enqueue_cmd_ex(struct cmd_priv *pcmdpriv, struct cmd_obj *obj)
{}

void r8712_free_cmd_obj(struct cmd_obj *pcmd)
{}

u8 r8712_sitesurvey_cmd(struct _adapter *padapter,
			struct ndis_802_11_ssid *pssid)
	__must_hold(&padapter->mlmepriv.lock)
{}

int r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset)
{}

void r8712_set_chplan_cmd(struct _adapter *padapter, int chplan)
{}

int r8712_setrfreg_cmd(struct _adapter  *padapter, u8 offset, u32 val)
{}

int r8712_getrfreg_cmd(struct _adapter *padapter, u8 offset, u8 *pval)
{}

void r8712_getbbrfreg_cmdrsp_callback(struct _adapter *padapter,
				      struct cmd_obj *pcmd)
{}

void r8712_readtssi_cmdrsp_callback(struct _adapter *padapter, struct cmd_obj *pcmd)
{}

int r8712_createbss_cmd(struct _adapter *padapter)
{}

int r8712_joinbss_cmd(struct _adapter  *padapter, struct wlan_network *pnetwork)
{}

void r8712_disassoc_cmd(struct _adapter *padapter) /* for sta_mode */
{}

void r8712_setopmode_cmd(struct _adapter *padapter,
			 enum NDIS_802_11_NETWORK_INFRASTRUCTURE networktype)
{}

void r8712_setstakey_cmd(struct _adapter *padapter, u8 *psta, u8 unicast_key)
{}

void r8712_setMacAddr_cmd(struct _adapter *padapter, const u8 *mac_addr)
{}

void r8712_addbareq_cmd(struct _adapter *padapter, u8 tid)
{}

void r8712_wdg_wk_cmd(struct _adapter *padapter)
{}

void r8712_survey_cmd_callback(struct _adapter *padapter, struct cmd_obj *pcmd)
{}

void r8712_disassoc_cmd_callback(struct _adapter *padapter,
				 struct cmd_obj *pcmd)
{}

void r8712_joinbss_cmd_callback(struct _adapter *padapter, struct cmd_obj *pcmd)
{}

void r8712_createbss_cmd_callback(struct _adapter *padapter, struct cmd_obj *pcmd)
{}

void r8712_setstaKey_cmdrsp_callback(struct _adapter *padapter, struct cmd_obj *pcmd)
{}

void r8712_setassocsta_cmdrsp_callback(struct _adapter *padapter,
				       struct cmd_obj *pcmd)
{}

void r8712_disconnectCtrlEx_cmd(struct _adapter *adapter, u32 enableDrvCtrl, u32 tryPktCnt,
				u32 tryPktInterval, u32 firstStageTO)
{}