diff --git a/README.md b/README.md index beef4dff593c2f667884726e0f4a14cdd52345ee..1d6f88dbd6f4667e696488c8c54720ad3c953295 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This repository contains OpenAPIs descriptions for the interfaces specified in E ## Online resources - +* [Specification document](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.01.01_60/gs_MEC028v020101p.pdf) * [Navigate the API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs028-wai-api/raw/stf593/WlanInformationApi.yaml). * [Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/gitlab/mec/gs028-wai-api/raw/stf593/WlanInformationApi.yaml). diff --git a/proto3/models/ap_associated.proto b/proto3/models/ap_associated.proto new file mode 100644 index 0000000000000000000000000000000000000000..022b389913f9869599e9ebc17f621014aa3a65e2 --- /dev/null +++ b/proto3/models/ap_associated.proto @@ -0,0 +1,30 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message ApAssociated { + + // Unique number which identifies a particular association between the station and Access Point. + string assoc_id = 1; + + // IPv4 or IPv6 address allocated for the Access Point. + repeated string ip_address = 2; + + // Unique identifier assigned to the Access Point (as network interface controller) for communications at the data link layer of a network segment. + string mac_id = 3; + + // Service Set Identifier to identify logical networks. + repeated string ssid = 4; + +} diff --git a/proto3/models/ap_identity.proto b/proto3/models/ap_identity.proto new file mode 100644 index 0000000000000000000000000000000000000000..cb473e160e567edef77a43d4bd1d72e755960cc3 --- /dev/null +++ b/proto3/models/ap_identity.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message ApIdentity { + + // IPv4 or IPv6 address allocated for the Access Point. + repeated string ip_address = 1; + + // Unique Identifier assigned to an Access Point (as network interface controller) for communications at the data link layer of a network segment. + string mac_id = 2; + + // Service Set Identifier to identify logical networks including Basic Service Set and Extended Service Set. + repeated string ssid = 3; + +} diff --git a/proto3/models/ap_info.proto b/proto3/models/ap_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..320d07990dfc658a697bc4c4e502bdf5985325df --- /dev/null +++ b/proto3/models/ap_info.proto @@ -0,0 +1,45 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/ap_identity.proto"; +import public "models/ap_location.proto"; +import public "models/bss_load.proto"; +import public "models/ext_bss_load.proto"; +import public "models/neighbor_report.proto"; +import public "models/time_stamp.proto"; +import public "models/wan_metrics.proto"; +import public "models/wlan_capabilities.proto"; + +message ApInfo { + + ApIdentity ap_id = 1; + + ApLocation ap_location = 2; + + NeighborReport ap_neighbor = 3; + + BssLoad bss_load = 4; + + // Channel configured for the Access Point. + int32 channel = 5; + + ExtBssLoad ext_bss_load = 6; + + TimeStamp time_stamp = 7; + + WanMetrics wan_metrics = 8; + + WlanCapabilities wlan_cap = 9; + +} diff --git a/proto3/models/ap_location.proto b/proto3/models/ap_location.proto new file mode 100644 index 0000000000000000000000000000000000000000..65ef291493119b8f9c0136e564d11f8186c08cc4 --- /dev/null +++ b/proto3/models/ap_location.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/civic_location.proto"; +import public "models/geo_location.proto"; + +message ApLocation { + + CivicLocation civic_location = 1; + + GeoLocation geolocation = 2; + +} diff --git a/proto3/models/assoc_sta_notification.proto b/proto3/models/assoc_sta_notification.proto new file mode 100644 index 0000000000000000000000000000000000000000..8349dde2304c193e433b189eab97604285a50b5a --- /dev/null +++ b/proto3/models/assoc_sta_notification.proto @@ -0,0 +1,31 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/ap_identity.proto"; +import public "models/sta_identity.proto"; +import public "models/time_stamp.proto"; + +message AssocStaNotification { + + ApIdentity ap_id = 1; + + // Shall be set to \"AssocStaNotification\". + string notification_type = 2; + + // Identifier(s) to uniquely specify the client station(s) associated. + repeated StaIdentity sta_id = 3; + + TimeStamp time_stamp = 4; + +} diff --git a/proto3/models/assoc_sta_subscription.proto b/proto3/models/assoc_sta_subscription.proto new file mode 100644 index 0000000000000000000000000000000000000000..07a881fe4c0ebcc5110924e52a75170ab56bdf7f --- /dev/null +++ b/proto3/models/assoc_sta_subscription.proto @@ -0,0 +1,33 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/ap_identity.proto"; +import public "models/assoc_sta_subscription_links.proto"; +import public "models/time_stamp.proto"; + +message AssocStaSubscription { + + AssocStaSubscriptionLinks underscorelinks = 1; + + ApIdentity ap_id = 2; + + // URI selected by the service consumer to receive notifications on the subscribed WLAN information. This shall be included both in the request and in response. + string callback_reference = 3; + + TimeStamp expiry_deadline = 4; + + // Shall be set to \"AssocStaSubscription\". + string subscription_type = 5; + +} diff --git a/proto3/models/assoc_sta_subscription_links.proto b/proto3/models/assoc_sta_subscription_links.proto new file mode 100644 index 0000000000000000000000000000000000000000..3a65922a6fb9dfbd8019ec15dfc37b9eeeadd21d --- /dev/null +++ b/proto3/models/assoc_sta_subscription_links.proto @@ -0,0 +1,21 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/link_type.proto"; + +message AssocStaSubscriptionLinks { + + LinkType self = 1; + +} diff --git a/proto3/models/associated_stations.proto b/proto3/models/associated_stations.proto new file mode 100644 index 0000000000000000000000000000000000000000..5ca0be8565609ab91a0e4464c332fd8691c9e314 --- /dev/null +++ b/proto3/models/associated_stations.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message AssociatedStations { + + // Unique number which identifies a particular association between an Access Point and a station. + string assoc_id = 1; + + // IPv4 or IPv6 address allocated for the station associated with the Access Point. + repeated string ip_address = 2; + + // Unique identifier assigned to a station (as network interface controller) for communications at the data link layer of a network segment. + string mac_id = 3; + +} diff --git a/proto3/models/beacon_report.proto b/proto3/models/beacon_report.proto new file mode 100644 index 0000000000000000000000000000000000000000..f9dada9824aa12d1a6b3180aaad5077bd46b5b6c --- /dev/null +++ b/proto3/models/beacon_report.proto @@ -0,0 +1,36 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/sta_identity.proto"; + +message BeaconReport { + + // The BSSID field indicates the BSSID of the BSS(s) for which a beacon report has been received. + repeated string bss_id = 1; + + // Channel number where the beacon was received. + int32 channel_id = 2; + + // Measurement ID of the Measurement configuration applied to this Beacon Report. + string measurement_id = 3; + + // As in table T9-89 of IEEE 802.11-2012 [8]. + int32 reporting_condition = 4; + + // (Optional) The SSID subelement indicates the ESS(s) or IBSS(s) for which a beacon report is received. + repeated string ss_id = 5; + + StaIdentity sta_id = 6; + +} diff --git a/proto3/models/beacon_request_config.proto b/proto3/models/beacon_request_config.proto new file mode 100644 index 0000000000000000000000000000000000000000..352a9523c40a67eae12ee4b4f17e18b8b279609a --- /dev/null +++ b/proto3/models/beacon_request_config.proto @@ -0,0 +1,36 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/sta_identity.proto"; + +message BeaconRequestConfig { + + // The BSSID field indicates the BSSID of the BSS(s) for which a beacon report is requested. When requesting beacon reports for all BSSs on the channel, the BSSID field contains the wildcard BSSID. + repeated string bss_id = 1; + + // Channel number to scan. A Channel Number of 0 indicates a request to make iterative measurements for all supported channels in the Operating Class where the measurement is permitted on the channel and the channel is valid for the current regulatory domain. A Channel Number of 255 indicates a request to make iterative measurements for all supported channels in the current Operating Class listed in the latest AP Channel Report received from the serving AP. + int32 channel_id = 2; + + // 0 for passive. 1 for active. 2 for beacon table. + int32 measurement_mode = 3; + + // As in table T9-89 of IEEE 802.11-2012 [8]. + int32 reporting_condition = 4; + + // (Optional) The SSID subelement indicates the ESS(s) or IBSS(s) for which a beacon report is requested. + repeated string ss_id = 5; + + StaIdentity sta_id = 6; + +} diff --git a/proto3/models/bss_load.proto b/proto3/models/bss_load.proto new file mode 100644 index 0000000000000000000000000000000000000000..3633fec0731ae88ebbb6b2ca8fcbc43fdc17fdc0 --- /dev/null +++ b/proto3/models/bss_load.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message BssLoad { + + // Available Admission Capacity that specifies the remaining amount of medium time available via explicit admission control, in units of 32 s/s. + int32 avail_adm_cap = 1; + + // The percentage of time, linearly scaled with 255 representing 100 %, that the AP sensed the medium was busy, as indicated by either the physical or virtual Carrier Sense (CS) mechanism. + int32 channel_utilization = 2; + + // An unsigned integer that indicates the total number of STAs currently associated with this BSS. + int32 sta_count = 3; + +} diff --git a/proto3/models/channel_load_config.proto b/proto3/models/channel_load_config.proto new file mode 100644 index 0000000000000000000000000000000000000000..5750161ebaab6c75ac28edbf8a7aa06443d61750 --- /dev/null +++ b/proto3/models/channel_load_config.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/ap_identity.proto"; + +message ChannelLoadConfig { + + ApIdentity ap_id = 1; + + // Channel number which load is reported + int32 c_channel_id = 2; + + // Channel load as per IEEE 802.11-2012 [8], section 11.11.9.3 + int32 channel_load = 3; + +} diff --git a/proto3/models/civic_location.proto b/proto3/models/civic_location.proto new file mode 100644 index 0000000000000000000000000000000000000000..dfd3a8e294782d47efa011dd15c5e460670c64ff --- /dev/null +++ b/proto3/models/civic_location.proto @@ -0,0 +1,117 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message CivicLocation { + + // Language + string ca0 = 1; + + // National subdivisions (state, canton, region,province, prefecture) + string ca1 = 2; + + // Script + string ca128 = 3; + + // Leading street direction + string ca16 = 4; + + // Trailing street suffix + string ca17 = 5; + + // Street suffix or type + string ca18 = 6; + + // House number + string ca19 = 7; + + // County, parish, gun (JP), district (IN) + string ca2 = 8; + + // House number suffix + string ca20 = 9; + + // Landmark of vanity address + string ca21 = 10; + + // Additional location information + string ca22 = 11; + + // Name (residence and office occupant) + string ca23 = 12; + + // Postal/zip code + string ca24 = 13; + + // Building (structure) + string ca25 = 14; + + // Unit (apartment/suite) + string ca26 = 15; + + // Floor + string ca27 = 16; + + // Room + string ca28 = 17; + + // Type of place + string ca29 = 18; + + // City, township, shi (JP) + string ca3 = 19; + + // Postal community name + string ca30 = 20; + + // Post office box + string ca31 = 21; + + // Additional code + string ca32 = 22; + + // Seat (desk.cubicle, workstation) + string ca33 = 23; + + // Primary road name + string ca34 = 24; + + // Road section + string ca35 = 25; + + // Branch road name + string ca36 = 26; + + // Sub-branch road name + string ca37 = 27; + + // Street name pre-modifier + string ca38 = 28; + + // Street name post-modifier + string ca39 = 29; + + // City division, borough, city district, ward, chou (JP) + string ca4 = 30; + + // Neighborhood, block + string ca5 = 31; + + // Group of streets below the neighborhood level + string ca6 = 32; + + // The two-letter ISO 3166 [i.9] country code in capital ASCII letters, e.g. DE or US, as per ISO 3166 [i.9] + string country = 33; + +} diff --git a/proto3/models/dmg_capabilities.proto b/proto3/models/dmg_capabilities.proto new file mode 100644 index 0000000000000000000000000000000000000000..9181177b46031f77f089000408911045984ec0be --- /dev/null +++ b/proto3/models/dmg_capabilities.proto @@ -0,0 +1,42 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message DmgCapabilities { + + // Extended SC MCS capabilities as defined in draft IEEE P802.11/D4.0 [i.11] + int32 ext_sc_mcs_cap = 1; + + // DMG AP or PCP capabilities information as defined in draft IEEE P802.11/D4.0 [i.11] + int32 dmg_ap_or_pcp_cap_info = 2; + + // DMG station beam tracking time limit as defined in draft IEEE P802.11/D4.0 [i.11] + int32 dmg_sta_beam_track_time_limit = 3; + + // DMG station capabilities information as defined in draft IEEE P802.11/D4.0 [i.11] + int64 dmg_sta_cap_info = 4; + + // Number of basic A-MSDU subframes in A-MSDU as defined in draft IEEE P802.11/D4.0 [i.11] + int32 max_nr_basic_amsdu_subframes = 5; + + // Number of short A-MSDU subframes in A-MSDU as defined in draft IEEE P802.11/D4.0 [i.11] + int32 max_nr_short_amsdu_subframes = 6; + + // SAR capabilities as defined in draft IEEE P802.11/D4.0 [i.11] + int32 sar_cap = 7; + + // TDD capabilities as defined in draft IEEE P802.11/D4.0 [i.11] + int32 tdd_cap = 8; + +} diff --git a/proto3/models/edmg_capabilities.proto b/proto3/models/edmg_capabilities.proto new file mode 100644 index 0000000000000000000000000000000000000000..996b6bf4a356be688078c62aade1af443d16f4b4 --- /dev/null +++ b/proto3/models/edmg_capabilities.proto @@ -0,0 +1,29 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message EdmgCapabilities { + + // A-MPDU parameters as defined in draft IEEE P802.11/D4.0 [i.11] + int32 ampdu_parameters = 1; + + int32 reserved = 2; + + // Supported MCS as defined in draft IEEE P802.11/D4.0 [i.11] + int32 supported_mcs = 3; + + // Training parameters as defined in draft IEEE P802.11/D4.0 [i.11] + int32 trn_parameters = 4; + +} diff --git a/proto3/models/ext_bss_load.proto b/proto3/models/ext_bss_load.proto new file mode 100644 index 0000000000000000000000000000000000000000..2307570d0e4a95b179220163b6b6564cb39d3646 --- /dev/null +++ b/proto3/models/ext_bss_load.proto @@ -0,0 +1,33 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message ExtBssLoad { + + // Indicates the total number of STAs currently associated with this BSS that have a 1 in the MU Beamformee Capable field of their VHT Capabilities element. + int32 mu_mimo_sta_count = 1; + + // Observable loading on each of the secondary 20 MHz channel. + int32 obs_sec20_mhz_util = 2; + + // Observable loading on each of the secondary 40 MHz channel. + int32 obs_sec40_mhz_util = 3; + + // Observable loading on each of the secondary 80 MHz channel. + int32 obs_sec80_mhz_util = 4; + + // The percentage of time, linearly scaled with 255 representing 100 %, that the AP has underutilized spatial domain resources for given busy time of the medium. + int32 spat_stream_under_util = 5; + +} diff --git a/proto3/models/geo_location.proto b/proto3/models/geo_location.proto new file mode 100644 index 0000000000000000000000000000000000000000..0e772a2fd58b61b9560535ef205a687425c77370 --- /dev/null +++ b/proto3/models/geo_location.proto @@ -0,0 +1,42 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message GeoLocation { + + // The altitude value of location as defined in IETF RFC 6225 [6] + int32 altitude = 1; + + // The type description for altitude information e.g. floors or meters as defined in IETF RFC 6225 [6] + int32 altitude_type = 2; + + // The uncertainty for altitude information as defined in IETF RFC 6225 [6] + int32 altitude_uncertainty = 3; + + // The datum value to express how coordinates are organized and related to real world as defined in IETF RFC 6225 [6] + int32 datum = 4; + + // The latitude value of location as defined in IETF RFC 6225 [6] + int64 lat = 5; + + // The uncertainty for Latitude information as defined in IETF RFC 6225 [6] + int32 lat_uncertainty = 6; + + // The longitude value of location as defined in IETF RFC 6225 [6] + int64 long = 7; + + // The uncertainty for Longitude information as defined in IETF RFC 6225 [6] + int32 long_uncertainty = 8; + +} diff --git a/proto3/models/he_capabilities.proto b/proto3/models/he_capabilities.proto new file mode 100644 index 0000000000000000000000000000000000000000..5480faf33b98aeee56a351ca6546e5712a781826 --- /dev/null +++ b/proto3/models/he_capabilities.proto @@ -0,0 +1,30 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message HeCapabilities { + + // MAC capabilities of an Access Point. + int32 he_mac_cap_info = 1; + + // PHY capabilities of an Access Point. + int32 he_phy_capinfo = 2; + + // PPE Threshold determines the nominal packet padding value for a HE PPDU. + int32 ppe_thresholds = 3; + + // Supported MCS and NSS Set. + int32 supported_he_mcs_nss_set = 4; + +} diff --git a/proto3/models/ht_capabilities.proto b/proto3/models/ht_capabilities.proto new file mode 100644 index 0000000000000000000000000000000000000000..3f80b6ff97c66ea5b41e0437551875a5268d7397 --- /dev/null +++ b/proto3/models/ht_capabilities.proto @@ -0,0 +1,36 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message HtCapabilities { + + // A-MPDU parameters as defined in IEEE 802.11-2016 [8]. + int32 ampdu_parameters = 1; + + // ASEL capabilities as defined in IEEE 802.11-2016 [8]. + int32 asel_cap = 2; + + // HT Capability Information as defined in IEEE 802.11-2016 [8]. + int32 ht_capability_info = 3; + + // Extended HT Capabilities as defined in IEEE 802.11-2016 [8]. + int32 ht_extended_cap = 4; + + // Supported MCS set as defined in IEEE 802.11-2016 [8]. + int64 supported_mcs_set = 5; + + // Transmit Beamforming Capabilities as defined in IEEE 802.11-2016 [8]. + int32 tx_beam_form_cap = 6; + +} diff --git a/proto3/models/inline_notification.proto b/proto3/models/inline_notification.proto new file mode 100644 index 0000000000000000000000000000000000000000..3dcac7e62465cbaa70df59d83b9d275cb682eba1 --- /dev/null +++ b/proto3/models/inline_notification.proto @@ -0,0 +1,37 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/ap_identity.proto"; +import public "models/assoc_sta_notification.proto"; +import public "models/sta_data_rate.proto"; +import public "models/sta_data_rate_notification.proto"; +import public "models/sta_identity.proto"; +import public "models/time_stamp.proto"; + +message InlineNotification { + + ApIdentity ap_id = 1; + + // Shall be set to \"StaDataRateNotification\". + string notification_type = 2; + + // Identifier(s) to uniquely specify the client station(s) associated. + repeated StaIdentity sta_id = 3; + + TimeStamp time_stamp = 4; + + // Data rates of a client station. + repeated StaDataRate sta_data_rate = 5; + +} diff --git a/proto3/models/inline_subscription.proto b/proto3/models/inline_subscription.proto new file mode 100644 index 0000000000000000000000000000000000000000..28d4405c90e40fbb602be8a739f279ca0acd3053 --- /dev/null +++ b/proto3/models/inline_subscription.proto @@ -0,0 +1,39 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/ap_identity.proto"; +import public "models/assoc_sta_subscription.proto"; +import public "models/assoc_sta_subscription_links.proto"; +import public "models/sta_data_rate_subscription.proto"; +import public "models/sta_identity.proto"; +import public "models/time_stamp.proto"; + +message InlineSubscription { + + AssocStaSubscriptionLinks underscorelinks = 1; + + ApIdentity ap_id = 2; + + // URI selected by the service consumer to receive notifications on the subscribed WLAN Access Information Service. This shall be included both in the request and in response. + string callback_reference = 3; + + TimeStamp expiry_deadline = 4; + + // Shall be set to \"StaDataRateSubscription\". + string subscription_type = 5; + + // Identifier(s) to uniquely specify the target client station(s) for the subscription + repeated StaIdentity sta_id = 6; + +} diff --git a/proto3/models/link_type.proto b/proto3/models/link_type.proto new file mode 100644 index 0000000000000000000000000000000000000000..52573313a5ba0fa9a899e447c16567c94f799c74 --- /dev/null +++ b/proto3/models/link_type.proto @@ -0,0 +1,21 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message LinkType { + + // URI referring to a resource + string href = 1; + +} diff --git a/proto3/models/measurement_config.proto b/proto3/models/measurement_config.proto new file mode 100644 index 0000000000000000000000000000000000000000..48631e09a9c860bd39525113bcecc6778d03c334 --- /dev/null +++ b/proto3/models/measurement_config.proto @@ -0,0 +1,36 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/beacon_request_config.proto"; +import public "models/channel_load_config.proto"; +import public "models/sta_statistics_config.proto"; + +message MeasurementConfig { + + BeaconRequestConfig beacon_request = 1; + + ChannelLoadConfig channel_load = 2; + + // Duration of the measurement, shall be lower than Maximum Measurement Duration in TU as defined in section 11.11.4 of IEEE 802.11 [8]. + int32 measurement_duration = 3; + + // Identifier of this measurement configuration. + string measurement_id = 4; + + // Random interval to be used for starting the measurement. In units of TU as specifed in section 11.11.3 of IEEE 802.11 [8]. + int32 randomn_interval = 5; + + StaStatisticsConfig sta_statistics = 6; + +} diff --git a/proto3/models/neighbor_report.proto b/proto3/models/neighbor_report.proto new file mode 100644 index 0000000000000000000000000000000000000000..d2fd87e62934d85aaf09f64971316ec2371ad278 --- /dev/null +++ b/proto3/models/neighbor_report.proto @@ -0,0 +1,33 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message NeighborReport { + + // BSS Id of the Access Point that is being reported. + string bssid = 1; + + // Additional information related to Access Point that is being reported such as AP reachability, security, key scope, Mobility Domain, HT/VHT capability and Fine Time Measurements. + int32 bssid_info = 2; + + // The channel currently used by this Access Point. + int32 channel = 3; + + // The channel set of the AP indicated by this BSSID. + int32 operating_class = 4; + + // PHY type of the AP indicated by this BSSID. It is an integer value coded according to the value of the dot11PHYType. + int32 phy_type = 5; + +} diff --git a/proto3/models/problem_details.proto b/proto3/models/problem_details.proto new file mode 100644 index 0000000000000000000000000000000000000000..aa2dcb2748966cb19e4393678a6e96d0bb2c3bcf --- /dev/null +++ b/proto3/models/problem_details.proto @@ -0,0 +1,33 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message ProblemDetails { + + // A human-readable explanation specific to this occurrence of the problem + string detail = 1; + + // A URI reference that identifies the specific occurrence of the problem + string instance = 2; + + // The HTTP status code for this occurrence of the problem + int32 status = 3; + + // A short, human-readable summary of the problem type + string title = 4; + + // A URI reference according to IETF RFC 3986 that identifies the problem type + string type = 5; + +} diff --git a/proto3/models/rssi.proto b/proto3/models/rssi.proto new file mode 100644 index 0000000000000000000000000000000000000000..f50fb0c8bc8cff984fa14dea401607fc56c70490 --- /dev/null +++ b/proto3/models/rssi.proto @@ -0,0 +1,21 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message Rssi { + + // The Received Signal Strength Indicator from a station + int32 rssi = 1; + +} diff --git a/proto3/models/sta_data_rate.proto b/proto3/models/sta_data_rate.proto new file mode 100644 index 0000000000000000000000000000000000000000..16012034ba21821f564abe509418ca70ab33eaf4 --- /dev/null +++ b/proto3/models/sta_data_rate.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/sta_identity.proto"; + +message StaDataRate { + + StaIdentity sta_id = 1; + + // The data transmit rate in kbps that was most recently used for transmission of data PPDUs from the access point to the station. + int32 sta_last_data_downlink_rate = 2; + + // The data transmit rate in Kbps that was most recently used for transmission of data PPDUs from the associated station to the access point. + int32 sta_last_data_uplink_rate = 3; + +} diff --git a/proto3/models/sta_data_rate_notification.proto b/proto3/models/sta_data_rate_notification.proto new file mode 100644 index 0000000000000000000000000000000000000000..c545359626d5c423ca62b1ba10d904f25e76fd9a --- /dev/null +++ b/proto3/models/sta_data_rate_notification.proto @@ -0,0 +1,28 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/sta_data_rate.proto"; +import public "models/time_stamp.proto"; + +message StaDataRateNotification { + + // Shall be set to \"StaDataRateNotification\". + string notification_type = 1; + + // Data rates of a client station. + repeated StaDataRate sta_data_rate = 2; + + TimeStamp time_stamp = 3; + +} diff --git a/proto3/models/sta_data_rate_subscription.proto b/proto3/models/sta_data_rate_subscription.proto new file mode 100644 index 0000000000000000000000000000000000000000..84b617d32ce50c32aefa222c7ade0a9736796861 --- /dev/null +++ b/proto3/models/sta_data_rate_subscription.proto @@ -0,0 +1,34 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/assoc_sta_subscription_links.proto"; +import public "models/sta_identity.proto"; +import public "models/time_stamp.proto"; + +message StaDataRateSubscription { + + AssocStaSubscriptionLinks underscorelinks = 1; + + // URI selected by the service consumer to receive notifications on the subscribed WLAN Access Information Service. This shall be included both in the request and in response. + string callback_reference = 2; + + TimeStamp expiry_deadline = 3; + + // Identifier(s) to uniquely specify the target client station(s) for the subscription + repeated StaIdentity sta_id = 4; + + // Shall be set to \"StaDataRateSubscription\". + string subscription_type = 5; + +} diff --git a/proto3/models/sta_identity.proto b/proto3/models/sta_identity.proto new file mode 100644 index 0000000000000000000000000000000000000000..d203ea57c811a2932a178acbbbc669bc006cfff8 --- /dev/null +++ b/proto3/models/sta_identity.proto @@ -0,0 +1,30 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message StaIdentity { + + // Number which identifies a particular association between a station and an Access Point + string aid = 1; + + // IPv4 or IPv6 address allocated for the station. + repeated string ip_address = 2; + + // Unique identifier assigned to station (as network interface controller) for communications at the data link layer of a network segment. + string mac_id = 3; + + // Service Set Identifier to identify logical networks. + repeated string ssid = 4; + +} diff --git a/proto3/models/sta_info.proto b/proto3/models/sta_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..479e12cce04fba431eb78a4247c61735087ed008 --- /dev/null +++ b/proto3/models/sta_info.proto @@ -0,0 +1,42 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/ap_associated.proto"; +import public "models/beacon_report.proto"; +import public "models/rssi.proto"; +import public "models/sta_data_rate.proto"; +import public "models/sta_identity.proto"; +import public "models/sta_statistics.proto"; +import public "models/time_stamp.proto"; + +message StaInfo { + + ApAssociated ap_associated = 1; + + BeaconReport beacon_report = 2; + + // Channel currently used by the station. + int32 channel = 3; + + Rssi rssi = 4; + + StaDataRate sta_data_rate = 5; + + StaIdentity sta_id = 6; + + StaStatistics sta_statistics = 7; + + TimeStamp time_stamp = 8; + +} diff --git a/proto3/models/sta_statistics.proto b/proto3/models/sta_statistics.proto new file mode 100644 index 0000000000000000000000000000000000000000..0a29db7e7b92c91bf4b5810623f9fb67e539b6b6 --- /dev/null +++ b/proto3/models/sta_statistics.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/statistics_group_data.proto"; + +message StaStatistics { + + // Indicates the requested statistics group describing the Statistics Group Data according to table 9-114 of IEEE 802.11-2016 [8]. + int32 group_identity = 1; + + // Measurement Duration. + int32 md = 2; + + StatisticsGroupData statistics_group_data = 3; + +} diff --git a/proto3/models/sta_statistics_config.proto b/proto3/models/sta_statistics_config.proto new file mode 100644 index 0000000000000000000000000000000000000000..8cb8728e4fb8e23173d750be2e8e8f02bf0cf5df --- /dev/null +++ b/proto3/models/sta_statistics_config.proto @@ -0,0 +1,31 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/sta_identity.proto"; + +message StaStatisticsConfig { + + // As per table T 9-114 of IEEE 802.11-2012 [8]. + int32 group_identity = 1; + + StaIdentity sta_id = 2; + + int32 trigger_condition = 3; + + // The Trigger Timeout field contains a value in units of 100 TUs during which a measuring STA does not generate further triggered STA Statistics Reports after a trigger condition has been met. + int32 trigger_timeout = 4; + + bool triggered_report = 5; + +} diff --git a/proto3/models/statistics_group_data.proto b/proto3/models/statistics_group_data.proto new file mode 100644 index 0000000000000000000000000000000000000000..f5b25ac8ac42cc2063ff6d174aff00df373d2798 --- /dev/null +++ b/proto3/models/statistics_group_data.proto @@ -0,0 +1,172 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message StatisticsGroupData { + + int32 dot11_ampdu_delimiter_crc_error_count = 1; + + int32 dot11_ampdu_received_count = 2; + + int32 dot11_amsdu_ack_failure_count = 3; + + int32 dot11_ack_failure_count = 4; + + int32 dot11_beamforming_frame_count = 5; + + int32 dot11_channel_width_switch_count = 6; + + int32 dot11_dual_cts_failure_count = 7; + + int32 dot11_dual_cts_success_count = 8; + + int32 dot11_explicit_bar_failure_count = 9; + + int32 dot11_fcs_error_count = 10; + + int32 dot11_failed_amsdu_count = 11; + + int32 dot11_failed_count = 12; + + int32 dot11_forty_mhz_frame_received_count = 13; + + int32 dot11_forty_mhz_frame_transmitted_count = 14; + + int32 dot11_frame_duplicate_count = 15; + + int32 dot11_granted_rdg_unused_count = 16; + + int32 dot11_granted_rdg_used_count = 17; + + int32 dot11_group_received_frame_count = 18; + + int32 dot11_group_transmitted_frame_count = 19; + + int32 dot11_implicit_bar_failure_count = 20; + + int32 dot11_mpdu_in_received_ampdu_count = 21; + + int32 dot11_multiple_retry_amsdu_count = 22; + + int32 dot11_multiple_retry_count = 23; + + int32 dot11_psmputt_grant_duration = 24; + + int32 dot11_psmputt_used_duration = 25; + + int32 dot11_qos_ack_failure_count = 26; + + int32 dot11_qos_discarded_frame_count = 27; + + int32 dot11_qos_failed_count = 28; + + int32 dot11_qos_frame_duplicate_count = 29; + + int32 dot11_qos_mpdus_received_count = 30; + + int32 dot11_qos_multiple_retry_count = 31; + + int32 dot11_qos_rts_failure_count = 32; + + int32 dot11_qos_rts_success_count = 33; + + int32 dot11_qos_received_fragment_count = 34; + + int32 dot11_qos_retries_received_count = 35; + + int32 dot11_qos_retry_count = 36; + + int32 dot11_qos_transmitted_fragment_count = 37; + + int32 dot11_qos_transmitted_frame_count = 38; + + int32 dot11_rsna_stats_bipmic_errors = 39; + + int32 dot11_rsna_stats_ccmp_decrypt_errors = 40; + + int32 dot11_rsna_stats_ccmp_replays = 41; + + int32 dot11_rsna_stats_cmac_replays = 42; + + int32 dot11_rsna_stats_robust_mgmt_ccmp_replays = 43; + + int32 dot11_rsna_stats_tkipcve_rrors = 44; + + int32 dot11_rsna_stats_tkipr_eplays = 45; + + int32 dot11_rts_failure_count = 46; + + int32 dot11_rtsl_sig_failure_count = 47; + + int32 dot11_rtsl_sig_success_count = 48; + + int32 dot11_rts_success_count = 49; + + int32 dot11_received_amsdu_count = 50; + + int32 dot11_received_fragment_count = 51; + + int64 dot11_received_octets_in_ampdu_count = 52; + + int64 dot11_received_octets_in_amsdu_count = 53; + + int32 dot11_retry_amsdu_count = 54; + + int32 dot11_retry_count = 55; + + int32 dot11_sta_statistics_ap_average_access_delay = 56; + + int32 dot11_sta_statistics_average_access_delay_back_ground = 57; + + int32 dot11_sta_statistics_average_access_delay_best_effort = 58; + + int32 dot11_sta_statistics_average_access_delay_video = 59; + + int32 dot11_sta_statistics_average_access_delay_voice = 60; + + int32 dot11_sta_statistics_channel_utilization = 61; + + int32 dot11_sta_statistics_station_count = 62; + + int32 dot11_stbccts_failure_count = 63; + + int32 dot11_stbccts_success_count = 64; + + int32 dot11_transmitted_ampdu_count = 65; + + int32 dot11_transmitted_amsdu_count = 66; + + int32 dot11_transmitted_fragment_count = 67; + + int32 dot11_transmitted_frame_count = 68; + + int32 dot11_transmitted_frames_in_granted_rdg_count = 69; + + int32 dot11_transmitted_mpdus_in_ampdu_count = 70; + + int64 dot11_transmitted_octets_in_ampdu_count = 71; + + int64 dot11_transmitted_octets_in_amsdu_count = 72; + + int32 dot11_transmitted_octets_in_granted_rdg_count = 73; + + int32 dot11_twenty_mhz_frame_received_count = 74; + + int32 dot11_twenty_mhz_frame_transmitted_count = 75; + + int32 dot11non_stbccts_failure_count = 76; + + int32 dot11non_stbccts_success_count = 77; + +} diff --git a/proto3/models/subscription_link_list.proto b/proto3/models/subscription_link_list.proto new file mode 100644 index 0000000000000000000000000000000000000000..21488784274dfaecb23771b514b11238c45f87ae --- /dev/null +++ b/proto3/models/subscription_link_list.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/assoc_sta_subscription.proto"; +import public "models/sta_data_rate_subscription.proto"; +import public "models/subscription_link_list_links.proto"; + +message SubscriptionLinkList { + + SubscriptionLinkListLinks underscorelinks = 1; + + repeated AssocStaSubscription assoc_sta_subscription = 2; + + repeated StaDataRateSubscription sta_data_rate_subscription = 3; + +} diff --git a/proto3/models/subscription_link_list_links.proto b/proto3/models/subscription_link_list_links.proto new file mode 100644 index 0000000000000000000000000000000000000000..f27358bac712bff4879fc599efff534d4fecdb26 --- /dev/null +++ b/proto3/models/subscription_link_list_links.proto @@ -0,0 +1,21 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/link_type.proto"; + +message SubscriptionLinkListLinks { + + LinkType self = 1; + +} diff --git a/proto3/models/time_stamp.proto b/proto3/models/time_stamp.proto new file mode 100644 index 0000000000000000000000000000000000000000..5667346ee00bd29f0734e1c94e851cddaf0fef20 --- /dev/null +++ b/proto3/models/time_stamp.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message TimeStamp { + + // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. + int32 nano_seconds = 1; + + // The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. + int32 seconds = 2; + +} diff --git a/proto3/models/vht_capabilities.proto b/proto3/models/vht_capabilities.proto new file mode 100644 index 0000000000000000000000000000000000000000..b8ce0e7f8769e85f1cd574d33f8f3aff85f914da --- /dev/null +++ b/proto3/models/vht_capabilities.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message VhtCapabilities { + + // VHT capabilities Info as defined in IEEE 802.11-2016 [8]. + int32 vht_cap_info = 1; + + // Supported VHT-MCS and NSS Set as defined in IEEE 802.11-2016 [8]. + int64 vht_mcs_nss = 2; + +} diff --git a/proto3/models/wan_metrics.proto b/proto3/models/wan_metrics.proto new file mode 100644 index 0000000000000000000000000000000000000000..59b7d8086bcc1ab32d3db29779654d5eb615b982 --- /dev/null +++ b/proto3/models/wan_metrics.proto @@ -0,0 +1,36 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + + +message WanMetrics { + + // 1-octet positive integer representing the current percentage loading of the downlink WAN connection, scaled linearly with 255 representing 100 %, as measured over an interval the duration of which is reported in Load Measurement Duration. In cases where the downlink load is unknown to the AP, the value is set to zero. + int32 downlink_load = 1; + + // 4-octet positive integer whose value is an estimate of the WAN Backhaul link current downlink speed in kilobits per second. + int32 downlink_speed = 2; + + // The LMD (Load Measurement Duration) field is a 2-octet positive integer representing the duration over which the Downlink Load and Uplink Load have been measured, in tenths of a second. When the actual load measurement duration is greater than the maximum value, the maximum value will be reported. The value of the LMD field is set to 0 when neither the uplink nor downlink load can be computed. When the uplink and downlink loads are computed over different intervals, the maximum interval is reported. + int32 lmd = 3; + + // 1-octet positive integer representing the current percentage loading of the uplink WAN connection, scaled linearly with 255 representing 100 %, as measured over an interval, the duration of which is reported in Load Measurement Duration. In cases where the uplink load is unknown to the AP, the value is set to zero. + int32 uplink_load = 4; + + // 4-octet positive integer whose value is an estimate of the WAN Backhaul link's current uplink speed in kilobits per second. + int32 uplink_speed = 5; + + // Info about WAN link status, link symmetricity and capacity currently used. + int32 wan_info = 6; + +} diff --git a/proto3/models/wlan_capabilities.proto b/proto3/models/wlan_capabilities.proto new file mode 100644 index 0000000000000000000000000000000000000000..e86ab843cd39df1d2e93dd787f65c9ac1eb6c627 --- /dev/null +++ b/proto3/models/wlan_capabilities.proto @@ -0,0 +1,33 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import public "models/dmg_capabilities.proto"; +import public "models/edmg_capabilities.proto"; +import public "models/he_capabilities.proto"; +import public "models/ht_capabilities.proto"; +import public "models/vht_capabilities.proto"; + +message WlanCapabilities { + + DmgCapabilities dmg = 1; + + EdmgCapabilities edmg = 2; + + HeCapabilities he = 3; + + HtCapabilities ht = 4; + + VhtCapabilities vht = 5; + +} diff --git a/proto3/services/wai_service.proto b/proto3/services/wai_service.proto new file mode 100644 index 0000000000000000000000000000000000000000..2a91b968134baaa562d60961adc593642441cd92 --- /dev/null +++ b/proto3/services/wai_service.proto @@ -0,0 +1,106 @@ +/* + ETSI GS MEC 028 - WLAN Access Information API + + The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI + + The version of the OpenAPI document: 2.1.1 + + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec028; + +import "google/protobuf/empty.proto"; +import public "models/ap_info.proto"; +import public "models/inline_subscription.proto"; +import public "models/problem_details.proto"; +import public "models/sta_info.proto"; +import public "models/subscription_link_list.proto"; + +service WaiService { + rpc ApInfoGET (ApInfoGETRequest) returns (ApInfoGETResponse); + + rpc StaInfoGET (StaInfoGETRequest) returns (StaInfoGETResponse); + + rpc SubscriptionLinkListSubscriptionsGET (SubscriptionLinkListSubscriptionsGETRequest) returns (SubscriptionLinkList); + + rpc SubscriptionsDELETE (SubscriptionsDELETERequest) returns (google.protobuf.Empty); + + rpc SubscriptionsGET (SubscriptionsGETRequest) returns (InlineSubscription); + + rpc SubscriptionsPOST (SubscriptionsPOSTRequest) returns (InlineSubscription); + + rpc SubscriptionsPUT (SubscriptionsPUTRequest) returns (InlineSubscription); + +} + +message ApInfoGETRequest { + // Attribute-based filtering expression according to clause 6.19 of ETSI GS MEC 009. . + string filter = 1; + // Include all complex attributes in the response. See clause 6.18 of ETSI GS MEC 009 for details. + string all_fields = 2; + // Complex attributes to be included into the response. See clause 6.18 of ETSI GS MEC 009 for details. + repeated string fields = 3; + // Complex attributes to be excluded from the response. See clause 6.18 of ETSI GS MEC 009 for details. + repeated string exclude_fields = 4; + // Indicates to exclude the following complex attributes from the response. See clause 6.18 of ETSI GS MEC 009 for details. The following attributes shall be excluded from the structure in the response body if this parameter is provided, or none of the parameters \"all_fields\", \"fields\", \"exclude_fields\", \"exclude_default\" are provided: Not applicable + repeated string exclude_default = 5; + +} + +message ApInfoGETResponse { + repeated ApInfo data = 1; +} + +message StaInfoGETRequest { + // Attribute-based filtering expression according to clause 6.19 of ETSI GS MEC 009. . + string filter = 1; + // Include all complex attributes in the response. See clause 6.18 of ETSI GS MEC 009 for details. + string all_fields = 2; + // Complex attributes to be included into the response. See clause 6.18 of ETSI GS MEC 009 for details. + repeated string fields = 3; + // Complex attributes to be excluded from the response. See clause 6.18 of ETSI GS MEC 009 for details. + repeated string exclude_fields = 4; + // Indicates to exclude the following complex attributes from the response. See clause 6.18 of ETSI GS MEC 009 for details. The following attributes shall be excluded from the structure in the response body if this parameter is provided, or none of the parameters \"all_fields\", \"fields\", \"exclude_fields\", \"exclude_default\" are provided: Not applicable + repeated string exclude_default = 5; + +} + +message StaInfoGETResponse { + repeated StaInfo data = 1; +} + +message SubscriptionLinkListSubscriptionsGETRequest { + // Filter on a specific subscription type. Permitted values: assoc_sta, sta_data_rate. + string subscription_type = 1; + +} + +message SubscriptionsDELETERequest { + // Subscription Id, specifically the \"self\" returned in the subscription request + string subscription_id = 1; + +} + +message SubscriptionsGETRequest { + // Subscription Id, specifically the \"self\" returned in the subscription request + string subscription_id = 1; + +} + +message SubscriptionsPOSTRequest { + // Subscription to be created + InlineSubscription inline_subscription = 1; + +} + +message SubscriptionsPUTRequest { + // Subscription Id, specifically the \"self\" returned in the subscription request + string subscription_id = 1; + // Subscription to be modified + InlineSubscription inline_subscription = 2; + +} +