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

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


#define MAX_IE_SZ


#define NDIS_802_11_LENGTH_SSID
#define NDIS_802_11_LENGTH_RATES
#define NDIS_802_11_LENGTH_RATES_EX

NDIS_802_11_MAC_ADDRESS;
NDIS_802_11_RATES;        /*  Set of 8 data rates */
NDIS_802_11_RATES_EX;  /*  Set of 16 data rates */

struct ndis_802_11_ssid {};

enum ndis_802_11_network_type {};

/*
	FW will only save the channel number in DSConfig.
	ODI Handler will convert the channel number to freq. number.
*/
struct ndis_802_11_conf {};

enum ndis_802_11_network_infrastructure {};

struct ndis_802_11_fix_ie {};

struct ndis_80211_var_ie {};

/* Length is the 4 bytes multiples of the sum of
 * sizeof (NDIS_802_11_MAC_ADDRESS) + 2 +
 * sizeof (struct ndis_802_11_ssid) + sizeof (u32) +
 * sizeof (long) + sizeof (enum ndis_802_11_network_type) +
 * sizeof (struct ndis_802_11_conf) + sizeof (NDIS_802_11_RATES_EX) + ie_length
 *
 * Except for ie_length, all other fields are fixed length. Therefore, we can
 * define a macro to present the partial sum.
 */
enum ndis_802_11_authentication_mode {};

enum {};

#define NDIS_802_11_AI_REQFI_CAPABILITIES
#define NDIS_802_11_AI_REQFI_LISTENINTERVAL
#define NDIS_802_11_AI_REQFI_CURRENTAPADDRESS

#define NDIS_802_11_AI_RESFI_CAPABILITIES
#define NDIS_802_11_AI_RESFI_STATUSCODE
#define NDIS_802_11_AI_RESFI_ASSOCIATIONID

/*  Key mapping keys require a BSSID */

struct ndis_802_11_wep {};

/*  mask for authentication/integrity fields */
#define NDIS_802_11_AUTH_REQUEST_AUTH_FIELDS
#define NDIS_802_11_AUTH_REQUEST_REAUTH
#define NDIS_802_11_AUTH_REQUEST_KEYUPDATE
#define NDIS_802_11_AUTH_REQUEST_PAIRWISE_ERROR
#define NDIS_802_11_AUTH_REQUEST_GROUP_ERROR

/*  MIC check time, 60 seconds. */
#define MIC_CHECK_TIME

#ifndef Ndis802_11APMode
#define Ndis802_11APMode
#endif

struct wlan_phy_info {};

struct wlan_bcn_info {};

/* temporally add #pragma pack for structure alignment issue of
*   struct wlan_bssid_ex and get_wlan_bssid_ex_sz()
*/
struct wlan_bssid_ex {} __packed;

static inline uint get_wlan_bssid_ex_sz(struct wlan_bssid_ex *bss)
{}

struct	wlan_network {};

enum {};

enum {};

#define PWR_CAM
#define PWR_MINPS
#define PWR_MAXPS
#define PWR_UAPSD
#define PWR_VOIP

enum {};

#define NUM_PRE_AUTH_KEY
#define NUM_PMKID_CACHE

#endif /* ifndef WLAN_BSSDEF_H_ */