Skip to content
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

Temp fix for #32875 (network commissioning cluster check for SSID on Thread feature) #32884

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

chrisdecenzo
Copy link
Contributor

@chrisdecenzo chrisdecenzo commented Apr 6, 2024

Fixes #32875

As part of network commissioning cluster cleanup in 1.3, a check was added to the scan networks handler which checks for the SSID argument on a Thread device and returns an error when found.

There is confusing text in the spec which states that non-WiFi implementations should ignore this argument when null, and so the new check appears to not be conformant to that. But regardless, a popular commissioner was found to be passing a null SSID argument and this change breaks Thread device commissioning for users with that commissioner.

The spec needs to be clarified on this point, and the commissioner needs to be fixed. The commissioner fix is in the works but could take months to fully roll out to customers. In the meantime, this PR comments out the SSID check and a separate issue #32887 has been created to track that work.

Also, I have confirmed that this fix addresses the problem in #32875 (eg. no other fixes are needed).

@pullapprove pullapprove bot added app and removed app labels Apr 6, 2024
Copy link
Contributor

@tcarmelveilleux tcarmelveilleux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Change description does not indicate what is being changed, or why, only links to an issue number, making tracing harder. Please describe the change.
  • Change is removing a check that was deemed correct by spec, and spec interpretation should be validated with TSG before merging.

