Skip to content

Commit 4a317de

Browse files
committedNov 28, 2024
Revert "[nrf fromtree] [nrfconnect] Optimize packet buffer size (project-chip#33137)"
This reverts commit 2d3e9bb. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
1 parent e4e3eb7 commit 4a317de

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed
 

‎src/platform/nrfconnect/SystemPlatformConfig.h

-14
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,6 @@ struct ChipDeviceEvent;
5151
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 15
5252
#endif
5353

54-
#ifndef CHIP_SYSTEM_CONFIG_PACKETBUFFER_CAPACITY_MAX
55-
#ifdef CONFIG_WIFI_NRF700X
56-
// Minimal mDNS uses Matter packet buffers, so as long as minimal mDNS is used
57-
// in Nordic's Wi-Fi solution, the packet buffers must be a bit bigger than what
58-
// is required by Matter.
59-
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_CAPACITY_MAX CONFIG_NRF_WIFI_IFACE_MTU
60-
#else
61-
// Matter specification requires that Matter messages fit in IPV6 MTU of 1280B
62-
// unless for large messages that can be sent over BTP or TCP. But those will
63-
// likely require a separate buffer pool or employ chained buffers.
64-
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_CAPACITY_MAX 1280
65-
#endif // CONFIG_WIFI_NRF700X
66-
#endif // CHIP_SYSTEM_CONFIG_PACKETBUFFER_CAPACITY_MAX
67-
6854
// ========== Platform-specific Configuration Overrides =========
6955

7056
// Disable Zephyr Socket extensions module, as the Zephyr RTOS now implements recvmsg()

0 commit comments

Comments
 (0)