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

niWLANG_Set80211nPLCPFrameFormat

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

Purpose

Specifies the format of the physical layer convergence protocol (PLCP) frame structure. The frame structure determines the arrangement of preambles, header (SIGNAL field), and payload in a frame as defined in section 20.3.2 of IEEE Standard 802.11n-2009.

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 PLCP frame structure to use. The default value is NIWLANG_VAL_80211N_PLCP_FRAME_FORMAT_MIXED.

NIWLANG_VAL_80211N_PLCP_FRAME_FORMAT_MIXED (0) Specifies that the PLCP frame structure consists of non-HT preamble and header (Signal field) followed by high throughput (HT) header, preambles, and payload as specified in IEEE Standard 802.11n-2009.
NIWLANG_VAL_80211N_PLCP_FRAME_FORMAT_GREENFIELD (1) Specifies that the PLCP frame structure does not support non-HT, and starts with HT preamble, followed by HT SIGnal field, and payload.

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