Note that TC-CNET-4.22 was missing the fix for TH == null (https://github.com/CHIP-Specifications/chip-test-plans/pull/3843), see TC-CNET-4.22 (https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/network_commissioning.adoc#4215-tc-cnet-422-thread-verification-for-scannetworks-command-dut-server), so step 3 implies that the test should pass. Given that the code at play was present at SVE, and nobody failed that test, it begs the question about whether the test was run at all!

@chrisdecenzo chrisdecenzo changed the title Temp fix for #32875 Temp fix for #32875 (network commissioning cluster check for SSID on Thread feature) Apr 8, 2024
Copy link

github-actions bot commented Apr 8, 2024

PR #32884: Size comparison from f46cdf3 to cbac1d7

Decreases (7 builds for efr32, esp32, nrfconnect, stm32)
platform target config section f46cdf3 cbac1d7 change % change
efr32 lock-app BRD4338a (read/write) 959936 959912 -24 -0.0
.text 700172 700148 -24 -0.0
esp32 all-clusters-app c3devkit (read only) 1213316 1213302 -14 -0.0
.flash.text 1213316 1213302 -14 -0.0
m5stack (read only) 1255131 1255115 -16 -0.0
.flash.text 1248967 1248951 -16 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1064320 1064304 -16 -0.0
text 781028 781016 -12 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1011800 1011784 -16 -0.0
text 742396 742384 -12 -0.0
all-clusters-app nrf7002dk_nrf5340_cpuapp (read/write) 1225420 1225404 -16 -0.0
text 796928 796916 -12 -0.0
stm32 light STM32WB5MM-DK (read/write) 603221 603205 -16 -0.0
.text 384256 384240 -16 -0.0
Full report (22 builds for bl602, bl702, bl702l, cc32xx, efr32, esp32, mbed, nrfconnect, stm32)
platform target config section f46cdf3 cbac1d7 change % change
bl602 lighting-app bl602 (read/write) 1442278 1442278 0 0.0
.bss 85432 85432 0 0.0
.data 9504 9504 0 0.0
.rodata 158976 158976 0 0.0
.text 1107698 1107698 0 0.0
bl602+mfd (read/write) 1456694 1456694 0 0.0
.bss 85600 85600 0 0.0
.data 9480 9480 0 0.0
.rodata 157936 157936 0 0.0
.text 1123016 1123016 0 0.0
bl602+rpc (read/write) 1489918 1489918 0 0.0
.bss 93480 93480 0 0.0
.data 9880 9880 0 0.0
.rodata 166544 166544 0 0.0
.text 1139344 1139344 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1206971 1206971 0 0.0
.bss 11217 11217 0 0.0
.data 3688 3688 0 0.0
.rodata 108336 108336 0 0.0
.text 976846 976846 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1217783 1217783 0 0.0
.bss 11393 11393 0 0.0
.data 3664 3664 0 0.0
.rodata 107276 107276 0 0.0
.text 988600 988600 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1298707 1298707 0 0.0
.bss 19701 19701 0 0.0
.data 4224 4224 0 0.0
.rodata 123708 123708 0 0.0
.text 1051810 1051810 0 0.0
bl706-eth (read/write) 1024405 1024405 0 0.0
.bss 23792 23792 0 0.0
.data 3264 3264 0 0.0
.rodata 101660 101660 0 0.0
.text 767702 767702 0 0.0
bl706-wifi (read/write) 1259078 1259078 0 0.0
.bss 10677 10677 0 0.0
.data 3696 3696 0 0.0
.rodata 122660 122660 0 0.0
.text 999606 999606 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1176312 1176312 0 0.0
.bss 16428 16428 0 0.0
.data 5048 5048 0 0.0
.rodata 102340 102340 0 0.0
.text 969712 969712 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1187720 1187720 0 0.0
.bss 16604 16604 0 0.0
.data 5032 5032 0 0.0
.rodata 101280 101280 0 0.0
.text 982034 982034 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 586210 586210 0 0.0
(read/write) 208080 208080 0 0.0
.bss 201308 201308 0 0.0
.data 1648 1648 0 0.0
.rodata 87418 87418 0 0.0
.text 496668 496668 0 0.0
lock CC3235SF_LAUNCHXL (read only) 631018 631018 0 0.0
(read/write) 208336 208336 0 0.0
.bss 201712 201712 0 0.0
.data 1504 1504 0 0.0
.rodata 107762 107762 0 0.0
.text 521132 521132 0 0.0
efr32 lighting-app BRD4187C (read/write) 1113520 1113520 0 0.0
.bss 195272 195272 0 0.0
.data 3432 3432 0 0.0
.text 914796 914796 0 0.0
window-app BRD4187C (read/write) 1160736 1160736 0 0.0
.bss 167600 167600 0 0.0
.data 3336 3336 0 0.0
.text 989780 989780 0 0.0
lock-app BRD4338a (read/write) 959936 959912 -24 -0.0
.bss 210204 210204 0 0.0
.data 30192 30192 0 0.0
.text 700172 700148 -24 -0.0
esp32 all-clusters-app c3devkit (read only) 1213316 1213302 -14 -0.0
(read/write) 1750240 1750240 0 0.0
.dram0.bss 74384 74384 0 0.0
.dram0.data 13628 13628 0 0.0
.flash.rodata 252704 252704 0 0.0
.flash.text 1213316 1213302 -14 -0.0
.iram0.text 75530 75530 0 0.0
m5stack (read only) 1255131 1255115 -16 -0.0
(read/write) 536396 536396 0 0.0
.dram0.bss 81064 81064 0 0.0
.dram0.data 35180 35180 0 0.0
.flash.rodata 284232 284232 0 0.0
.flash.text 1248967 1248951 -16 -0.0
.iram0.text 125403 125403 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2534344 2534344 0 0.0
.bss 220472 220472 0 0.0
.data 5216 5216 0 0.0
.text 1497028 1497028 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1064320 1064304 -16 -0.0
bss 133107 133107 0 0.0
rodata 102960 102960 0 0.0
text 781028 781016 -12 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1011800 1011784 -16 -0.0
bss 131965 131965 0 0.0
rodata 90224 90224 0 0.0
text 742396 742384 -12 -0.0
all-clusters-app nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1225420 1225404 -16 -0.0
bss 127163 127163 0 0.0
rodata 151304 151304 0 0.0
text 796928 796916 -12 -0.0
stm32 light STM32WB5MM-DK (read/write) 603221 603205 -16 -0.0
.bss 128436 128436 0 0.0
.data 676 676 0 0.0
.rodata 80108 80108 0 0.0
.text 384256 384240 -16 -0.0

@mergify mergify bot merged commit 46b33ad into master Apr 9, 2024
127 checks passed
@mergify mergify bot deleted the scan-issue branch April 9, 2024 15:27
jmartinez-silabs pushed a commit to jmartinez-silabs/connectedhomeip that referenced this pull request Apr 17, 2024
…for SSID on Thread feature) (project-chip#32884)

* Temp fix for 32875

* Clarify comments
jmartinez-silabs added a commit that referenced this pull request Apr 17, 2024
…Thread feature) (#32884) (#33032)

* Temp fix for 32875

* Clarify comments

Co-authored-by: chrisdecenzo <[email protected]>
jmartinez-silabs added a commit to SiliconLabs/matter that referenced this pull request May 8, 2024
…ix for project-chip#32875 (network commissioning cluster check for SSID on Thread feature) (project-chip#32884)

Merge in WMN_TOOLS/matter from cherry-pick/remove_no_ssid_check to RC_2.3.0-1.3

Squashed commit of the following:

commit 29c1eb165d6e322bb106ef200950c57485118b52
Author: chrisdecenzo <[email protected]>
Date:   Tue Apr 9 08:27:01 2024 -0700

    Temp fix for project-chip#32875 (network commissioning cluster check for SSID on Thread feature) (project-chip#32884)

    * Temp fix for 32875

    * Clarify comments
rcasallas-silabs pushed a commit to rcasallas-silabs/connectedhomeip that referenced this pull request Jun 20, 2024
…ix for project-chip#32875 (network commissioning cluster check for SSID on Thread feature) (project-chip#32884)

Merge in WMN_TOOLS/matter from cherry-pick/remove_no_ssid_check to RC_2.3.0-1.3

Squashed commit of the following:

commit 29c1eb165d6e322bb106ef200950c57485118b52
Author: chrisdecenzo <[email protected]>
Date:   Tue Apr 9 08:27:01 2024 -0700

    Temp fix for project-chip#32875 (network commissioning cluster check for SSID on Thread feature) (project-chip#32884)

    * Temp fix for 32875

    * Clarify comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[1.3] NetworkCommissioning Cluster reads SSID field for Thread server instances
6 participants