classdef edcaFrameFormats < Simulink.IntEnumType
%edcaFrameFormats Indicate the physical layer format of an WLAN MAC frame
%
%   This is an example helper class (Enumeration).
%
%   FORMAT = edcaFrameFormats.<ENUMVALUE> creates an enumeration with the
%   value specified by the ENUMVALUE. Valid values for ENUMVALUE are
%   mentioned below.
%
%   edcaFrameFormats properties: 
%
%   NonHT (0)      - Non-HT frame format
%   HTMixed (1)    - HT-Mixed frame format
%   VHT (2)        - VHT frame format
%   HE_SU (3)      - HE frame format
%   HE_EXT_SU (4)  - HE extended range frame format
%   HE_MU (5)      - HE multi user frame format

%   Copyright 2019 The MathWorks, Inc. 

%#codegen

  enumeration
    %Non-HT frame format
    % NonHT is mapped to 0. This value indicates a Non-HT format.
    NonHT (0)
    
    %HT-Mixed frame format
    % HTMixed is mapped to 1. This value indicates a HT-Mixed format.
    HTMixed (1)
    
    %VHT frame format
    % VHT is mapped to 2. This value indicates a VHT format.
    VHT (2)
    
    %HE_SU frame format
    % HE_SU is mapped to 3. This value indicates a HE single user format.
    HE_SU (3)
    
    %HE_EXT_SU frame format
    % HE_EXT_SU is mapped to 4. This value indicates a HE extended range
    % single user format.
    HE_EXT_SU (4)
    
    %HE_MU frame format
    % HE_MU is mapped to 5. This value indicates a HE multi user format.
    HE_MU (5)
  end
  methods (Static)
    function value = getDefaultValue()
      % Default frame format is considered as Non-HT
      value = edcaFrameFormats.NonHT;
    end
  end
end