diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter index 1a361b1a9d7653..3872956148de0d 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter @@ -1476,6 +1476,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1522,6 +1527,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter index 8915daff3f335b..35157a1c70dd3b 100644 --- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter +++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter @@ -1299,6 +1299,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1335,6 +1340,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter index 12d4bf0330abc9..18cdac8cf27d1c 100644 --- a/examples/bridge-app/bridge-common/bridge-app.matter +++ b/examples/bridge-app/bridge-common/bridge-app.matter @@ -1103,6 +1103,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1147,6 +1152,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter index 074abc58c8897f..55066d37b26292 100644 --- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter @@ -959,6 +959,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1005,6 +1010,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter index 45e8e9e93c221c..99a39ebfebd41b 100644 --- a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter +++ b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter @@ -951,6 +951,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -997,6 +1002,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/dynamic-bridge-app/bridge-common/bridge-app.matter b/examples/dynamic-bridge-app/bridge-common/bridge-app.matter index 12d4bf0330abc9..18cdac8cf27d1c 100644 --- a/examples/dynamic-bridge-app/bridge-common/bridge-app.matter +++ b/examples/dynamic-bridge-app/bridge-common/bridge-app.matter @@ -1103,6 +1103,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1147,6 +1152,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/light-switch-app/light-switch-common/light-switch-app.matter b/examples/light-switch-app/light-switch-common/light-switch-app.matter index 80ce834e080870..ba452d17d77e20 100644 --- a/examples/light-switch-app/light-switch-common/light-switch-app.matter +++ b/examples/light-switch-app/light-switch-common/light-switch-app.matter @@ -1153,6 +1153,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1199,6 +1204,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter index 55b96977afcc26..2568988fa5ae56 100644 --- a/examples/lighting-app/lighting-common/lighting-app.matter +++ b/examples/lighting-app/lighting-common/lighting-app.matter @@ -1105,6 +1105,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1151,6 +1156,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter index 967b6e892c8d2f..3c5c2dc494f7c0 100644 --- a/examples/lock-app/lock-common/lock-app.matter +++ b/examples/lock-app/lock-common/lock-app.matter @@ -1021,6 +1021,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1067,6 +1072,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter index adaf9d5239cc18..be2c1211e59ee2 100644 --- a/examples/placeholder/linux/apps/app1/config.matter +++ b/examples/placeholder/linux/apps/app1/config.matter @@ -1155,6 +1155,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1201,6 +1206,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter index fd9fe02e3b7bef..832c250feaffaf 100644 --- a/examples/placeholder/linux/apps/app2/config.matter +++ b/examples/placeholder/linux/apps/app2/config.matter @@ -1132,6 +1132,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1178,6 +1183,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter b/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter index 0fba7eaa4062b1..abacf2ab2043f7 100644 --- a/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter +++ b/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter @@ -548,6 +548,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -592,6 +597,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter index 95cc23327b23b0..c9189ff37486d0 100644 --- a/examples/thermostat/thermostat-common/thermostat.matter +++ b/examples/thermostat/thermostat-common/thermostat.matter @@ -1113,6 +1113,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1157,6 +1162,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter index 105bfb2a7f654b..9c28de68619181 100644 --- a/examples/tv-app/tv-common/tv-app.matter +++ b/examples/tv-app/tv-common/tv-app.matter @@ -1155,6 +1155,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1199,6 +1204,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter index 30dd570ec0d003..1edfe24e2b1b3e 100644 --- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter +++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter @@ -1322,6 +1322,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1366,6 +1371,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter index 06e586ec8ad07f..170441a39acd5a 100644 --- a/examples/window-app/common/window-app.matter +++ b/examples/window-app/common/window-app.matter @@ -1169,6 +1169,11 @@ server cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1213,6 +1218,11 @@ server cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml index 5958f7cdb4ccd3..b6ef9124da5970 100644 --- a/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml @@ -29,6 +29,11 @@ limitations under the License. + + + + + General Ethernet Network Diagnostics @@ -48,8 +53,4 @@ limitations under the License. Reception of this command SHALL reset the attributes: PacketRxCount, PacketTxCount, TxErrCount, CollisionCount, OverrunCount to 0 - - - - diff --git a/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml index 1fe4cbb9fa8e6d..986fb8581a2fa3 100644 --- a/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml @@ -46,6 +46,11 @@ limitations under the License. + + + + + General WiFi Network Diagnostics @@ -82,8 +87,4 @@ limitations under the License. - - - - diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter index b8b09f5d317bc5..9bbe56bf61ceff 100644 --- a/src/controller/data_model/controller-clusters.matter +++ b/src/controller/data_model/controller-clusters.matter @@ -1620,6 +1620,11 @@ client cluster WiFiNetworkDiagnostics = 54 { kAx = 5; } + bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + info event Disconnection = 0 { INT16U reasonCode = 0; } @@ -1669,6 +1674,11 @@ client cluster EthernetNetworkDiagnostics = 55 { kRate400G = 9; } + bitmap EthernetNetworkDiagnosticsFeature : BITMAP32 { + kPacketCounts = 0x1; + kErrorCounts = 0x2; + } + readonly attribute nullable PHYRateEnum PHYRate = 0; readonly attribute nullable boolean fullDuplex = 1; readonly attribute int64u packetRxCount = 2; diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py index 115ed1cbb92fbb..31907a43193109 100644 --- a/src/controller/python/chip/clusters/Objects.py +++ b/src/controller/python/chip/clusters/Objects.py @@ -9802,6 +9802,11 @@ class WiFiVersionType(MatterIntEnum): kUnknownEnumValue = 6, + class Bitmaps: + class WiFiNetworkDiagnosticsFeature(IntFlag): + kPacketCounts = 0x1 + kErrorCounts = 0x2 + class Commands: @@ -10229,6 +10234,11 @@ class PHYRateEnum(MatterIntEnum): kUnknownEnumValue = 10, + class Bitmaps: + class EthernetNetworkDiagnosticsFeature(IntFlag): + kPacketCounts = 0x1 + kErrorCounts = 0x2 + class Commands: diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h index 4132d645d27e35..1713a5d55b7a8c 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h @@ -19630,6 +19630,11 @@ typedef NS_ENUM(uint8_t, MTRWiFiNetworkDiagnosticsWiFiVersionType) { = 0x05, } API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +typedef NS_OPTIONS(uint32_t, MTRWiFiNetworkDiagnosticsFeature) { + MTRWiFiNetworkDiagnosticsFeaturePacketCounts MTR_NEWLY_AVAILABLE = 0x1, + MTRWiFiNetworkDiagnosticsFeatureErrorCounts MTR_NEWLY_AVAILABLE = 0x2, +} MTR_NEWLY_AVAILABLE; + typedef NS_ENUM(uint8_t, MTREthernetNetworkDiagnosticsPHYRate) { MTREthernetNetworkDiagnosticsPHYRateRate10M API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) = 0x00, MTREthernetNetworkDiagnosticsPHYRateRate100M API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) = 0x01, @@ -19677,6 +19682,11 @@ typedef NS_ENUM(uint8_t, MTREthernetNetworkDiagnosticsPHYRateType) { } API_DEPRECATED("Please use MTREthernetNetworkDiagnosticsPHYRate", ios(16.1, 16.4), macos(13.0, 13.3), watchos(9.1, 9.4), tvos(16.1, 16.4)); +typedef NS_OPTIONS(uint32_t, MTREthernetNetworkDiagnosticsFeature) { + MTREthernetNetworkDiagnosticsFeaturePacketCounts MTR_NEWLY_AVAILABLE = 0x1, + MTREthernetNetworkDiagnosticsFeatureErrorCounts MTR_NEWLY_AVAILABLE = 0x2, +} MTR_NEWLY_AVAILABLE; + typedef NS_ENUM(uint8_t, MTRTimeSynchronizationGranularity) { MTRTimeSynchronizationGranularityNoTimeGranularity API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x00, MTRTimeSynchronizationGranularityMinutesGranularity API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x01, diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h b/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h index 018e650d222412..47a5293538d1e6 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h @@ -1071,6 +1071,13 @@ enum class WiFiVersionType : uint8_t using WiFiVersionType = EmberAfWiFiVersionType; static WiFiVersionType __attribute__((unused)) kWiFiVersionTypekUnknownEnumValue = static_cast(6); #endif // CHIP_USE_ENUM_CLASS_FOR_IM_ENUM + +// Bitmap for WiFiNetworkDiagnosticsFeature +enum class WiFiNetworkDiagnosticsFeature : uint32_t +{ + kPacketCounts = 0x1, + kErrorCounts = 0x2, +}; } // namespace WiFiNetworkDiagnostics namespace EthernetNetworkDiagnostics { @@ -1101,6 +1108,13 @@ enum class PHYRateEnum : uint8_t using PHYRateEnum = EmberAfPHYRateEnum; static PHYRateEnum __attribute__((unused)) kPHYRateEnumkUnknownEnumValue = static_cast(10); #endif // CHIP_USE_ENUM_CLASS_FOR_IM_ENUM + +// Bitmap for EthernetNetworkDiagnosticsFeature +enum class EthernetNetworkDiagnosticsFeature : uint32_t +{ + kPacketCounts = 0x1, + kErrorCounts = 0x2, +}; } // namespace EthernetNetworkDiagnostics namespace TimeSynchronization {