⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mdevtbl_rel_o.c

📁 Atheros AP Test with Agilent N4010A source code
💻 C
📖 第 1 页 / 共 2 页
字号:
/* 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_V53/sw/src/dk/mdk/devlib/mDevtbl_rel.c#4 $, $Header: //depot/sw/branches/ART_V53/sw/src/dk/mdk/devlib/mDevtbl_rel.c#4 $"


#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"
#include "mCfg413.h"
#include "mIds.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_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"
//};

//	static ATHEROS_REG_FILE venice_derby2_1_ear[] = {	//new version 2 ini file
//	#include "dk_0016_2_1_ear.ini"
//};
//	static MODE_INFO venice_derby2_1_mode_ear[] = {	//new version 2 mode ini file
//	#include "dk_0016_2_1_ear.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"
};
static ATHEROS_REG_FILE hainan_derby2_1_ear[] = {	//new version 2 ini file
#include "dk_0017_2_1_ear.ini"
};

static MODE_INFO hainan_derby2_1_mode_ear[] = {	//new version 2 mode ini file
#include "dk_0017_2_1_ear.mod"
};


static ATHEROS_REG_FILE predator_derby2_1[] = {	//new version 2 ini file
#include "dk_00b0_2_1.ini"
};
static MODE_INFO predator_derby2_1_mode[] = {	//new version 2 mode ini file
#include "dk_00b0_2_1.mod"
};
static ATHEROS_REG_FILE griffin2[] = {	//new version 2 ini file
#include "dk_0018_2.ini"
};
static MODE_INFO griffin2_mode[] = {	//new version 2 mode ini file
#include "dk_0018_2.mod"
};

#endif //__ATH_DJGPPDOS__

static ATHEROS_REG_FILE eagle2[] = {	//new version 2 ini file
#include "dk_0019_2.ini"
};
static MODE_INFO eagle2_mode[] = {	//new version 2 mode ini file
#include "dk_0019_2.mod"
};

static ATHEROS_REG_FILE condor[] = {	//new version 2 ini file
#include "dk_0020.ini"
};
static MODE_INFO condor_mode[] = {	//new version 2 mode ini file
#include "dk_0020.mod"
};

#ifdef DOS_CLIENT
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"
};

static ATHEROS_REG_FILE griffin2[] = {	//new version 2 ini file
#include "dk_0018_2.ini"
};
static MODE_INFO griffin2_mode[] = {	//new version 2 mode ini file
#include "dk_0018_2.mod"
};
#endif

#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
};

static MAC_API_TABLE veniceAPI = {
	macAPIInitAr5212,
	eepromReadAr5211,		
	eepromWriteAr5211,
	
	hwResetAr5211,
	pllProgramAr5212,
	
	setRetryLimitAllAr5211,
	setupAntennaAr5211,
	sendTxEndPacketAr5211,
	setDescriptorAr5212,
	setStatsPktDescAr5212,
	setContDescriptorAr5212,
	txBeginConfigAr5211,
	txBeginContDataAr5211,
	txBeginContFramedDataAr5211,
	txEndContFramedDataAr5211,
	beginSendStatsPktAr5211,
	writeRxDescriptorAr5211,
	rxBeginConfigAr5212,
	rxCleanupConfigAr5211,
	txCleanupConfigAr5211,
	txGetDescRateAr5212,
	setPPM5211,
	isTxdescEvent5211,
	isRxdescEvent5211,
	isTxComplete5211,
	enableRx5211,
	disableRx5211,
	setQueueAr5211,
	mapQueueAr5211,
	clearKeyCacheAr5211,
	AGCDeafAr5211,
	AGCUnDeafAr5211
};
#endif

static MAC_API_TABLE eagleAPI = {
	macAPIInitAr5212,
	eepromReadAr5211,		
	eepromWriteAr5211,

	hwResetAr5211,
	pllProgramAr5413,
	
	setRetryLimitAllAr5211,
	setupAntennaAr5211,
	sendTxEndPacketAr5211,
	setDescriptorAr5212,
	setStatsPktDescAr5212,
	setContDescriptorAr5212,
	txBeginConfigAr5211,
	txBeginContDataAr5211,
	txBeginContFramedDataAr5211,
	txEndContFramedDataAr5211,
	beginSendStatsPktAr5211,
	writeRxDescriptorAr5211,
	rxBeginConfigAr5212,
	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
};

static RF_API_TABLE derbyAPI = {
	initPowerAr5212,
	setSinglePowerAr5211,
	setChannelAr5212
};
#endif

static RF_API_TABLE griffinRfAPI = {
	initPowerAr2413,
	setSinglePowerAr5211,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -