linux/drivers/staging/rtl8712/wifi.h

/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
 *
 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
 *
 * 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]>
 *
 ******************************************************************************/
#ifndef _WIFI_H_
#define _WIFI_H_

#include <linux/compiler.h>
#include <linux/ieee80211.h>

#define WLAN_HDR_A3_LEN
#define WLAN_HDR_A3_QOS_LEN

enum WIFI_FRAME_TYPE {};

#define SetToDs(pbuf)

#define GetToDs(pbuf)

#define ClearToDs(pbuf)

#define SetFrDs(pbuf)

#define GetFrDs(pbuf)

#define ClearFrDs(pbuf)

static inline unsigned char get_tofr_ds(unsigned char *pframe)
{}

#define SetMFrag(pbuf)

#define GetMFrag(pbuf)

#define ClearMFrag(pbuf)

#define SetRetry(pbuf)

#define GetRetry(pbuf)

#define ClearRetry(pbuf)

#define SetPwrMgt(pbuf)

#define GetPwrMgt(pbuf)

#define ClearPwrMgt(pbuf)

#define SetMData(pbuf)

#define GetMData(pbuf)

#define ClearMData(pbuf)

#define SetPrivacy(pbuf)

#define GetPrivacy(pbuf)

#define GetOrder(pbuf)

#define GetFrameType(pbuf)

#define SetFrameType(pbuf, type)

#define GetFrameSubType(pbuf)

#define SetFrameSubType(pbuf, type)

#define GetSequence(pbuf)

#define GetFragNum(pbuf)

#define SetSeqNum(pbuf, num)

#define SetPriority(pbuf, tid)

#define GetPriority(pbuf)

#define SetAckpolicy(pbuf, ack)

#define GetAckpolicy(pbuf)

#define GetAMsdu(pbuf)

#define GetAddr1Ptr(pbuf)

#define GetAddr2Ptr(pbuf)

#define GetAddr3Ptr(pbuf)

#define GetAddr4Ptr(pbuf)

static inline unsigned char *get_hdr_bssid(unsigned char *pframe)
{}

/* ---------------------------------------------------------------------------
 *			Below is the fixed elements...
 * ---------------------------------------------------------------------------
 */
#define _BEACON_ITERVAL_
#define _CAPABILITY_
#define _TIMESTAMP_

/*-----------------------------------------------------------------------------
 *			Below is the definition for WMM
 *------------------------------------------------------------------------------
 */
#define _WMM_IE_Length_

#endif /* _WIFI_H_ */