summaryrefslogtreecommitdiff
path: root/network/wlan/WDI/PLATFORM/NdisComm/NdisOid.h
blob: ef382bc99827d23adee9ba366e77046549fa0d9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#ifndef __INC_NDIS_COMMONOID_H
#define __INC_NDIS_COMMONOID_H

#pragma pack(1)
typedef struct _RTK_DBG_CTRL_OIDS{
	u2Byte	ctrlType;
	u2Byte	ctrlDataLen;
	ULONG	CtrlData;	// head data
} RTK_DBG_CTRL_OIDS, *PRTK_DBG_CTRL_OIDS;

typedef enum _RTK_DBG_TYPE_OIDS
{	
	RTK_DBG_OIDS_BT_PROFILE			=0,
}RTK_DBG_TYPE_OIDS;
#pragma pack()

//============================================
//	Local function
//============================================


//============================================
//	Extern function
//============================================

//============================================
//	For OID Query
//============================================
NDIS_STATUS
OIDQ_RTKReadReg(
	IN	PADAPTER	Adapter,
	IN	PVOID		InformationBuffer,
	IN	ULONG		InformationBufferLength,
	OUT	PULONG		BytesWritten,
	OUT	PULONG		BytesNeeded,
	IN	PULONG		pulInfo
	);
NDIS_STATUS
OIDQ_RTKReadRegSIC(
	IN	PADAPTER	Adapter,
	IN	PVOID		InformationBuffer,
	IN	ULONG		InformationBufferLength,
	OUT	PULONG		BytesWritten,
	OUT	PULONG		BytesNeeded,
	IN	PULONG		pulInfo
	);

//============================================
//	For OID Set
//============================================
NDIS_STATUS
OIDS_RTKWriteReg(
	IN	PADAPTER	Adapter,
	IN	PVOID		InformationBuffer,
	IN	ULONG		InformationBufferLength,
	OUT	PULONG		BytesRead,
	OUT	PULONG		BytesNeeded
	);
NDIS_STATUS
OIDS_RTKWriteRegSIC(
	IN	PADAPTER	Adapter,
	IN	PVOID		InformationBuffer,
	IN	ULONG		InformationBufferLength,
	OUT	PULONG		BytesRead,
	OUT	PULONG		BytesNeeded
	);
NDIS_STATUS
OIDS_RTKDbgControl(
	IN	PADAPTER	Adapter,
	IN	PVOID		InformationBuffer,
	IN	ULONG		InformationBufferLength,
	OUT	PULONG		BytesRead,
	OUT	PULONG		BytesNeeded	
	);
#endif