SWRU602 September 2023 CC3300 , CC3301
The set_tx command can control the entire TX datapath and front-end on the CC33xx device. This command is able to set preamble types, phy datarates, output power, control the number of data packets to transmit and the data value within the packets, and many other functions.
Default TX settings can be enabled with:
calibrator wlan0 cc33xx_plt set_tx -default 0
The default settings are provided in Appendix A. The full command format is provided below. It is not necessary to include every argument in the set_tx command.
calibrator wlan0 cc33xx_plt set_tx -preamble_type <PREAMBLE_TYPE> -phy_rate <PHY_RATE> -tx_power <TX_POWER> -gi_ltf_type <GI_LTF_TYPE> -dcm <DCM> -length <LENGTH> -delay <DELAY> -pkt_mode <PACKET_MODE> -num_pkts <NUM_PACKETS> -data_mode <DATA_MODE> -data_const_val <DATA_VALUE> -cca <CCA> -bss_color <BSS_COLOR> -su_er_bw <SU_ER_BW> -partial_aid <PARTIAL_AID> -src_addr <SRC_ADDR> -dst_addr <DST_ADDR> -nominal_pkt_ext <PKT_EXT> -feed_status <FEED_STATUS> -aid <AID> -group_id <G_ID>
Each argument is defined in Table 3-2.
Parameter | Options | Description |
---|---|---|
PREAMBLE_TYPE | 0 | 11b short preamble |
1 | 11b long preamble | |
2 | 11a/g legacy OFDM | |
3 | 11n mixed mode | |
4 | 11n GF (Not Supported) | |
5 | 11ax SU | |
6 | 11ax MU (Not Supported) | |
7 | 11ax SU ER | |
8 | 11ax TB | |
9 | 11ax TB NDP FB | |
10 | 11ac VHT (Not Supported) | |
PHY_RATE | 1 | 1 Mbps |
2 | 2 Mbps | |
3 | 5.5 Mbps | |
4 | 11 Mbps | |
5 | 6 Mbps | |
6 | 9 Mbps | |
7 | 12 Mbps | |
8 | 18 Mbps | |
9 | 24 Mbps | |
10 | 36 Mbps | |
11 | 48 Mbps | |
12 | 54 Mbps | |
13 | MCS0 | |
14 | MCS1 | |
15 |
MCS2 |
|
16 |
MCS3 |
|
17 | MCS4 | |
18 | MCS5 | |
19 | MCS6 | |
20 | MCS7 | |
TX_POWER | 0 - 30 | Integer value with range of -10 dBm to 20 dBm at 1dB steps |
GI_LTF_TYPE | 0 | 1xLTF + 1.6 µs GI |
1 | 2xLTF + 1.6 µs GI | |
2 | 4xLTF + 3.2 µs GI | |
3 | 2xLTF + 0.8 µs GI | |
4 | 1xLTF + 0.8 µs GI | |
5 | 4xLTF + 0.8µs GI | |
DCM | 0 | Disable DCM |
1 | Enable DCM | |
LENGTH: range <start_length> <end_length> | 100 - 3500 | Number of data bytes excluding MAC 802.11 header.
"range" string in LENGTH requires arguments of <start_length> to
<end_length>. Only supported in Continuous mode or PACKET_MODE
<0>. -length range 0
100 |
LENGTH: const packet <length> | Non MCS rate: 0 - 3500 MCS rate: 0-16000 |
Number of data bytes excluding MAC 802.11 header.
"const packet" string in LENGTH requires argument of <length>-length const packet
2000 |
DELAY | 50 - 1000000 | Delay between packets (µs) |
PACKET_MODE | 0 | Continuous mode - Transmits packets continuously until tx_stop command is sent |
1 | Transmits a single packet | |
2 | <NUM_PKTS> is required if using this packet
mode Transmits <NUM_PKTS> packets |
|
NUM_PACKETS | 1 - 10000 | Used when <PKT_MODE> = 2 Number of packets to send |
DATA_MODE | 0 | <DATA_VAL> is required if using this data
mode Constant value |
1 | Increment value | |
2 | Random value | |
DATA_VALUE | 0 - 255 | Required if <DATA_MODE> is 0 Data value used in all packets |
CCA | 0 | Disable CCA |
1 | Enable CCA | |
BSS_COLOR | 0 - 63 | This field is relevant for HE_SU and HE_SU_ER |
SU_ER_BW | 0 | 242-tone RU |
1 | 106-tone RU | |
PARTIAL_AID | 0 - 1023 | This field is relevant for VHT transmission |
SRC_ADDR | xx:xx:xx:xx:xx:xx | Source MAC Address |
DEST_ADDR | xx:xx:xx:xx:xx:xx | Destination MAC Address |
PKT_EXT | 0 | 0 µs |
1 | 8 µs | |
2 | 16 µs | |
FEED_STATUS | 0 / 1 | Indicates the value of the one bit used to modulate the tones in each tone set. This field is relevant for HE TB NDP FB transmissions only. |
AID | 0 - 16383 | AID of station can be up to 16383 (14 bits) |
G_ID | 0 | (Not Supported) |