-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add C3000_NFT_LP_DUT_verify_OK_1024 package
this package is used for setting NFT test command to C3000 project.
- Loading branch information
Showing
11 changed files
with
5,033 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
1,903 changes: 1,903 additions & 0 deletions
1,903
C3000_NFT_LP_DUT_verify_OK_1024/LP_Dut_11ac.cpp.bak
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#ifndef _LP_DUT_11AC_H_ | ||
#define _LP_DUT_11AC_H_ | ||
|
||
|
||
#if !defined (__cplusplus) | ||
#define LP_DUT_11AC_API extern | ||
#elif !defined (WIN32) | ||
#define LP_DUT_11AC_API extern "C" | ||
#elif defined(LP_DUT_11AC_EXPORTS) | ||
#define LP_DUT_11AC_API extern "C" __declspec(dllexport) | ||
#else | ||
#define LP_DUT_11AC_API extern "C" __declspec(dllimport) | ||
#endif | ||
|
||
#ifndef MAX_BUFFER_SIZE | ||
#define MAX_BUFFER_SIZE 4096 | ||
#endif | ||
#ifndef DELAY_FOR_POWER_SETTLE_MS | ||
#define DELAY_FOR_POWER_SETTLE_MS 50//500 | ||
#endif | ||
|
||
|
||
// WiFi DUT DLL needs to export only one function: WIFI_11AC_MIMO_DutRegister() | ||
|
||
|
||
LP_DUT_11AC_API int WIFI_11AC_DutRegister(void); | ||
|
||
|
||
int LP_dut_info(void); | ||
int LP_insert_dut(void); | ||
int LP_remove_dut(void); | ||
int LP_initialize_dut(void); | ||
int LP_prepare_tx(void); | ||
int LP_tx_set_bw(void); | ||
int LP_tx_set_data_rate(void); | ||
int LP_set_freq(void); | ||
int LP_tx_set_antenna(void); | ||
int LP_tx_start(void); | ||
int LP_tx_stop(void); | ||
int LP_prepare_rx(void); | ||
int LP_rx_set_bw(void); | ||
int LP_rx_set_data_rate(void); | ||
int LP_set_bssid_filter(void); | ||
int LP_set_rx_antenna(void); | ||
int LP_clear_rx_pckts(void); | ||
int LP_get_rx_stats(void); | ||
int LP_rx_start(void); | ||
int LP_rx_stop(void); | ||
int LP_get_serial_number(void); | ||
int LP_write_mac_address(void); | ||
int GetWaveformFileName(char* filePath, char* fileType, int streamNum_11AC, int chBW, char* datarate, | ||
char* preamble, char* packetFormat, char* waveformFileName, int bufferSize); | ||
|
||
int LP_read_ini (char* pathStr ); | ||
bool SetSolutionIndex(void); // support concurrent dualband chipset solutions | ||
void GetCmdPrefix(int freq, char* cmdPrefix); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,243 @@ | ||
<?xml version="1.0" encoding="big5"?> | ||
<VisualStudioProject | ||
ProjectType="Visual C++" | ||
Version="8.00" | ||
Name="LP_Dut_11ac_C3000_NFT" | ||
ProjectGUID="{35DD2898-7683-474F-835D-68DA8EBA8E66}" | ||
RootNamespace="LP_Dut" | ||
Keyword="Win32Proj" | ||
> | ||
<Platforms> | ||
<Platform | ||
Name="Win32" | ||
/> | ||
</Platforms> | ||
<ToolFiles> | ||
</ToolFiles> | ||
<Configurations> | ||
<Configuration | ||
Name="Debug|Win32" | ||
OutputDirectory="$(ProjectDir)\$(ConfigurationName)" | ||
IntermediateDirectory="$(ProjectDir)\$(ConfigurationName)" | ||
ConfigurationType="2" | ||
CharacterSet="0" | ||
> | ||
<Tool | ||
Name="VCPreBuildEventTool" | ||
/> | ||
<Tool | ||
Name="VCCustomBuildTool" | ||
/> | ||
<Tool | ||
Name="VCXMLDataGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCWebServiceProxyGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCMIDLTool" | ||
/> | ||
<Tool | ||
Name="VCCLCompilerTool" | ||
Optimization="0" | ||
AdditionalIncludeDirectories="..\IQlite_Timer;..\..\..\Import\Include\common;..\..\..\Include;..\..\..\Import\Include;..\IQlite_Logger" | ||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LP_DUT_11AC_EXPORTS" | ||
MinimalRebuild="true" | ||
BasicRuntimeChecks="3" | ||
RuntimeLibrary="3" | ||
UsePrecompiledHeader="2" | ||
WarningLevel="3" | ||
Detect64BitPortabilityProblems="true" | ||
DebugInformationFormat="4" | ||
/> | ||
<Tool | ||
Name="VCManagedResourceCompilerTool" | ||
/> | ||
<Tool | ||
Name="VCResourceCompilerTool" | ||
/> | ||
<Tool | ||
Name="VCPreLinkEventTool" | ||
/> | ||
<Tool | ||
Name="VCLinkerTool" | ||
AdditionalDependencies="IQmeasure.lib IQlite_Timer.lib IQlite_Logger.lib vDUT.lib Ws2_32.lib GetAdapterInfo.lib shlwapi.lib" | ||
LinkIncremental="2" | ||
AdditionalLibraryDirectories="..\..\..\Import\Bin;../../../Lib/$(ConfigurationName)" | ||
GenerateDebugInformation="true" | ||
SubSystem="2" | ||
TargetMachine="1" | ||
/> | ||
<Tool | ||
Name="VCALinkTool" | ||
/> | ||
<Tool | ||
Name="VCManifestTool" | ||
/> | ||
<Tool | ||
Name="VCXDCMakeTool" | ||
/> | ||
<Tool | ||
Name="VCBscMakeTool" | ||
/> | ||
<Tool | ||
Name="VCFxCopTool" | ||
/> | ||
<Tool | ||
Name="VCAppVerifierTool" | ||
/> | ||
<Tool | ||
Name="VCWebDeploymentTool" | ||
/> | ||
<Tool | ||
Name="VCPostBuildEventTool" | ||
Description="Copying Debug DLL to bin folder..." | ||
CommandLine="nmake /f install.mak CONFIGURATION=$(ConfigurationName) install" | ||
/> | ||
</Configuration> | ||
<Configuration | ||
Name="Release|Win32" | ||
OutputDirectory="$(ProjectDir)\$(ConfigurationName)" | ||
IntermediateDirectory="$(ProjectDir)\$(ConfigurationName)" | ||
ConfigurationType="2" | ||
CharacterSet="0" | ||
WholeProgramOptimization="1" | ||
> | ||
<Tool | ||
Name="VCPreBuildEventTool" | ||
/> | ||
<Tool | ||
Name="VCCustomBuildTool" | ||
/> | ||
<Tool | ||
Name="VCXMLDataGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCWebServiceProxyGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCMIDLTool" | ||
/> | ||
<Tool | ||
Name="VCCLCompilerTool" | ||
AdditionalIncludeDirectories="..\..\..\Import\Include;..\..\..\Include;..\..\Source\IQmeasure" | ||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LP_DUT_11AC_EXPORTS" | ||
RuntimeLibrary="2" | ||
UsePrecompiledHeader="2" | ||
WarningLevel="3" | ||
Detect64BitPortabilityProblems="true" | ||
DebugInformationFormat="3" | ||
/> | ||
<Tool | ||
Name="VCManagedResourceCompilerTool" | ||
/> | ||
<Tool | ||
Name="VCResourceCompilerTool" | ||
/> | ||
<Tool | ||
Name="VCPreLinkEventTool" | ||
/> | ||
<Tool | ||
Name="VCLinkerTool" | ||
AdditionalDependencies="IQmeasure.lib IQlite_Timer.lib IQlite_Logger.lib vDUT.lib Ws2_32.lib GetAdapterInfo.lib shlwapi.lib" | ||
LinkIncremental="1" | ||
AdditionalLibraryDirectories=""C:\Program Files\LitePoint\IQlite_1.6.4\Bin";"D:\D on Te-lab-002\1\LastSourcode.NEtGear\R6300v2\Bin_win";..\..\..\Import\Bin;"../../../Lib/$(ConfigurationName)"" | ||
GenerateDebugInformation="true" | ||
SubSystem="2" | ||
OptimizeReferences="2" | ||
EnableCOMDATFolding="2" | ||
TargetMachine="1" | ||
/> | ||
<Tool | ||
Name="VCALinkTool" | ||
/> | ||
<Tool | ||
Name="VCManifestTool" | ||
/> | ||
<Tool | ||
Name="VCXDCMakeTool" | ||
/> | ||
<Tool | ||
Name="VCBscMakeTool" | ||
/> | ||
<Tool | ||
Name="VCFxCopTool" | ||
/> | ||
<Tool | ||
Name="VCAppVerifierTool" | ||
/> | ||
<Tool | ||
Name="VCWebDeploymentTool" | ||
/> | ||
<Tool | ||
Name="VCPostBuildEventTool" | ||
Description="Copying Release DLL to bin folder..." | ||
CommandLine="" | ||
/> | ||
</Configuration> | ||
</Configurations> | ||
<References> | ||
</References> | ||
<Files> | ||
<Filter | ||
Name="Source Files" | ||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" | ||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" | ||
> | ||
<File | ||
RelativePath=".\LP_Dut_11ac.cpp" | ||
> | ||
</File> | ||
<File | ||
RelativePath=".\PeerSocket.cpp" | ||
> | ||
</File> | ||
<File | ||
RelativePath=".\stdafx.cpp" | ||
> | ||
<FileConfiguration | ||
Name="Debug|Win32" | ||
> | ||
<Tool | ||
Name="VCCLCompilerTool" | ||
UsePrecompiledHeader="1" | ||
/> | ||
</FileConfiguration> | ||
<FileConfiguration | ||
Name="Release|Win32" | ||
> | ||
<Tool | ||
Name="VCCLCompilerTool" | ||
UsePrecompiledHeader="1" | ||
/> | ||
</FileConfiguration> | ||
</File> | ||
</Filter> | ||
<Filter | ||
Name="Header Files" | ||
Filter="h;hpp;hxx;hm;inl;inc;xsd" | ||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" | ||
> | ||
<File | ||
RelativePath=".\LP_Dut_11ac.h" | ||
> | ||
</File> | ||
<File | ||
RelativePath=".\PeerSocket.h" | ||
> | ||
</File> | ||
<File | ||
RelativePath=".\stdafx.h" | ||
> | ||
</File> | ||
</Filter> | ||
<Filter | ||
Name="Resource Files" | ||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav" | ||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" | ||
> | ||
</Filter> | ||
</Files> | ||
<Globals> | ||
</Globals> | ||
</VisualStudioProject> |
65 changes: 65 additions & 0 deletions
65
C3000_NFT_LP_DUT_verify_OK_1024/LP_Dut_11ac.vcproj.XL-20130716KYDS.cq.user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?xml version="1.0" encoding="big5"?> | ||
<VisualStudioUserFile | ||
ProjectType="Visual C++" | ||
Version="8.00" | ||
ShowAllFiles="false" | ||
> | ||
<Configurations> | ||
<Configuration | ||
Name="Debug|Win32" | ||
> | ||
<DebugSettings | ||
Command="" | ||
WorkingDirectory="" | ||
CommandArguments="" | ||
Attach="false" | ||
DebuggerType="3" | ||
Remote="1" | ||
RemoteMachine="XL-20130716KYDS" | ||
RemoteCommand="" | ||
HttpUrl="" | ||
PDBPath="" | ||
SQLDebugging="" | ||
Environment="" | ||
EnvironmentMerge="true" | ||
DebuggerFlavor="" | ||
MPIRunCommand="" | ||
MPIRunArguments="" | ||
MPIRunWorkingDirectory="" | ||
ApplicationCommand="" | ||
ApplicationArguments="" | ||
ShimCommand="" | ||
MPIAcceptMode="" | ||
MPIAcceptFilter="" | ||
/> | ||
</Configuration> | ||
<Configuration | ||
Name="Release|Win32" | ||
> | ||
<DebugSettings | ||
Command="" | ||
WorkingDirectory="" | ||
CommandArguments="" | ||
Attach="false" | ||
DebuggerType="3" | ||
Remote="1" | ||
RemoteMachine="XL-20130716KYDS" | ||
RemoteCommand="" | ||
HttpUrl="" | ||
PDBPath="" | ||
SQLDebugging="" | ||
Environment="" | ||
EnvironmentMerge="true" | ||
DebuggerFlavor="" | ||
MPIRunCommand="" | ||
MPIRunArguments="" | ||
MPIRunWorkingDirectory="" | ||
ApplicationCommand="" | ||
ApplicationArguments="" | ||
ShimCommand="" | ||
MPIAcceptMode="" | ||
MPIAcceptFilter="" | ||
/> | ||
</Configuration> | ||
</Configurations> | ||
</VisualStudioUserFile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 9.00 | ||
# Visual Studio 2005 | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LP_Dut_11ac", "LP_Dut_11ac.vcproj", "{35DD2898-7683-474F-835D-68DA8EBA8E66}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Win32 = Debug|Win32 | ||
Release|Win32 = Release|Win32 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{35DD2898-7683-474F-835D-68DA8EBA8E66}.Debug|Win32.ActiveCfg = Debug|Win32 | ||
{35DD2898-7683-474F-835D-68DA8EBA8E66}.Debug|Win32.Build.0 = Debug|Win32 | ||
{35DD2898-7683-474F-835D-68DA8EBA8E66}.Release|Win32.ActiveCfg = Release|Win32 | ||
{35DD2898-7683-474F-835D-68DA8EBA8E66}.Release|Win32.Build.0 = Release|Win32 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
Oops, something went wrong.