Configuring WMM
You can configure WMM profiles to provide different capabilities for different services on STAs or APs to compete for channels to determine the quality of services.
Procedure
- Run system-view
The system view is displayed.
- Run wlan
The WLAN view is displayed.
- Run wmm-profile { id profile-id | name profile-name } *
The WMM profile view is created or entered.
- (Optional) Run display wmm-profile { all | id profile-id | name profile-name }
The WMM profile configuration is displayed.
If the WMM configuration has not been modified, you can run the display wmm-profile { all | id profile-id | name profile-name } command to view the default configuration of a WMM profile and determine whether to modify the WMM configuration.
- Run wmm enable
WMM is enabled.
By default, WMM is enabled.
By default, WMM is disabled on a terminal. To implement the WMM function, you must enable WMM on terminals and devices concurrently.
- (Optional) Run wmm mandatory enable
STAs that do not support WMM are not allowed to connect to a WMM-enabled AP.
By default, STAs that do not support WMM are allowed to connect to a WMM-enabled AP.
On a WLAN, wireless channels are open and all STAs have the same chance to occupy a channel. You can configure WMM to distinguish high-priority packets and enable the high-priority packets to preempt channels. You can also disable STAs that do not support WMM from connecting to a WMM-enabled AP, which prevents those STAs from preempting channels of WMM-capable STAs.
- Run wmm edca client { ac-vo | ac-vi | ac-be | ac-bk } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } *
EDCA parameters are set for STAs.
Table 5-6 lists the default EDCA parameter settings for STAs.As shown in the table, queues of AC_VO, AC_VI, AC_BE, and AC_BK are in descending order of priority.
- Run wmm edca ap { ac-vo | ac-vi | ac-be | ac-bk } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value | ack-policy { normal | noack } } *
EDCA parameters and ACK policies are set for APs.
Table 5-7 lists the default EDCA parameter settings and ACK policy for APs.As shown in the table, queues of AC_VO, AC_VI, AC_BE, and AC_BK are in descending order of priority.