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

niWLANG_Set80211ahPreambleType

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_Set80211ahPreambleType (niWLANGenerationSession session, char channelString[], int32 frameFormat);

Purpose

Specifies the preamble type of packet if you set the NIWLANG_STANDARD attribute to NIWLANG_VAL_STANDARD_80211AH_MIMO_OFDM as defined in section 24.3.8.2 of IEEE Standard P802.11ah/D1.3.

Parameters

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

Specifies the preamble type to use. The default value is NIWLANG_VAL_80211AH_PREAMBLE_TYPE_SHORT.

NIWLANG_VAL_80211AH_PREAMBLE_TYPE_SHORT (0) Specifies that the preamble type is S1G_Short.
NIWLANG_VAL_80211AH_PREAMBLE_TYPE_LONG (1) Specifies that the preamble type is S1G_Long.

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