mirror of
https://github.com/espressif/openthread.git
synced 2026-06-06 05:24:51 +00:00
7353a38871
This commit adds a new Nexus test case MATN-TC-16 to verify that the Primary Backbone Border Router (BBR) can handle a large number of multicast group subscriptions. The test performs 75 multicast registrations in 5 batches of 15 addresses each. It verifies the following behavior: - The BBR correctly processes Multicast Listener Registration (MLR) requests and returns a success status. - Multicast packets sent to registered addresses on the backbone are successfully forwarded to the Thread network. - Multicast packets sent to unregistered addresses are not forwarded. To accommodate the requirements of this test, Nexus configuration limits are increased: - OPENTHREAD_CONFIG_IP6_MAX_EXT_MCAST_ADDRS is increased from 4 to 80. - The mTestVars array in Nexus Core is increased from 16 to 128 entries to support storing all multicast addresses for verification. Included changes: - New test files: test_1_2_MATN_TC_16.cpp and verify_1_2_MATN_TC_16.py. - Registration of the test in CMakeLists.txt and run_nexus_tests.sh. - Configuration updates in openthread-core-nexus-config.h and nexus_core.hpp.