Structure representing the configuration for a Wi-Fi TX test.

This structure contains various parameters for configuring a Wi-Fi TX test, such as enabling the test, setting the power, rate, length, mode, and other related settings.

Public Attributes#

uint16_t

Enable/disable TX test mode.

uint16_t

TX power in dBm.

uint32_t

Transmit data rate.

uint16_t

TX packet length. Range: [24 - 1500] bytes in Burst mode and [24 - 260] bytes in Continuous mode.

uint16_t

TX test mode mode.

uint16_t

Channel number in 2.4 GHZ / 5 GHZ.

uint16_t

Rate flags.

uint16_t

Channel Bandwidth.

uint16_t

tx test mode aggr_enable

uint16_t

Reserved.

uint16_t

Number of packets.

uint32_t

Delay.

Public Attribute Documentation#

enable#

uint16_t sl_wifi_transmitter_test_info_t::enable

Enable/disable TX test mode.


power#

uint16_t sl_wifi_transmitter_test_info_t::power

TX power in dBm.

Range : 2 - 18 dBm. Note

  • 1. User can configure the maximum power level allowed for the given frequncey in the configured region by providing 127 as power level.

  • 2. User should configure a minimum delay (approx. 10 milliseconds) before and after sl_wifi_transmit_test_start API to observe a stable output at requested dBm level.


rate#

uint32_t sl_wifi_transmitter_test_info_t::rate

Transmit data rate.

Data Rates#

Data rate(Mbps)

Value of rate

1

0

2

2

5.5

4

11

6

6

139

9

143

12

138

18

142

24

137

36

141

48

136

54

140

MCS0

256

MCS1

257

MCS2

258

MCS3

259

MCS4

260

MCS5

261

MCS6

262

MCS7

263


length#

uint16_t sl_wifi_transmitter_test_info_t::length

TX packet length. Range: [24 - 1500] bytes in Burst mode and [24 - 260] bytes in Continuous mode.


mode#

uint16_t sl_wifi_transmitter_test_info_t::mode

TX test mode mode.

0 - Burst Mode.

1 - Continuous Mode.

2 - Continuous wave Mode (non modulation) in DC mode.

3 - Continuous wave Mode (non modulation) in single tone mode (center frequency -2.5 MHz).

4 - Continuous wave Mode (non modulation) in single tone mode (center frequency +5 MHz). Burst mode: DUT transmits a burst of packets with the given power, rate, length in the channel configured. The burst size will be determined by the number of packets and if its zero, then DUT keeps transmitting till a sl_wifi_transmit_test_stop API is called.

Continuous Mode: The DUT transmits a unmodulated waveform continuously

Continuous Wave Mode (Non-Modulation) in DC Mode: The DUT transmits a spectrum only at the center frequency of the channel. A basic signal with no modulation is that of a sine wave and is usually referred to as a continuous wave (CW) signal. A basic signal source produces sine waves. Ideally, the sine wave is perfect. In the frequency domain, it is viewed as a single line at some specified frequency.

Continuous Wave Mode (Non-Modulation) in single tone Mode (Center frequency -2.5 MHz): The DUT transmits a spectrum that is generated at -2.5MHz from the center frequency of the channel selected. Some amount of carrier leakage will be seen at Center Frequency. For example, for 2412 MHz, the output would be seen at 2409.5 MHz.

Continuous Wave Mode (Non-Modulation) in single tone Mode (Center frequency +5 MHz): The DUT transmits a spectrum that is generated at 5MHz from the center frequency of the channel selected. Some amount of carrier leakage will be seen at Center Frequency. For example, for 2412MHz, the output would be seen at 2417 MHz.


channel#

uint16_t sl_wifi_transmitter_test_info_t::channel

Channel number in 2.4 GHZ / 5 GHZ.

The following table maps the channel number to the actual radio frequency in the 2.4 GHz spectrum.#

Channel numbers (2.4GHz)

Center frequencies for 20 MHz channel width

1

2412

2

2417

3

2422

4

2427

5

2432

6

2437

7

2442

8

2447

9

2452

10

2457

11

2462

12

2467

13

2472

Note

  • To start transmit test in 12,13 channels, configure set region parameters in sl_si91x_set_device_region

The following table maps the channel number to the actual radio frequency in the 5 GHz spectrum for 20MHz channel bandwidth. The channel numbers in 5 GHz range is from 36 to 165.#

Channel Numbers(5GHz)

Center frequencies for 20MHz channel width

36

5180

40

5200

44

5220

48

5240

52

5260

56

5280

60

5300

64

5320

149

5745

153

5765

157

5785

161

5805

165

5825


rate_flags#

uint16_t sl_wifi_transmitter_test_info_t::rate_flags

Rate flags.

BIT(6) - Immediate Transfer, set this bit to transfer packets immediately ignoring energy/traffic in channel.


channel_bw#

uint16_t sl_wifi_transmitter_test_info_t::channel_bw

Channel Bandwidth.


aggr_enable#

uint16_t sl_wifi_transmitter_test_info_t::aggr_enable

tx test mode aggr_enable


reserved#

uint16_t sl_wifi_transmitter_test_info_t::reserved

Reserved.


no_of_pkts#

uint16_t sl_wifi_transmitter_test_info_t::no_of_pkts

Number of packets.


delay#

uint32_t sl_wifi_transmitter_test_info_t::delay

Delay.