The fwa wmm edca-client command configures EDCA parameters used by the remote AP to negotiate with the AT.
The undo fwa wmm edca-client command restores the default EDCA parameters used by the remote AP to negotiate with the AT.
fwa wmm edca-client { ac-vo | ac-vi | ac-be | ac-bk } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } *
undo fwa wmm edca-client
Parameter |
Description |
Value |
---|---|---|
ac-vo |
Indicates AC_VO packets. |
- |
ac-vi |
Indicates AC_VI packets. |
- |
ac-be |
Indicates AC_BE packets. |
- |
ac-bk |
Indicates AC_BK packets. |
- |
aifsn aifsn-value |
Specifies the arbitration inter frame spacing number (AIFSN), which determines the channel idle time. |
The value is an integer that ranges from 1 to 15. |
ecwmin ecwmin-value |
Specifies the exponent form of the minimum contention window. ecwmin-value and ecwmax-value determine the average backoff time. |
The value is an integer that ranges from 0 to 15 and must be smaller than the ecwmax-value value. |
ecwmax ecwmax-value |
Specifies the exponent form of the maximum contention window. ecwmin-value and ecwmax-value determine the average backoff time. |
The value is an integer that ranges from 0 to 15 and must be greater than the ecwmin-value value. |
txoplimit txoplimit-value |
Specifies the transmission opportunity limit (TXOPLimit), which determines the maximum duration in which a STA can occupy a channel. A larger TXOPLimit value indicates a longer duration to occupy a channel. |
The value is an integer that ranges from 0 to 255. The unit is 32 microseconds.
NOTE:
If the TXOPLimit value is 0, the STA can send only one data frame every time it occupies a channel. |
Usage Scenario
WMM classifies data packets into the following access categories (ACs): AC_VO, AC_VI, AC_BE, and AC_BK. A set of EDCA parameters is set for each AC queue. These parameters determine the capabilities of a queue to occupy a channel. You can set EDCA parameters for packets of different ACs to provide differentiated priorities to the packets and different capabilities to compete for channels. In this way, differentiated services are implemented.
Parameter |
Meaning |
---|---|
Arbitration Interframe Spacing Number (AIFSN) |
The DIFS has a fixed value. WMM provides different DIFS values for different ACs. A large AIFSN value means that the STA must wait for a long time and has a low priority. |
Exponent form of CWmin (ECWmin) and exponent form of CWmax (ECWmax) |
ECWmin specifies the minimum backoff time, and ECWmax specifies the maximum backoff time. Together, they determine the average backoff time. Large ECWmin and ECWmax values mean a long average backoff time for the STA and a low STA priority. |
Transmission Opportunity Limit (TXOPLimit) |
After preempting a channel, the STA can occupy the channel within the period of TXOPLimit. A large TXOPLimit value means that the STA can occupy the channel for a long time. If the TXOPLimit value is 0, the STA can only send one data frame every time it preempts a channel. |
Precautions
Packet Type | Parameters | Description |
---|---|---|
AC_VO | ECWmax | 4 |
ECWmin | 2 | |
AIFSN | 2 | |
TXOPLimit | 0 | |
AC_VI | ECWmax | 5 |
ECWmin | 3 | |
AIFSN | 5 | |
TXOPLimit | 0 | |
AC_BE | ECWmax | 10 |
ECWmin | 6 | |
AIFSN | 5 | |
TXOPLimit | 0 | |
AC_BK | ECWmax | 10 |
ECWmin | 8 | |
AIFSN | 12 | |
TXOPLimit | 0 |
Packet Type | Parameters | Description |
---|---|---|
AC_VO | ECWmax | 4 |
ECWmin | 2 | |
AIFSN | 2 | |
TXOPLimit | 0 | |
AC_VI | ECWmax | 5 |
ECWmin | 3 | |
AIFSN | 5 | |
TXOPLimit | 0 | |
AC_BE | ECWmax | 10 |
ECWmin | 6 | |
AIFSN | 12 | |
TXOPLimit | 0 | |
AC_BK | ECWmax | 10 |
ECWmin | 8 | |
AIFSN | 12 | |
TXOPLimit | 0 |
# Configure EDCA parameters of AC_VO packets used by the remote AP to negotiate with the AT.
<HUAWEI> system-view [HUAWEI] wlan [HUAWEI-wlan-view] mesh-profile name test [HUAWEI-wlan-mesh-prof-test] fwa wmm edca-mode manual [HUAWEI-wlan-mesh-prof-test] fwa wmm edca-client ac-vo aifsn 7 ecw ecwmin 4 ecwmax 10 txoplimit 0