niWLANG_CreateTriggerFrameMSDU

NI WLAN Generation Toolkit 18.0 Help

Edition Date: October 2018

Part Number: 373725J-01

»View Product Info
Download Help (Windows Only)

int32 __stdcall niWLANG_CreateTriggerFrameMSDU (niWLANGenerationSession session, char channelString[], int32 *generationDone, int32 triggerFrameMSDUBits[], int32 dataArraySize, int32 *actualDataArraySize);

Purpose

Creates 802.11ax trigger frame MSDU bits according to the configuration you specify. You must set the NIWLANG_STANDARD attribute to NIWLANG_VAL_STANDARD_80211AX_MIMO_OFDM and the NIWLANG_PPDU_TYPE attribute to NIWLANG_VAL_PPDU_TYPE_TRIGGER_BASED_PPDU to configure this function. For more information about Trigger frame generation, refer to the Generating the Trigger Frame topic.

Parameters

Input
Name Type Description
session niWLANGenerationSession Specifies the niWLAN generation session.
channelString char[] Set this parameter to "" (empty string) or NULL.
dataArraySize int32 Specifies the number of elements in the TriggerFrameMSDUBits array.
Output
Name Type Description
generationDone int32* Indicates whether the function has generated all the data.
triggerFrameMSDUBits int32[] Returns an array of the encoded bits trace.
actualDataArraySize int32* Returns the actual number of elements populated in the TriggerFrameMSDUBits array parameter. If the array is not large enough to hold all the samples, the function returns an error and actualDataArraySize parameter returns the minimum expected size of the output array.

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

WAS THIS ARTICLE HELPFUL?

Not Helpful