wlanRateControl Class
Description
Use the wlanRateControl base class to implement a rate control algorithm in
a subclass.
The wlanRateControl class is a handle class.
Properties
Protected Properties
Custom contextual information template for each receiver, specified as a
structure. The value of this property specifies the information that each receiver
must maintain. The system uses this value as the default for the
CustomContext field in each structure of the
STAContext property. An inheriting subclass must define this
property in its implementation.
Attributes:
GetAccess | protected |
SetAccess | protected |
Abstract | true |
Data Types:
Algorithm-specific contextual information for each STA, specified as an array of structures. Each structure contains these fields:
ReceiverID— Receiver node IDCustomContext— Custom context that holds per-receiver information.
The node assigns the default values for this property. For each receiver that
communicates with the node, the node adds an additional structure to this property. In
each structure, the ReceiverID field contains the actual receiver
ID, and the CustomContext field contains the default value defined
by the CustomContextTemplate abstract property.
Note that an inheriting subclass can modify and use
CustomContext for each receiver in its implementation.
Attributes:
GetAccess | protected |
SetAccess | protected |
Abstract | false |
Data Types:
Methods
deviceConfigurationValue | Retrieve specified device configuration |
deviceConfigurationType | Return device configuration type |
bssConfigurationValue | Retrieve basic rate set value of specified BSS configuration |
maxMCS | Return highest MCS index selectable for specified receiver |
maxNumSpaceTimeStreams | Return maximum number of space-time streams selectable for specified receiver |
mapReceiverToSTAContext | Return index of STA context property for specified receiver |
selectRateParameters | Select rate parameters for frame transmission |
processTransmissionStatus | Use frame transmission status to carry out post-transmission operations |
More About
To create a custom rate control algorithm using the wlanRateControl base
class, follow these steps.
Implement the custom rate control subclass:
Inherit from the
wlanRateControlbase class. The class definition must have this format, wherecustomRateControlAlgorithmis the name of your custom rate control subclass.classdef customRateControlAlgorithm < wlanRateControl ... endImplement the
CustomContextTemplateproperty to define custom contextual information for each receiver. TheCustomContextfield in each structure of theSTAContextproperty contains the value defined by theCustomContextTemplateproperty.Override the
selectRateParametersandprocessTransmissionStatusmethods.
Save the class definition in a
.mfile.In a simulation script, create an object of the
customRateControlAlgorithmsubclass. Specify this custom rate control object to theRateControlproperty of thewlanLinkConfigorwlanDeviceConfigobject and implement it into a WLAN node.
Version History
Introduced in R2026a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)