-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG][TC-DGWIFI-2.1] BeconRxCount attribute value mismatches from specification #25747
Comments
The Linux version of Sounds like it should be implemented and return 0 when we are associated. Similar for BeaconLostCount. I wonder whether we can just automatically do this in the wifi network diagnostics cluster if we get CHIP_ERROR_UNSUPPORTED_CHIP_FEATURE.... |
Null is a valid value here though. There is an X in the quality column. So if you're getting back null, that's valid, and if the test plans says otherwise, we should fix the test plan. |
Not when the device is actually attached to a wifi network @cecille. |
Does it actually say that? The spec says the value MAY remain zero, but there's nothing that says it has to be non-null if you're connected. |
The spec says:
It should probably be clearer about this, but the intent as I recall it was that if not configured you get null, else you get non-null values. We just had a really hard time getting people to clearly write things out for each attribute.... |
Oh, interesting. OK, I think I it kind of makes sense then to assume that the opposite also applies, though it might be good to clarify. I suppose the de-facto rule is whatever we implement in the SDK, so if you want 0 returned, we should do that since that's definitely allowed in the spec. |
I think 0 would make a lot of sense here, yes. |
Issue resolved |
Feature Area
Other
Test Case
TC-DGWIFI-2.1
Reproduction steps
./chip-tool wifinetworkdiagnostics read beacon-rx-count 1 0
Bug prevalence
Whenever I try to read beacon-rx-count.
GitHub hash of the SDK that was being used
2767b51 - Master
Platform
raspi
Platform Version(s)
RPI4 8GB RAM
Anything else?
As per spec the BeaconRxCount attribute SHALL indicate the count of the number of received beacons. The total number of expected beacons that could have been received during the interval since association SHOULD match the sum of BeaconRxCount and BeaconLostCount. If the Node does not have an ability to report count of beacons received, this value MAY remain set to zero.
In master commit while trying to read the BeaconRxCount TH reads
NULL
from DUT.Attached log for reference: TC-DGWIFI-2-2.txt
The text was updated successfully, but these errors were encountered: