[p2p] add initial peer-to-peer support (#11494)

This commit implements a minimum P2P which only supports
sending/receiving wake-up frames and establishing P2P links between
rx-on-when-idle devices.
This commit is contained in:
Zhanglong Xia
2025-09-02 10:12:13 -07:00
committed by GitHub
parent 6657de95b8
commit 4cb0de4233
37 changed files with 1986 additions and 59 deletions
+8
View File
@@ -135,6 +135,7 @@ build_simulation()
options+=("-DOT_LINK_METRICS_INITIATOR=ON")
options+=("-DOT_LINK_METRICS_SUBJECT=ON")
options+=("-DOT_LINK_METRICS_MANAGER=ON")
options+=("-DOT_P2P=ON")
options+=("-DOT_WAKEUP_COORDINATOR=ON")
options+=("-DOT_WAKEUP_END_DEVICE=ON")
fi
@@ -194,6 +195,9 @@ build_posix()
options+=("-DOT_LINK_METRICS_INITIATOR=ON")
options+=("-DOT_LINK_METRICS_SUBJECT=ON")
options+=("-DOT_LINK_METRICS_MANAGER=ON")
options+=("-DOT_P2P=ON")
options+=("-DOT_WAKEUP_COORDINATOR=ON")
options+=("-DOT_WAKEUP_END_DEVICE=ON")
fi
if [[ ${FULL_LOGS} == 1 ]]; then
@@ -479,10 +483,14 @@ do_expect()
test_patterns=(-name 'posix-*.exp' -o -name 'cli-*.exp')
if [[ ${THREAD_VERSION} != "1.1" ]]; then
test_patterns+=(-o -name 'v1_2-*.exp')
test_patterns+=(-o -name 'v1_5-*.exp')
fi
fi
else
test_patterns=(-name 'cli-*.exp' -o -name 'simulation-*.exp' -o -name 'cli_non_rcp-*.exp')
if [[ ${THREAD_VERSION} != "1.1" ]]; then
test_patterns+=(-o -name 'v1_5-*.exp')
fi
fi
if [[ $# != 0 ]]; then