linux/drivers/staging/rtl8712/rtl871x_ioctl.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __IOCTL_H
#define __IOCTL_H

#include "osdep_service.h"
#include "drv_types.h"

#ifndef OID_802_11_CAPABILITY
	#define OID_802_11_CAPABILITY
#endif

#ifndef OID_802_11_PMKID
	#define OID_802_11_PMKID
#endif

/* For DDK-defined OIDs*/
#define OID_NDIS_SEG1
#define OID_NDIS_SEG2
#define OID_NDIS_SEG3
#define OID_NDIS_SEG4
#define OID_NDIS_SEG5
#define OID_NDIS_SEG6
#define OID_NDIS_SEG7
#define OID_NDIS_SEG8
#define OID_NDIS_SEG9
#define OID_NDIS_SEG10
#define SZ_OID_NDIS_SEG1
#define SZ_OID_NDIS_SEG2
#define SZ_OID_NDIS_SEG3
#define SZ_OID_NDIS_SEG4
#define SZ_OID_NDIS_SEG5
#define SZ_OID_NDIS_SEG6
#define SZ_OID_NDIS_SEG7
#define SZ_OID_NDIS_SEG8
#define SZ_OID_NDIS_SEG9
#define SZ_OID_NDIS_SEG10

/* For Realtek-defined OIDs*/
#define OID_MP_SEG1
#define OID_MP_SEG2
#define OID_MP_SEG3
#define OID_MP_SEG4

enum oid_type {};

struct oid_funs_node {};

struct oid_par_priv {};

struct oid_obj_priv {};

uint oid_null_function(struct oid_par_priv *poid_par_priv);

extern struct iw_handler_def  r871x_handlers_def;

uint drv_query_info(struct net_device *MiniportAdapterContext,
		    uint Oid,
		    void *InformationBuffer,
		    u32 InformationBufferLength,
		    u32 *BytesWritten,
		    u32 *BytesNeeded);

uint drv_set_info(struct net_device *MiniportAdapterContext,
		  uint Oid,
		  void *InformationBuffer,
		  u32 InformationBufferLength,
		  u32 *BytesRead,
		  u32 *BytesNeeded);

#endif