📄 dk_client.h
字号:
// dk_client.h - contains definitions of dk structures
// Copyright (c) 2000 Atheros Communications, Inc., All Rights Reserved
// modification history
// --------------------
// 000 00jan02 sharmat created (copied from windows client)
// DESCRIPTION
// -----------
// Contains the definitions of main dk strucutres.
#ifndef __INCdk_clienth
#define __INCdk_clienth
#if !defined(ECOS)
#include "wlantype.h"
#endif
#ifdef WIN32
#ifdef JUNGO
#include "windrvr.h"
#endif
#endif
#define DK_CLIENT_EXE ("mdk_client.exe")
#define MDK_EXE ("mdk.exe")
#define MDK_MAIN ("mdk_main")
#define MDK_CLIENT ("mdk_client")
#define MDK_MAIN_PRIO 95
#define MDK_CLIENT_PRIO 100
#if !defined(VXWORKS) && !defined(ECOS)
#include <dk_structures.h>
#endif
#define MAX_BARS 6
#define WLAN_MAX_DEV 8 /* Number of maximum supported devices */
#if defined(VXWORKS) || defined(ECOS)
/* holds all the dk specific information within DEV_INFO structure */
typedef struct dkDevInfo {
A_UINT32 devIndex; /* used to track which F2 within system this is */
A_UINT32 f2Mapped; /* true if the f2 registers are mapped */
A_UINT32 devMapped; /* true if the f2 registers are mapped */
A_UINT32 f2MapAddress;
A_UINT32 regVirAddr;
A_UINT32 regMapRange;
A_UINT32 memPhyAddr;
A_UINT32 memVirAddr;
A_UINT32 memSize;
A_UINT32 haveEvent;
A_UINT32 aregPhyAddr[MAX_BARS];
A_UINT32 aregVirAddr[MAX_BARS];
A_UINT32 aregRange[MAX_BARS];
A_UINT32 res_type[MAX_BARS];
A_UINT32 bar_select;
A_UINT32 numBars;
A_UINT32 device_fn;
A_UINT32 printPciWrites; //set to true when want to print pci reg writes
A_UINT32 version;
} DK_DEV_INFO;
#endif
#ifdef __cplusplus
extern "C" {
#endif //__cplusplus
extern A_INT32 mdk_main(A_INT32 debugMode, A_UINT16 cport);
#ifdef __cplusplus
}
#endif // __cplusplus
#endif //__INCdk_clienth
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -