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

[ESP32] Implement GetSupportedWiFiBandsMask() API #31437

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

shubhamdp
Copy link
Contributor

Tests

Tested manually with lighting-app, modified the zap and read the supported-wi-fi-bands attribute.

Copy link

github-actions bot commented Jan 16, 2024

PR #31437: Size comparison from 7ef397e to ee1e5a3

Decreases (1 build for efr32)
platform target config section 7ef397e ee1e5a3 change % change
efr32 lighting-app BRD4161A+rs9116 (read/write) 1042384 1042376 -8 -0.0
.text 846932 846924 -8 -0.0
Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 7ef397e ee1e5a3 change % change
bl602 lighting-app bl602 (read/write) 1420086 1420086 0 0.0
.bss 85184 85184 0 0.0
.data 9488 9488 0 0.0
.rodata 157048 157048 0 0.0
.text 1087726 1087726 0 0.0
bl602+mfd (read/write) 1434558 1434558 0 0.0
.bss 85352 85352 0 0.0
.data 9456 9456 0 0.0
.rodata 156008 156008 0 0.0
.text 1103094 1103094 0 0.0
bl602+rpc (read/write) 1467822 1467822 0 0.0
.bss 93216 93216 0 0.0
.data 9856 9856 0 0.0
.rodata 164616 164616 0 0.0
.text 1119474 1119474 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1184899 1184899 0 0.0
.bss 11133 11133 0 0.0
.data 3656 3656 0 0.0
.rodata 106420 106420 0 0.0
.text 957160 957160 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1195775 1195775 0 0.0
.bss 11309 11309 0 0.0
.data 3640 3640 0 0.0
.rodata 105360 105360 0 0.0
.text 968968 968968 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1276535 1276535 0 0.0
.bss 19597 19597 0 0.0
.data 4216 4216 0 0.0
.rodata 121792 121792 0 0.0
.text 1031970 1031970 0 0.0
bl706-eth (read/write) 1004249 1004249 0 0.0
.bss 23692 23692 0 0.0
.data 3232 3232 0 0.0
.rodata 99752 99752 0 0.0
.text 749796 749796 0 0.0
bl706-wifi (read/write) 1235138 1235138 0 0.0
.bss 10577 10577 0 0.0
.data 3672 3672 0 0.0
.rodata 120732 120732 0 0.0
.text 977928 977928 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1154288 1154288 0 0.0
.bss 16328 16328 0 0.0
.data 5024 5024 0 0.0
.rodata 100424 100424 0 0.0
.text 950030 950030 0 0.0
bl702l+mfd (read/write) 1166252 1166252 0 0.0
.bss 16504 16504 0 0.0
.data 5000 5000 0 0.0
.rodata 99364 99364 0 0.0
.text 962406 962406 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 778080 778080 0 0.0
(read/write) 168380 168380 0 0.0
.bss 90452 90452 0 0.0
.data 3524 3524 0 0.0
.rodata 88904 88904 0 0.0
.text 688912 688912 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 794088 794088 0 0.0
(read/write) 178608 178608 0 0.0
.bss 100628 100628 0 0.0
.data 3552 3552 0 0.0
.rodata 83112 83112 0 0.0
.text 710708 710708 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 782392 782392 0 0.0
(read/write) 173064 173064 0 0.0
.bss 95084 95084 0 0.0
.data 3552 3552 0 0.0
.rodata 109760 109760 0 0.0
.text 672364 672364 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 735000 735000 0 0.0
(read/write) 167384 167384 0 0.0
.bss 89232 89232 0 0.0
.data 3512 3512 0 0.0
.rodata 84488 84488 0 0.0
.text 650248 650248 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 720528 720528 0 0.0
(read/write) 167564 167564 0 0.0
.bss 89416 89416 0 0.0
.data 3508 3508 0 0.0
.rodata 80328 80328 0 0.0
.text 639936 639936 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 568106 568106 0 0.0
(read/write) 207744 207744 0 0.0
.bss 201028 201028 0 0.0
.data 1592 1592 0 0.0
.rodata 84034 84034 0 0.0
.text 481948 481948 0 0.0
lock CC3235SF_LAUNCHXL (read only) 621458 621458 0 0.0
(read/write) 208144 208144 0 0.0
.bss 201504 201504 0 0.0
.data 1520 1520 0 0.0
.rodata 105898 105898 0 0.0
.text 513436 513436 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 562103 562103 0 0.0
.app_xip_area 452257 452257 0 0.0
.bss 64688 64688 0 0.0
.data 732 732 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 544359 544359 0 0.0
.app_xip_area 429777 429777 0 0.0
.bss 69384 69384 0 0.0
.data 772 772 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 563103 563103 0 0.0
.app_xip_area 454713 454713 0 0.0
.bss 63272 63272 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 558679 558679 0 0.0
.app_xip_area 447057 447057 0 0.0
.bss 66392 66392 0 0.0
.data 804 804 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1042384 1042376 -8 -0.0
.bss 192656 192656 0 0.0
.data 2776 2776 0 0.0
.text 846932 846924 -8 -0.0
BRD4187C (read/write) 1105216 1105216 0 0.0
.bss 194932 194932 0 0.0
.data 3384 3384 0 0.0
.text 906880 906880 0 0.0
lock-app BRD4161A+wf200 (read/write) 1118332 1118332 0 0.0
.bss 188040 188040 0 0.0
.data 2800 2800 0 0.0
.text 927472 927472 0 0.0
window-app BRD4187C (read/write) 1138440 1138440 0 0.0
.bss 166924 166924 0 0.0
.data 3292 3292 0 0.0
.text 968204 968204 0 0.0
esp32 all-clusters-app c3devkit (read only) 1159178 1159178 0 0.0
(read/write) 1670416 1670416 0 0.0
.dram0.bss 71752 71752 0 0.0
.dram0.data 13588 13588 0 0.0
.flash.rodata 241072 241072 0 0.0
.flash.text 1159178 1159178 0 0.0
.iram0.text 75530 75530 0 0.0
m5stack (read only) 1205039 1205039 0 0.0
(read/write) 521028 521028 0 0.0
.dram0.bss 78616 78616 0 0.0
.dram0.data 35132 35132 0 0.0
.flash.rodata 271360 271360 0 0.0
.flash.text 1198875 1198875 0 0.0
.iram0.text 125403 125403 0 0.0
k32w contact k32w0+release (read only) 606672 606672 0 0.0
(read/write) 81172 81172 0 0.0
.bss 68952 68952 0 0.0
.data 2236 2236 0 0.0
.text 606136 606136 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 691964 691964 0 0.0
.bss 67608 67608 0 0.0
.data 2788 2788 0 0.0
.text 578096 578096 0 0.0
light k32w0+release (read only) 596032 596032 0 0.0
(read/write) 79188 79188 0 0.0
.bss 67016 67016 0 0.0
.data 2188 2188 0 0.0
.text 595496 595496 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 783760 783760 0 0.0
.bss 77284 77284 0 0.0
.data 2000 2000 0 0.0
.text 661024 661024 0 0.0
lock k32w0+release (read only) 577488 577488 0 0.0
(read/write) 78644 78644 0 0.0
.bss 66496 66496 0 0.0
.data 2164 2164 0 0.0
.text 576952 576952 0 0.0
linux air-purifier-app debug (read only) 2534605 2534605 0 0.0
(read/write) 127192 127192 0 0.0
.bss 46272 46272 0 0.0
.data 2144 2144 0 0.0
.data.rel.ro 72856 72856 0 0.0
.dynamic 608 608 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 179688 179688 0 0.0
.text 2179637 2179637 0 0.0
all-clusters-app debug (read only) 5467681 5467681 0 0.0
(read/write) 459640 459640 0 0.0
.bss 131600 131600 0 0.0
.data 4448 4448 0 0.0
.data.rel.ro 316376 316376 0 0.0
.dynamic 624 624 0 0.0
.got 5336 5336 0 0.0
.init 27 27 0 0.0
.init_array 1248 1248 0 0.0
.rodata 315708 315708 0 0.0
.text 4738467 4738467 0 0.0
all-clusters-minimal-app debug (read only) 4960513 4960513 0 0.0
(read/write) 234640 234640 0 0.0
.bss 127216 127216 0 0.0
.data 4384 4384 0 0.0
.data.rel.ro 95976 95976 0 0.0
.dynamic 624 624 0 0.0
.got 5296 5296 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 271885 271885 0 0.0
.text 4456339 4456339 0 0.0
bridge-app debug (read only) 4425785 4425785 0 0.0
(read/write) 215976 215976 0 0.0
.bss 117816 117816 0 0.0
.data 6144 6144 0 0.0
.data.rel.ro 85312 85312 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 219509 219509 0 0.0
.text 3987731 3987731 0 0.0
chip-tool debug (read only) 11783297 11783297 0 0.0
(read/write) 506264 506264 0 0.0
.bss 94200 94200 0 0.0
.data 5058 5058 0 0.0
.data.rel.ro 399792 399792 0 0.0
.dynamic 624 624 0 0.0
.got 5784 5784 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 429689 429689 0 0.0
.text 10663795 10663795 0 0.0
chip-tool-ipv6only arm64 (read only) 11357776 11357776 0 0.0
(read/write) 575672 575672 0 0.0
.bss 103256 103256 0 0.0
.data 4472 4472 0 0.0
.data.rel.ro 439024 439024 0 0.0
.dynamic 512 512 0 0.0
.got 20040 20040 0 0.0
.init 24 24 0 0.0
.init_array 240 240 0 0.0
.rodata 340396 340396 0 0.0
.text 10147148 10147148 0 0.0
lighting-app debug+rpc+ui (read only) 5312601 5312601 0 0.0
(read/write) 224904 224904 0 0.0
.bss 118880 118880 0 0.0
.data 4800 4800 0 0.0
.data.rel.ro 93728 93728 0 0.0
.dynamic 672 672 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 341172 341172 0 0.0
.text 4726787 4726787 0 0.0
lock-app debug (read only) 4511001 4511001 0 0.0
(read/write) 203600 203600 0 0.0
.bss 113248 113248 0 0.0
.data 4096 4096 0 0.0
.data.rel.ro 79544 79544 0 0.0
.dynamic 624 624 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 840 840 0 0.0
.rodata 247413 247413 0 0.0
.text 4053587 4053587 0 0.0
ota-provider-app debug (read only) 4175217 4175217 0 0.0
(read/write) 192680 192680 0 0.0
.bss 113248 113248 0 0.0
.data 4256 4256 0 0.0
.data.rel.ro 69312 69312 0 0.0
.dynamic 624 624 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 704 704 0 0.0
.rodata 201749 201749 0 0.0
.text 3781619 3781619 0 0.0
ota-requestor-app debug (read only) 4266129 4266129 0 0.0
(read/write) 196960 196960 0 0.0
.bss 114144 114144 0 0.0
.data 4656 4656 0 0.0
.data.rel.ro 72288 72288 0 0.0
.dynamic 624 624 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 205589 205589 0 0.0
.text 3864387 3864387 0 0.0
shell debug (read only) 2831409 2831409 0 0.0
(read/write) 153808 153808 0 0.0
.bss 62120 62120 0 0.0
.data 1344 1344 0 0.0
.data.rel.ro 84584 84584 0 0.0
.dynamic 592 592 0 0.0
.got 4088 4088 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 183200 183200 0 0.0
.text 2476210 2476210 0 0.0
thermostat-no-ble arm64 (read only) 4354776 4354776 0 0.0
(read/write) 246496 246496 0 0.0
.bss 121624 121624 0 0.0
.data 3328 3328 0 0.0
.data.rel.ro 102776 102776 0 0.0
.dynamic 512 512 0 0.0
.got 12088 12088 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 155916 155916 0 0.0
.text 3856316 3856316 0 0.0
tv-app debug (read only) 5412273 5412273 0 0.0
(read/write) 349128 349128 0 0.0
.bss 243136 243136 0 0.0
.data 6464 6464 0 0.0
.data.rel.ro 92248 92248 0 0.0
.dynamic 624 624 0 0.0
.got 5512 5512 0 0.0
.init 27 27 0 0.0
.init_array 1120 1120 0 0.0
.rodata 273461 273461 0 0.0
.text 4901187 4901187 0 0.0
tv-casting-app debug (read only) 9653945 9653945 0 0.0
(read/write) 338080 338080 0 0.0
.bss 155936 155936 0 0.0
.data 2912 2912 0 0.0
.data.rel.ro 172384 172384 0 0.0
.dynamic 624 624 0 0.0
.got 5064 5064 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 365768 365768 0 0.0
.text 8826483 8826483 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2527136 2527136 0 0.0
.bss 220240 220240 0 0.0
.data 5208 5208 0 0.0
.text 1489820 1489820 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1080676 1080676 0 0.0
bss 129507 129507 0 0.0
rodata 107572 107572 0 0.0
text 795860 795860 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1205224 1205224 0 0.0
bss 121717 121717 0 0.0
rodata 140140 140140 0 0.0
text 792888 792888 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1041272 1041272 0 0.0
bss 129300 129300 0 0.0
rodata 98888 98888 0 0.0
text 765268 765268 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 835584 835584 0 0.0
(read/write) 1767844 1767844 0 0.0
.bss 195124 195124 0 0.0
.data 2632 2632 0 0.0
.text 1561700 1561700 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837816 837816 0 0.0
(read/write) 1707516 1707516 0 0.0
.bss 192908 192908 0 0.0
.data 2616 2616 0 0.0
.text 1503604 1503604 0 0.0
light cy8ckit_062s2_43012 (read only) 844504 844504 0 0.0
(read/write) 1632428 1632428 0 0.0
.bss 186404 186404 0 0.0
.data 2432 2432 0 0.0
.text 1435204 1435204 0 0.0
lock cy8ckit_062s2_43012 (read only) 817384 817384 0 0.0
(read/write) 1659340 1659340 0 0.0
.bss 213500 213500 0 0.0
.data 2456 2456 0 0.0
.text 1434996 1434996 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1117792 1117792 0 0.0
.bss 101224 101224 0 0.0
.data 808 808 0 0.0
.text 630172 630172 0 0.0
lock-app qpg6105+debug (read/write) 1081760 1081760 0 0.0
.bss 97520 97520 0 0.0
.data 852 852 0 0.0
.text 594136 594136 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 822382 822382 0 0.0
bss 50916 50916 0 0.0
text 614582 614582 0 0.0
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1096008 1096008 0 0.0
bss 100488 100488 0 0.0
text 774964 774964 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1085284 1085284 0 0.0
bss 109696 109696 0 0.0
text 754414 754414 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 935732 935732 0 0.0
bss 93664 93664 0 0.0
text 647662 647662 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 822610 822610 0 0.0
bss 50960 50960 0 0.0
text 614952 614952 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 980276 980276 0 0.0
bss 79004 79004 0 0.0
text 695494 695494 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1094260 1094260 0 0.0
bss 99840 99840 0 0.0
text 770790 770790 0 0.0
lock-app-dfu tlsr9528a (read only) 4 4 0 0.0
(read/write) 966332 966332 0 0.0
bss 97304 97304 0 0.0
text 648720 648720 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 949668 949668 0 0.0
bss 92348 92348 0 0.0
text 664030 664030 0 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 881520 881520 0 0.0
bss 69032 69032 0 0.0
text 623068 623068 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 822164 822164 0 0.0
bss 57276 57276 0 0.0
text 589992 589992 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 705632 705632 0 0.0
bss 73568 73568 0 0.0
text 462136 462136 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 824346 824346 0 0.0
bss 51096 51096 0 0.0
text 617696 617696 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 879397 879397 0 0.0
bss 60744 60744 0 0.0
text 631888 631888 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 846536 846536 0 0.0
bss 57564 57564 0 0.0
text 608458 608458 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 840728 840728 0 0.0
bss 57880 57880 0 0.0
text 602412 602412 0 0.0

@mergify mergify bot merged commit a461207 into project-chip:master Jan 16, 2024
57 checks passed
@shubhamdp shubhamdp deleted the esp32_wifi_bands branch May 21, 2024 04:35
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.

3 participants