Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

niWLANG_SetStandard

NI WLAN Generation Toolkit 17.0 Help

Edition Date: May 2017

Part Number: 373725G-01

»View Product Info
Download Help (Windows Only)

int32 __stdcall niWLANG_SetStandard (niWLANGenerationSession session, char channelString[], int32 standard);

Purpose

Specifies the IEEE 802.11 standard, which indicates the type of physical layer, for signal generation.

Note  If you do not select a standard, the toolkit returns an error.

Parameters

Input
Name Type Description
session niWLANGenerationSession Specifies the niWLAN generation session.
channelString char[] Set this parameter to "" (empty string) or NULL.
standard int32

Specifies the standard for signal generation.

NIWLANG_VAL_STANDARD_80211AG_OFDM (0) Corresponds to the OFDM mode defined in IEEE Standard 802.11a-1999, IEEE Standard 802.11j-2004, IEEE Standard 802.11p-2010, and the extended rate physical layer-OFDM (ERP-OFDM) mode, as defined in IEEE Standard 802.11g-2003.
NIWLANG_VAL_STANDARD_80211J_OFDM (7) Corresponds to the OFDM mode defined in IEEE Standard 802.11j-2004.
NIWLANG_VAL_STANDARD_80211P_OFDM (8) Corresponds to the OFDM mode defined in IEEE Standard 802.11p-2010.
NIWLANG_VAL_STANDARD_80211BG_DSSS (1) Corresponds to all the compulsory and optional modes defined in IEEE Standard 802.11b-1999 and the ERP-packet binary convolutional coding (ERP-PBCC) mode defined in IEEE Standard 802.11g-2003.
NIWLANG_VAL_STANDARD_80211G_DSSS_OFDM (2) Corresponds to the optional direct sequence spread spectrum-OFDM (DSSS-OFDM) mode defined in IEEE Standard 802.11g-2003.
NIWLANG_VAL_STANDARD_80211N_MIMO_OFDM (3) Corresponds to IEEE Standard 802.11n-2009. To use this option, you must set the compatibilityVersion parameter of the niWLANG_OpenSession function to NIWLANG_VAL_COMPATIBILITY_VERSION_020000, NIWLANG_VAL_COMPATIBILITY_VERSION_030000, NIWLANG_VAL_COMPATIBILITY_VERSION_040000, or NIWLANG_VAL_COMPATIBILITY_VERSION_050000.
NIWLANG_VAL_STANDARD_80211AC_MIMO_OFDM (4) Corresponds to IEEE Standard 802.11ac-2013. To use this option, you must set the compatibilityVersion parameter of the niWLANG_OpenSession function to NIWLANG_VAL_COMPATIBILITY_VERSION_030000 , NIWLANG_VAL_COMPATIBILITY_VERSION_040000, or NIWLANG_VAL_COMPATIBILITY_VERSION_050000.
NIWLANG_VAL_STANDARD_80211AH_MIMO_OFDM (5) Corresponds to IEEE P802.11ah/D1.3. To use this option, you must set the compatibilityVersion parameter of the niWLANG_OpenSession function to NIWLANG_VAL_COMPATIBILITY_VERSION_030000, NIWLANG_VAL_COMPATIBILITY_VERSION_040000, or NIWLANG_VAL_COMPATIBILITY_VERSION_050000.
NIWLANG_VAL_STANDARD_80211AF_MIMO_OFDM (6) Corresponds to IEEE Standard 802.11af-2013. To use this option, you must set the compatibilityVersion parameter of the niWLANG_OpenSession function to NIWLANG_VAL_COMPATIBILITY_VERSION_030000, NIWLANG_VAL_COMPATIBILITY_VERSION_040000, or NIWLANG_VAL_COMPATIBILITY_VERSION_050000.
NIWLANG_VAL_STANDARD_80211AX_MIMO_OFDM (9) Corresponds to IEEE P802.11ax/D1.2. To use this option, you must set the compatibilityVersion parameter of the niWLANG_OpenSession function to NIWLANG_VAL_COMPATIBILITY_VERSION_030000, NIWLANG_VAL_COMPATIBILITY_VERSION_040000, or NIWLANG_VAL_COMPATIBILITY_VERSION_050000.

Return Value

Name Type Description
status int32 Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to the function to determine if an error occurred.

To obtain a text description of the status code, call the niWLANG_GetErrorString function.

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit