📄 mdevtbl_rel.c
字号:
/* mDevtbl_rel.c - contians configuration table for all the devices supported by devlib */
/* Copyright (c) 2001 Atheros Communications, Inc., All Rights Reserved */
#ident "ACI $Id: //depot/sw/branches/ART_V45/sw/src/dk/mdk/devlib/mDevtbl_rel.c#3 $, $Header: //depot/sw/branches/ART_V45/sw/src/dk/mdk/devlib/mDevtbl_rel.c#3 $"
#ifdef VXWORKS
#include "vxworks.h"
#endif
#ifdef __ATH_DJGPPDOS__
#include <unistd.h>
#ifndef EILSEQ
#define EILSEQ EIO
#endif // EILSEQ
#define __int64 long long
typedef unsigned long DWORD;
#define Sleep delay
#endif // #ifdef __ATH_DJGPPDOS__
#include "wlantype.h"
#include "athreg.h"
#include "manlib.h"
#include "mDevtbl.h"
#include "mData210.h"
#include "mCfg210.h"
#include "mData211.h"
#include "mCfg211.h"
#include "mData212.h"
#include "mCfg212.h"
#include "mCfg212d.h"
#include "mAni212.h"
#ifndef __ATH_DJGPPDOS__
static ATHEROS_REG_FILE boss_0012[] = { //new version 2 ini file
#include "dk_boss_0012.ini"
};
static MODE_INFO boss_0012_mode[] = { //new version 2 mode ini file
#include "dk_boss_0012.mod"
};
static ATHEROS_REG_FILE venice[] = { //new version 2 ini file
#include "dk_boss_0013.ini"
};
static MODE_INFO venice_mode[] = { //new version 2 mode ini file
#include "dk_boss_0013.mod"
};
static ATHEROS_REG_FILE venice_derby[] = { //new version 2 ini file
#include "dk_0014.ini"
};
static MODE_INFO venice_derby_mode[] = { //new version 2 mode ini file
#include "dk_0014.mod"
};
static ATHEROS_REG_FILE venice_derby2_0[] = { //new version 2 ini file
#include "dk_0016.ini"
};
static MODE_INFO venice_derby2_0_mode[] = { //new version 2 mode ini file
#include "dk_0016.mod"
};
static ATHEROS_REG_FILE venice_derby2_1[] = { //new version 2 ini file
#include "dk_0016_2_1.ini"
};
static MODE_INFO venice_derby2_1_mode[] = { //new version 2 mode ini file
#include "dk_0016_2_1.mod"
};
#endif //__ATH_DJGPPDOS__
static ATHEROS_REG_FILE venice_derby2_0_ear[] = { //new version 2 ini file
#include "dk_0016_ear.ini"
};
static MODE_INFO venice_derby2_0_mode_ear[] = { //new version 2 mode ini file
#include "dk_0016_ear.mod"
};
#ifndef __ATH_DJGPPDOS__
static ATHEROS_REG_FILE hainan_derby2_0[] = { //new version 2 ini file
#include "dk_0017.ini"
};
static MODE_INFO hainan_derby2_0_mode[] = { //new version 2 mode ini file
#include "dk_0017.mod"
};
static ATHEROS_REG_FILE hainan_derby2_1[] = { //new version 2 ini file
#include "dk_0017_2_1.ini"
};
static MODE_INFO hainan_derby2_1_mode[] = { //new version 2 mode ini file
#include "dk_0017_2_1.mod"
};
#endif //__ATH_DJGPPDOS__
#ifndef __ATH_DJGPPDOS__
static MAC_API_TABLE maui2API = {
macAPIInitAr5211,
eepromReadAr5211,
eepromWriteAr5211,
hwResetAr5211,
pllProgramAr5211,
setRetryLimitAllAr5211,
setupAntennaAr5211,
sendTxEndPacketAr5211,
setDescriptorAr5211,
setStatsPktDescAr5211,
setContDescriptorAr5211,
txBeginConfigAr5211,
txBeginContDataAr5211,
txBeginContFramedDataAr5211,
txEndContFramedDataAr5211,
beginSendStatsPktAr5211,
writeRxDescriptorAr5211,
rxBeginConfigAr5211,
rxCleanupConfigAr5211,
txCleanupConfigAr5211,
txGetDescRateAr5211,
setPPM5211,
isTxdescEvent5211,
isRxdescEvent5211,
isTxComplete5211,
enableRx5211,
disableRx5211,
setQueueAr5211,
mapQueueAr5211,
clearKeyCacheAr5211,
AGCDeafAr5211,
AGCUnDeafAr5211
};
#endif
static MAC_API_TABLE veniceAPI = {
macAPIInitAr5212,
eepromReadAr5211,
eepromWriteAr5211,
hwResetAr5211,
pllProgramAr5212,
setRetryLimitAllAr5211,
setupAntennaAr5211,
sendTxEndPacketAr5211,
setDescriptorAr5212,
setStatsPktDescAr5212,
setContDescriptorAr5212,
txBeginConfigAr5211,
txBeginContDataAr5211,
txBeginContFramedDataAr5211,
txEndContFramedDataAr5211,
beginSendStatsPktAr5211,
writeRxDescriptorAr5211,
rxBeginConfigAr5211,
rxCleanupConfigAr5211,
txCleanupConfigAr5211,
txGetDescRateAr5212,
setPPM5211,
isTxdescEvent5211,
isRxdescEvent5211,
isTxComplete5211,
enableRx5211,
disableRx5211,
setQueueAr5211,
mapQueueAr5211,
clearKeyCacheAr5211,
AGCDeafAr5211,
AGCUnDeafAr5211
};
#ifndef __ATH_DJGPPDOS__
static RF_API_TABLE sombreroAPI = {
initPowerAr5211,
setSinglePowerAr5211,
setChannelAr5211
};
static RF_API_TABLE sombrero_beanieAPI = {
initPowerAr5211,
setSinglePowerAr5211,
setChannelAr5211_beanie
};
#endif
static RF_API_TABLE derbyAPI = {
initPowerAr5212,
setSinglePowerAr5211,
setChannelAr5212
};
#ifndef __ATH_DJGPPDOS__
static ART_ANI_API_TABLE veniceArtAniAPI = {
configArtAniLadderAr5212,
enableArtAniAr5212,
disableArtAniAr5212,
setArtAniLevelAr5212,
setArtAniLevelMaxAr5212,
setArtAniLevelMinAr5212,
incrementArtAniLevelAr5212,
decrementArtAniLevelAr5212,
getArtAniLevelAr5212,
measArtAniFalseDetectsAr5212,
isArtAniOptimizedAr5212,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -