Skip to content

Commit

Permalink
[Telink] Add support for up to 8 groups for lighting-app.
Browse files Browse the repository at this point in the history
Groups multicast functionality fixed.
Tested on 1-8 groups.

Signed-off-by: Dmytro Huz <[email protected]>
  • Loading branch information
interfer committed Oct 29, 2024
1 parent fef41bd commit 72e0a68
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 10 additions & 1 deletion config/telink/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ config COMMON_LIBC_MALLOC_ARENA_SIZE
default 12288

config NET_IPV6_MLD
default n
default n if PM
default y

config NET_IF_MCAST_IPV6_ADDR_COUNT
default 8 if PM
default 15

# Network buffers
config NET_PKT_RX_COUNT
Expand Down Expand Up @@ -272,6 +277,10 @@ config OPENTHREAD_DEFAULT_TX_POWER
default 3 if PM
default 9

config OPENTHREAD_IP6_MAX_EXT_MCAST_ADDRS
default 2 if PM
default 8

endif # NET_L2_OPENTHREAD

config NET_TX_STACK_SIZE
Expand Down
4 changes: 4 additions & 0 deletions examples/lighting-app/telink/include/CHIPProjectConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@
// Until this is improved in OpenThread we need to increase the retransmission
// interval to survive the stall.
#define CHIP_CONFIG_MRP_LOCAL_ACTIVE_RETRY_INTERVAL (1000_ms32)

// ========== Multicast groups Configuration Overrides =========
#define CHIP_CONFIG_MAX_GROUP_ENDPOINTS_PER_FABRIC 8
#define CHIP_CONFIG_EXAMPLE_ACCESS_CONTROL_MAX_SUBJECTS_PER_ENTRY (4 * CHIP_CONFIG_MAX_GROUP_ENDPOINTS_PER_FABRIC)

0 comments on commit 72e0a68

Please sign in to comment.