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

[EFR32]Added connectivity for RS9116 when AP has WPA3 security mode #21589

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions examples/light-switch-app/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ declare_args() {

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

# Argument to force enable WPA3 security
wifi_enable_security_wpa3 = false
}

declare_args() {
Expand Down Expand Up @@ -227,6 +230,10 @@ efr32_executable("light_switch_app") {
defines += [ "CHIP_DEVICE_CONFIG_ENABLE_IPV4" ]
}

if (wifi_enable_security_wpa3) {
defines += [ "WIFI_ENABLE_SECURITY_WPA3=1" ]
}

# WiFi Settings
if (chip_enable_wifi) {
if (use_rs911x) {
Expand Down
7 changes: 7 additions & 0 deletions examples/lighting-app/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ declare_args() {

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

# Argument to force enable WPA3 security
wifi_enable_security_wpa3 = false
}

declare_args() {
Expand Down Expand Up @@ -227,6 +230,10 @@ efr32_executable("lighting_app") {
defines += [ "CHIP_DEVICE_CONFIG_ENABLE_IPV4" ]
}

if (wifi_enable_security_wpa3) {
defines += [ "WIFI_ENABLE_SECURITY_WPA3=1" ]
}

# WiFi Settings
if (chip_enable_wifi) {
if (use_rs911x) {
Expand Down
7 changes: 7 additions & 0 deletions examples/lock-app/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ declare_args() {

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

# Argument to force enable WPA3 security
wifi_enable_security_wpa3 = false
}

declare_args() {
Expand Down Expand Up @@ -224,6 +227,10 @@ efr32_executable("lock_app") {
defines += [ "CHIP_DEVICE_CONFIG_ENABLE_IPV4" ]
}

if (wifi_enable_security_wpa3) {
defines += [ "WIFI_ENABLE_SECURITY_WPA3=1" ]
}

# WiFi Settings
if (chip_enable_wifi) {
if (use_rs911x) {
Expand Down
7 changes: 7 additions & 0 deletions examples/window-app/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ declare_args() {

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

# Argument to force enable WPA3 security
wifi_enable_security_wpa3 = false
}

declare_args() {
Expand Down Expand Up @@ -210,6 +213,10 @@ efr32_executable("window_app") {
defines += [ "CHIP_DEVICE_CONFIG_ENABLE_IPV4" ]
}

if (wifi_enable_security_wpa3) {
defines += [ "WIFI_ENABLE_SECURITY_WPA3=1" ]
}

# WiFi Settings
if (chip_enable_wifi) {
if (use_rs911x) {
Expand Down
16 changes: 16 additions & 0 deletions scripts/examples/gn_efr32_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,22 @@ else
optArgs+="chip_enable_wifi_ipv4=true "
shift
;;
--rs91x_setSecurityType)
if [ -z "$2" ]; then
echo "--rs911x_setSecurityType requires WPA_WPA2 or WPA3_ONLY"
exit 1
fi
if [ "$2" = "WPA_WPA2" ]; then
optArgs+="wifi_enable_security_wpa3=false "
elif [ "$2" = "WPA3_ONLY" ]; then
optArgs+="wifi_enable_security_wpa3=true "
else
echo "Set security usage: --rs911x_setSecurityType WPA_WPA2|WPA3_ONLY"
exit 1
fi
shift
shift
;;
--additional_data_advertising)
optArgs+="chip_enable_additional_data_advertising=true chip_enable_rotating_device_id=true "
shift
Expand Down