blob: ff255ad58bd96692d4e33b76cd7ddebbc1c22e8f [file] [log] [blame]
# Copyright (c) 2021 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default
name: 3.3.1. [TC-DGWIFI-3.1]Attributes [DUT as Client]
PICS:
- DGWIFI.C.A
- DGWIFI.C
config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
tests:
- label: "Note"
verification: |
Chip-tool command used below are an example to verify the DUT as client test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command.
disabled: true
- label: "Commission TH to DUT"
verification: |
disabled: true
- label: "TH reads BSSID attribute from DUT."
PICS: DGWIFI.S.A0000
verification: |
./chip-tool wifinetworkdiagnostics read bssid 1 0
verify the " bssid Received Read response" on the TH (all-cluster-app) log:
[1659959901.791873][4826:4826] CHIP:IM: Received Read request
[1659959901.791946][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659959901.791970][4826:4826] CHIP:DMG: {
[1659959901.791989][4826:4826] CHIP:DMG: AttributePathIBs =
[1659959901.792012][4826:4826] CHIP:DMG: [
[1659959901.792033][4826:4826] CHIP:DMG: AttributePathIB =
[1659959901.792064][4826:4826] CHIP:DMG: {
[1659959901.792091][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659959901.792121][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659959901.792151][4826:4826] CHIP:DMG: Attribute = 0x0000_0000,
[1659959901.792178][4826:4826] CHIP:DMG: }
[1659959901.792203][4826:4826] CHIP:DMG:
[1659959901.792227][4826:4826] CHIP:DMG: ],
[1659959901.792251][4826:4826] CHIP:DMG:
[1659959901.792274][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659959901.792296][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659959901.792316][4826:4826] CHIP:DMG: },
disabled: true
- label: "DUT reads a SecurityType attribute value from TH."
PICS: DGWIFI.S.A0001
verification: |
./chip-tool wifinetworkdiagnostics read security-type 1 0
verify the " security-type Received Read response" on the TH (all-cluster-app) log:
[1659959989.666920][4826:4826] CHIP:IM: Received Read request
[1659959989.667091][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659959989.667158][4826:4826] CHIP:DMG: {
[1659959989.667214][4826:4826] CHIP:DMG: AttributePathIBs =
[1659959989.667279][4826:4826] CHIP:DMG: [
[1659959989.667342][4826:4826] CHIP:DMG: AttributePathIB =
[1659959989.667419][4826:4826] CHIP:DMG: {
[1659959989.667491][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659959989.667582][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659959989.667668][4826:4826] CHIP:DMG: Attribute = 0x0000_0001,
[1659959989.667746][4826:4826] CHIP:DMG: }
[1659959989.667817][4826:4826] CHIP:DMG:
[1659959989.667881][4826:4826] CHIP:DMG: ],
[1659959989.667950][4826:4826] CHIP:DMG:
[1659959989.668017][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659959989.668082][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659959989.668143][4826:4826] CHIP:DMG: },
disabled: true
- label: "DUT reads a WiFiVersion attribute value from TH."
PICS: DGWIFI.S.A0002
verification: |
./chip-tool wifinetworkdiagnostics read wi-fi-version 1 0
verify the " wi-fi-version Received Read response" on the TH (all-cluster-app) log:
[1659960013.130130][4826:4826] CHIP:IM: Received Read request
[1659960013.130211][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659960013.130252][4826:4826] CHIP:DMG: {
[1659960013.130276][4826:4826] CHIP:DMG: AttributePathIBs =
[1659960013.130303][4826:4826] CHIP:DMG: [
[1659960013.130339][4826:4826] CHIP:DMG: AttributePathIB =
[1659960013.130371][4826:4826] CHIP:DMG: {
[1659960013.130413][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659960013.130450][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659960013.130492][4826:4826] CHIP:DMG: Attribute = 0x0000_0002,
[1659960013.130523][4826:4826] CHIP:DMG: }
[1659960013.130561][4826:4826] CHIP:DMG:
[1659960013.130590][4826:4826] CHIP:DMG: ],
[1659960013.130619][4826:4826] CHIP:DMG:
[1659960013.130657][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659960013.130683][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659960013.130716][4826:4826] CHIP:DMG: },
disabled: true
- label: "DUT reads a ChannelNumber attribute value from TH."
PICS: DGWIFI.S.A0003
verification: |
./chip-tool wifinetworkdiagnostics read channel-number 1 0
verify the " channel-number Received Read response" on the TH (all-cluster-app) log:
[1659960026.962902][4826:4826] CHIP:IM: Received Read request
[1659960026.962973][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659960026.963007][4826:4826] CHIP:DMG: {
[1659960026.963026][4826:4826] CHIP:DMG: AttributePathIBs =
[1659960026.963058][4826:4826] CHIP:DMG: [
[1659960026.963080][4826:4826] CHIP:DMG: AttributePathIB =
[1659960026.963111][4826:4826] CHIP:DMG: {
[1659960026.963143][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659960026.963172][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659960026.963209][4826:4826] CHIP:DMG: Attribute = 0x0000_0003,
[1659960026.963234][4826:4826] CHIP:DMG: }
[1659960026.963271][4826:4826] CHIP:DMG:
[1659960026.963295][4826:4826] CHIP:DMG: ],
[1659960026.963326][4826:4826] CHIP:DMG:
[1659960026.963350][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659960026.963372][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659960026.963400][4826:4826] CHIP:DMG: },
[1659960026.963475][4826:4826] CHIP:DMG: IM RH moving to [GeneratingReports]
disabled: true
- label: "DUT reads a RSSI attribute value from TH."
PICS: DGWIFI.S.A0004
verification: |
./chip-tool wifinetworkdiagnostics read rssi 1 0
verify the " rssi Received Read response" on the TH (all-cluster-app) log:
[1659960043.760899][4826:4826] CHIP:IM: Received Read request
[1659960043.760997][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659960043.761024][4826:4826] CHIP:DMG: {
[1659960043.761046][4826:4826] CHIP:DMG: AttributePathIBs =
[1659960043.761071][4826:4826] CHIP:DMG: [
[1659960043.761095][4826:4826] CHIP:DMG: AttributePathIB =
[1659960043.761130][4826:4826] CHIP:DMG: {
[1659960043.761158][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659960043.761188][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659960043.761219][4826:4826] CHIP:DMG: Attribute = 0x0000_0004,
[1659960043.761248][4826:4826] CHIP:DMG: }
[1659960043.761275][4826:4826] CHIP:DMG:
[1659960043.761302][4826:4826] CHIP:DMG: ],
[1659960043.761329][4826:4826] CHIP:DMG:
[1659960043.761354][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659960043.761378][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659960043.761401][4826:4826] CHIP:DMG: },
disabled: true
- label: "DUT reads a BeaconLostCount attribute value from TH."
PICS: DGWIFI.S.A0005
verification: |
./chip-tool wifinetworkdiagnostics read beacon-lost-count 1 0
verify the " beacon-lost-count Received Read response" on the TH (all-cluster-app) log:
[1659960064.667073][4826:4826] CHIP:IM: Received Read request
[1659960064.667144][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659960064.667168][4826:4826] CHIP:DMG: {
[1659960064.667203][4826:4826] CHIP:DMG: AttributePathIBs =
[1659960064.667227][4826:4826] CHIP:DMG: [
[1659960064.667258][4826:4826] CHIP:DMG: AttributePathIB =
[1659960064.667290][4826:4826] CHIP:DMG: {
[1659960064.667325][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659960064.667356][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659960064.667392][4826:4826] CHIP:DMG: Attribute = 0x0000_0005,
[1659960064.667419][4826:4826] CHIP:DMG: }
[1659960064.667451][4826:4826] CHIP:DMG:
[1659960064.667475][4826:4826] CHIP:DMG: ],
[1659960064.667508][4826:4826] CHIP:DMG:
[1659960064.667531][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659960064.667553][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659960064.667580][4826:4826] CHIP:DMG: },
disabled: true
- label: "DUT reads a BeaconRxCount attribute value from TH."
PICS: DGWIFI.S.A0006
verification: |
./chip-tool wifinetworkdiagnostics read beacon-rx-count 1 0
verify the " beacon-rx-count Received Read response" on the TH (all-cluster-app) log:
[1659960081.979736][4826:4826] CHIP:IM: Received Read request
[1659960081.979809][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659960081.979832][4826:4826] CHIP:DMG: {
[1659960081.979851][4826:4826] CHIP:DMG: AttributePathIBs =
[1659960081.979874][4826:4826] CHIP:DMG: [
[1659960081.979895][4826:4826] CHIP:DMG: AttributePathIB =
[1659960081.979924][4826:4826] CHIP:DMG: {
[1659960081.979950][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659960081.979979][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659960081.980007][4826:4826] CHIP:DMG: Attribute = 0x0000_0006,
[1659960081.980032][4826:4826] CHIP:DMG: }
[1659960081.980059][4826:4826] CHIP:DMG:
[1659960081.980082][4826:4826] CHIP:DMG: ],
[1659960081.980106][4826:4826] CHIP:DMG:
[1659960081.980129][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659960081.980151][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659960081.980171][4826:4826] CHIP:DMG: },
disabled: true
- label: "DUT reads a PacketMultiRxCount attribute value from TH."
PICS: DGWIFI.S.A0007
verification: |
./chip-tool wifinetworkdiagnostics read packet-multicast-rx-count 1 0
verify the " packet-multicast-rx-count Received Read response" on the TH (all-cluster-app) log:
[1659960106.003457][4826:4826] CHIP:IM: Received Read request
[1659960106.003544][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659960106.003573][4826:4826] CHIP:DMG: {
[1659960106.003597][4826:4826] CHIP:DMG: AttributePathIBs =
[1659960106.003626][4826:4826] CHIP:DMG: [
[1659960106.003654][4826:4826] CHIP:DMG: AttributePathIB =
[1659960106.003691][4826:4826] CHIP:DMG: {
[1659960106.003725][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659960106.003762][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659960106.003800][4826:4826] CHIP:DMG: Attribute = 0x0000_0007,
[1659960106.003830][4826:4826] CHIP:DMG: }
[1659960106.003860][4826:4826] CHIP:DMG:
[1659960106.003890][4826:4826] CHIP:DMG: ],
[1659960106.003921][4826:4826] CHIP:DMG:
[1659960106.003950][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659960106.003977][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659960106.004007][4826:4826] CHIP:DMG: },
[1659960106.004085][4826:4826] CHIP:DMG: IM RH moving to [GeneratingReports]
disabled: true
- label: "DUT reads a PacketMultiTxCount attribute value from TH."
PICS: DGWIFI.S.A0008
verification: |
./chip-tool wifinetworkdiagnostics read packet-multicast-tx-count 1 0
verify the " packet-multicast-tx-count Received Read response" on the TH (all-cluster-app) log:
[1659960130.770866][4826:4826] CHIP:IM: Received Read request
[1659960130.770973][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659960130.771002][4826:4826] CHIP:DMG: {
[1659960130.771025][4826:4826] CHIP:DMG: AttributePathIBs =
[1659960130.771052][4826:4826] CHIP:DMG: [
[1659960130.771077][4826:4826] CHIP:DMG: AttributePathIB =
[1659960130.771106][4826:4826] CHIP:DMG: {
[1659960130.771143][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659960130.771176][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659960130.771212][4826:4826] CHIP:DMG: Attribute = 0x0000_0008,
[1659960130.771244][4826:4826] CHIP:DMG: }
[1659960130.771272][4826:4826] CHIP:DMG:
[1659960130.771301][4826:4826] CHIP:DMG: ],
[1659960130.771330][4826:4826] CHIP:DMG:
[1659960130.771357][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659960130.771382][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659960130.771409][4826:4826] CHIP:DMG: },
disabled: true
- label: "DUT reads a PacketUniRxCount attribute value from TH."
PICS: DGWIFI.S.A0009
verification: |
./chip-tool wifinetworkdiagnostics read packet-unicast-rx-count 1 0
verify the " packet-unicast-rx-count Received Read response" on the TH (all-cluster-app) log:
[1659960152.073162][4826:4826] CHIP:IM: Received Read request
[1659960152.073238][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659960152.073264][4826:4826] CHIP:DMG: {
[1659960152.073283][4826:4826] CHIP:DMG: AttributePathIBs =
[1659960152.073307][4826:4826] CHIP:DMG: [
[1659960152.073328][4826:4826] CHIP:DMG: AttributePathIB =
[1659960152.073400][4826:4826] CHIP:DMG: {
[1659960152.073455][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659960152.073504][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659960152.073560][4826:4826] CHIP:DMG: Attribute = 0x0000_0009,
[1659960152.073595][4826:4826] CHIP:DMG: }
[1659960152.073638][4826:4826] CHIP:DMG:
[1659960152.073688][4826:4826] CHIP:DMG: ],
[1659960152.073722][4826:4826] CHIP:DMG:
[1659960152.073746][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659960152.073768][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659960152.073797][4826:4826] CHIP:DMG: },
disabled: true
- label: "DUT reads a PacketUniTxCount attribute value from TH."
PICS: DGWIFI.S.A000a
verification: |
./chip-tool wifinetworkdiagnostics read packet-unicast-tx-count 1 0
verify the " packet-unicast-tx-count Received Read response" on the TH (all-cluster-app) log:
[1659960169.216377][4826:4826] CHIP:IM: Received Read request
[1659960169.216476][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659960169.216504][4826:4826] CHIP:DMG: {
[1659960169.216527][4826:4826] CHIP:DMG: AttributePathIBs =
[1659960169.216554][4826:4826] CHIP:DMG: [
[1659960169.216579][4826:4826] CHIP:DMG: AttributePathIB =
[1659960169.216611][4826:4826] CHIP:DMG: {
[1659960169.216642][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659960169.216677][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659960169.216711][4826:4826] CHIP:DMG: Attribute = 0x0000_000A,
[1659960169.216742][4826:4826] CHIP:DMG: }
[1659960169.216773][4826:4826] CHIP:DMG:
[1659960169.216801][4826:4826] CHIP:DMG: ],
[1659960169.216830][4826:4826] CHIP:DMG:
[1659960169.216857][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659960169.216883][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659960169.216907][4826:4826] CHIP:DMG: },
disabled: true
- label: "DUT reads CurrentMaxRate attribute value from TH."
PICS: DGWIFI.S.A000b
verification: |
./chip-tool wifinetworkdiagnostics read current-max-rate 1 0
verify the " current-max-rate Received Read response" on the TH (all-cluster-app) log:
[1659960187.413661][4826:4826] CHIP:IM: Received Read request
[1659960187.413732][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659960187.413755][4826:4826] CHIP:DMG: {
[1659960187.413774][4826:4826] CHIP:DMG: AttributePathIBs =
[1659960187.413797][4826:4826] CHIP:DMG: [
[1659960187.413818][4826:4826] CHIP:DMG: AttributePathIB =
[1659960187.413846][4826:4826] CHIP:DMG: {
[1659960187.413871][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659960187.413902][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659960187.413932][4826:4826] CHIP:DMG: Attribute = 0x0000_000B,
[1659960187.413959][4826:4826] CHIP:DMG: }
[1659960187.413985][4826:4826] CHIP:DMG:
[1659960187.414009][4826:4826] CHIP:DMG: ],
[1659960187.414034][4826:4826] CHIP:DMG:
[1659960187.414056][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659960187.414078][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659960187.414098][4826:4826] CHIP:DMG: },
disabled: true
- label: "DUT reads a OverrunCount attribute value from TH."
PICS: DGWIFI.S.A000c
verification: |
./chip-tool wifinetworkdiagnostics read overrun-count 1 0
verify the " overrun-count Received Read response" on the TH (all-cluster-app) log:
[1659960222.155944][4826:4826] CHIP:IM: Received Read request
[1659960222.156039][4826:4826] CHIP:DMG: ReadRequestMessage =
[1659960222.156073][4826:4826] CHIP:DMG: {
[1659960222.156101][4826:4826] CHIP:DMG: AttributePathIBs =
[1659960222.156134][4826:4826] CHIP:DMG: [
[1659960222.156165][4826:4826] CHIP:DMG: AttributePathIB =
[1659960222.156206][4826:4826] CHIP:DMG: {
[1659960222.156243][4826:4826] CHIP:DMG: Endpoint = 0x0,
[1659960222.156290][4826:4826] CHIP:DMG: Cluster = 0x36,
[1659960222.156333][4826:4826] CHIP:DMG: Attribute = 0x0000_000C,
[1659960222.156372][4826:4826] CHIP:DMG: }
[1659960222.156411][4826:4826] CHIP:DMG:
[1659960222.156489][4826:4826] CHIP:DMG: ],
[1659960222.156526][4826:4826] CHIP:DMG:
[1659960222.156560][4826:4826] CHIP:DMG: isFabricFiltered = true,
[1659960222.156593][4826:4826] CHIP:DMG: InteractionModelRevision = 1
[1659960222.156629][4826:4826] CHIP:DMG: },
disabled: true