Skip to content

Commit

Permalink
Pull request #81: Revert "Pull request #69: Adds support for IPv4 by …
Browse files Browse the repository at this point in the history
…default"

Merge in WMN_TOOLS/matter from feature/disable-default-ipv4-flag to RC_0.3.0

Squashed commit of the following:

commit 4e96708b536cbd62f57c727fdcc973d749af80c6
Author: rosahay-silabs <[email protected]>
Date:   Thu Sep 8 18:54:58 2022 +0530

    Revert "Pull request #69: Adds support for IPv4 by default"

    This reverts commit 56d941d1adb73dc7a04046c70e6a9a13431ddd1e.
  • Loading branch information
rosahay-silabs authored and jmartinez-silabs committed Sep 8, 2022
1 parent dbe2aff commit 90648b1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/light-switch-app/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ declare_args() {
disable_lcd = false

# Argument to Disable IPv4 for wifi(rs911)
chip_enable_wifi_ipv4 = true
chip_enable_wifi_ipv4 = false

# Argument to force enable WPA3 security
rs91x_wpa3_only = false
Expand Down
2 changes: 1 addition & 1 deletion examples/lighting-app/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ declare_args() {
disable_lcd = false

# Argument to Disable IPv4 for wifi(rs911)
chip_enable_wifi_ipv4 = true
chip_enable_wifi_ipv4 = false

# Argument to force enable WPA3 security on rs91x
rs91x_wpa3_only = false
Expand Down
2 changes: 1 addition & 1 deletion examples/lock-app/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ declare_args() {
disable_lcd = false

# Argument to Disable IPv4 for wifi(rs911)
chip_enable_wifi_ipv4 = true
chip_enable_wifi_ipv4 = false

# Argument to force enable WPA3 security
rs91x_wpa3_only = false
Expand Down
10 changes: 5 additions & 5 deletions examples/thermostat/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ declare_args() {
disable_lcd = false

# Argument to Disable IPv4 for wifi(rs911)
chip_enable_wifi_ipv4 = true
chip_enable_wifi_ipv4 = false
}

declare_args() {
Expand Down Expand Up @@ -214,6 +214,10 @@ efr32_executable("thermostat_app") {
sources += [ "${examples_plat_dir}/OTAConfig.cpp" ]
}

if (chip_enable_wifi_ipv4) {
defines += [ "CHIP_DEVICE_CONFIG_ENABLE_IPV4" ]
}

# WiFi Settings
if (chip_enable_wifi) {
if (use_rs911x) {
Expand Down Expand Up @@ -241,10 +245,6 @@ efr32_executable("thermostat_app") {
sources += wf200_plat_src
include_dirs += wf200_plat_incs
}

if (chip_enable_wifi_ipv4) {
defines += [ "CHIP_DEVICE_CONFIG_ENABLE_IPV4" ]
}
}

if (!disable_lcd) {
Expand Down
2 changes: 1 addition & 1 deletion examples/window-app/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ declare_args() {
disable_lcd = false

# Argument to Disable IPv4 for wifi(rs911)
chip_enable_wifi_ipv4 = true
chip_enable_wifi_ipv4 = false

# Argument to force enable WPA3 security
rs91x_wpa3_only = false
Expand Down
4 changes: 4 additions & 0 deletions scripts/examples/gn_efr32_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ else
optArgs+="enable_sleepy_device=true chip_openthread_ftd=false "
shift
;;
--chip_enable_wifi_ipv4)
optArgs+="chip_enable_wifi_ipv4=true "
shift
;;
--additional_data_advertising)
optArgs+="chip_enable_additional_data_advertising=true chip_enable_rotating_device_id=true "
shift
Expand Down

0 comments on commit 90648b1

Please sign in to comment.