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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の 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)