WlanInformationAPI_TypesAndValues.ttcn 3.21 KB
Newer Older
YannGarcia's avatar
YannGarcia committed
/**
 *  @author     ETSI / TTF T012
 *  @version    $Url$
 *              $Id$
 *  @desc       Types ANd Values for ETSI GS MEC 028 V2.1.1 (2020-06)
 *  @copyright   ETSI Copyright Notification
 *               No part may be reproduced except as authorized by written permission.
 *               The copyright and the foregoing restriction extend to reproduction in all media.
 *               All rights reserved.
 */
module WlanInformationAPI_TypesAndValues {

  // JSON
  import from JSON all;

  // LibCommon
  import from LibCommon_BasicTypesAndValues all;

  /**
   * @desc The seconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC
   */
  type UInt32 Seconds;

  /**
   * @desc The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC
   */
  type UInt32 NanoSeconds;

  /**
   * @desc Time stamp description
   * @member seconds The seconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC
   * @member nanoSeconds The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC
   * @see MEC030 Clause 6.5.2 Type: TimeStamp
   */
  type record TimeStamp {
    Seconds seconds,
    NanoSeconds nanoSeconds
  }


  type record of JSON.String SsidList;
  type record of JSON.String IpAddressList;
  /**
   * @desc Identifiers determining a specific Access Point
   * @member macId Unique Identifier assigned to an Access Point
   * @member ssid Service Set Identifier to identify logical networks including Basic Service Set and Extended Service Set
   * @member ipAddress IPv4 or IPv6 address allocated for the Access Point
   * @see ETSI GS MEC 028 Clause 6.5.3 Type: ApIdentity
   */
  type record ApIdentity {
    JSON.String macId,
    SsidList ssid optional,
    IpAddressList ipAddress optional
  }

  /**
   * @desc information on HT capabilities of an Access Point
   * @member htCapabilityInfo HT Capability Information
   * @member ampduParameters A-MPDU parameters
   * @member supportedMcsSet Supported MCS set
   * @member htExtendedCap Extended HT Capabilities
   * @member txBeamFormCap Transmit Beamforming Capabilities
   * @member aselCap ASEL capabilities
   * @see ETSI GS MEC 028 Clause 6.5.14 Type: HtCapabilities
   */
  /*type integer  UInt128 (0 .. c_uInt128Max) with {variant "unsigned 64 bit"};
  type record HtCapabilities {
    UInt16 htCapabilityInfo,
    UInt8 ampduParameters,
    UInt128 supportedMcsSet,
    UInt16 htExtendedCap,
    UInt32 txBeamFormCap,
    UInt8 aselCap
    }*/

  /**
   * @desc WLAN capabilities of the Access Point
   * @member ht Information about Access Point HT capabilities
   * @member vht Information about Access Point VHT capabilities
   * @member he Information about Access Point HE capabilities
   * @member dmg Information about Access Point DMG capabilities
   * @member edmg Information about Access Point EDMG capabilities
   * @see ETSI GS MEC 028 Clause 6.5.4 Type: WlanCapabilities
   */
  /*type record WlanCapabilities {
    HtCapabilities ht optional,
    VhtCapabilities vht optional,
    HeCapabilities he optional,
    DmgCapabilities dmg optional,
    EdmgCapabilities edmg optional
    }*/

} // End of module WlanInformationAPI_TypesAndValues