File tree Expand file tree Collapse file tree
config/nrfconnect/chip-module
pump-controller-app/nrfconnect/main
window-app/nrfconnect/main Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,12 +156,12 @@ matter_add_gn_arg_bool ("chip_progress_logging" CONFIG_MATTER_
156156matter_add_gn_arg_bool ("chip_detail_logging" CONFIG_MATTER_LOG_LEVEL GREATER_EQUAL 4 )
157157matter_add_gn_arg_bool ("chip_automation_logging" FALSE )
158158matter_add_gn_arg_bool ("chip_malloc_sys_heap" CONFIG_CHIP_MALLOC_SYS_HEAP )
159- matter_add_gn_arg_bool ("chip_enable_wifi" CONFIG_WIFI_NRF70 )
159+ matter_add_gn_arg_bool ("chip_enable_wifi" CONFIG_CHIP_WIFI )
160160matter_add_gn_arg_bool ("chip_system_config_provide_statistics" CONFIG_CHIP_STATISTICS )
161161matter_add_gn_arg_bool ("chip_enable_icd_server" CONFIG_CHIP_ENABLE_ICD_SUPPORT )
162162matter_add_gn_arg_bool ("chip_enable_factory_data" CONFIG_CHIP_FACTORY_DATA_NRFCONNECT_BACKEND )
163163matter_add_gn_arg_bool ("chip_enable_read_client" CONFIG_CHIP_ENABLE_READ_CLIENT )
164- matter_add_gn_arg_bool ("chip_mdns_minimal" CONFIG_WIFI_NRF70 )
164+ matter_add_gn_arg_bool ("chip_mdns_minimal" CONFIG_CHIP_WIFI )
165165matter_add_gn_arg_bool ("chip_config_enable_groupcast" CONFIG_CHIP_ENABLE_GROUPCAST )
166166matter_add_gn_arg_bool ("chip_mdns_platform" CONFIG_OPENTHREAD )
167167matter_add_gn_arg_bool ("enable_im_pretty_print" CONFIG_CHIP_IM_PRETTY_PRINT )
@@ -188,7 +188,7 @@ if (CONFIG_CHIP_ROTATING_DEVICE_ID)
188188 matter_add_gn_arg_bool ("chip_enable_additional_data_advertising" TRUE )
189189endif ()
190190
191- if (CONFIG_WIFI_NRF70 )
191+ if (CONFIG_CHIP_WIFI )
192192 matter_add_gn_arg_string ("chip_mdns" "minimal" )
193193elseif (CONFIG_OPENTHREAD)
194194 matter_add_gn_arg_string ("chip_mdns" "platform" )
Original file line number Diff line number Diff line change @@ -460,7 +460,8 @@ config CHIP_SYSTEM_PACKETBUFFER_POOL_SIZE
460460
461461# See config/common/cmake/Kconfig for full definition
462462config CHIP_WIFI
463- select WIFI_NRF70
463+ select WIFI_NRF70 if !DT_HAS_NORDIC_NRF7120_WIFI_ENABLED
464+ select WIFI_NRF71 if DT_HAS_NORDIC_NRF7120_WIFI_ENABLED
464465 select WIFI
465466 select WIFI_NM_WPA_SUPPLICANT
466467 select NETWORKING
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ CHIP_ERROR AppTask::Init()
167167 }
168168
169169 sThreadNetworkDriver .Init ();
170- #elif !defined(CONFIG_WIFI_NRF70 )
170+ #elif !defined(CONFIG_CHIP_WIFI )
171171 return CHIP_ERROR_INTERNAL ;
172172#endif
173173
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ CHIP_ERROR AppTask::Init()
153153 }
154154
155155 sThreadNetworkDriver .Init ();
156- #elif !defined(CONFIG_WIFI_NRF70 )
156+ #elif !defined(CONFIG_CHIP_WIFI )
157157 return CHIP_ERROR_INTERNAL ;
158158#endif
159159
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ CHIP_ERROR AppTask::Init()
171171 }
172172
173173 sThreadNetworkDriver .Init ();
174- #elif !defined(CONFIG_WIFI_NRF70 )
174+ #elif !defined(CONFIG_CHIP_WIFI )
175175 return CHIP_ERROR_INTERNAL ;
176176#endif
177177
Original file line number Diff line number Diff line change 6464#define CHIP_DEVICE_CONFIG_ENABLE_THREAD 0
6565#endif
6666
67- #ifdef CONFIG_WIFI_NRF70
68- #define CHIP_DEVICE_CONFIG_ENABLE_WIFI CONFIG_WIFI_NRF70
67+ #ifdef CONFIG_CHIP_WIFI
68+ #define CHIP_DEVICE_CONFIG_ENABLE_WIFI 1
6969#define CHIP_DEVICE_CONFIG_ENABLE_WIFI_STATION 1
7070#define CHIP_DEVICE_CONFIG_ENABLE_WIFI_AP 0
7171#else
Original file line number Diff line number Diff line change 2323
2424#include " DiagnosticDataProviderImplNrf.h"
2525
26- #ifdef CONFIG_WIFI_NRF70
26+ #ifdef CONFIG_CHIP_WIFI
2727#include < platform/nrfconnect/wifi/WiFiManager.h>
2828#endif
2929
@@ -41,7 +41,7 @@ DiagnosticDataProviderImplNrf & DiagnosticDataProviderImplNrf::GetDefaultInstanc
4141 return sInstance ;
4242}
4343
44- #ifdef CONFIG_WIFI_NRF70
44+ #ifdef CONFIG_CHIP_WIFI
4545CHIP_ERROR DiagnosticDataProviderImplNrf::GetWiFiBssId (MutableByteSpan & value)
4646{
4747 WiFiManager::WiFiInfo info;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ namespace DeviceLayer {
3131class DiagnosticDataProviderImplNrf : public DiagnosticDataProviderImpl
3232{
3333public:
34- #ifdef CONFIG_WIFI_NRF70
34+ #ifdef CONFIG_CHIP_WIFI
3535 CHIP_ERROR GetWiFiBssId (MutableByteSpan & value) override ;
3636 CHIP_ERROR GetWiFiSecurityType (app::Clusters::WiFiNetworkDiagnostics::SecurityTypeEnum & securityType) override ;
3737 CHIP_ERROR GetWiFiVersion (app::Clusters::WiFiNetworkDiagnostics::WiFiVersionEnum & wiFiVersion) override ;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ struct ChipDeviceEvent;
5151#endif
5252
5353#ifndef CHIP_SYSTEM_CONFIG_PACKETBUFFER_CAPACITY_MAX
54- #ifdef CONFIG_WIFI_NRF70
54+ #ifdef CONFIG_CHIP_WIFI
5555// Minimal mDNS uses Matter packet buffers, so as long as minimal mDNS is used
5656// in Nordic's Wi-Fi solution, the packet buffers must be a bit bigger than what
5757// is required by Matter.
@@ -61,7 +61,7 @@ struct ChipDeviceEvent;
6161// unless for large messages that can be sent over BTP or TCP. But those will
6262// likely require a separate buffer pool or employ chained buffers.
6363#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_CAPACITY_MAX 1280
64- #endif // CONFIG_WIFI_NRF70
64+ #endif // CONFIG_CHIP_WIFI
6565#endif // CHIP_SYSTEM_CONFIG_PACKETBUFFER_CAPACITY_MAX
6666
6767// ========== Platform-specific Configuration Overrides =========
You can’t perform that action at this time.
0 commit comments