[PATCH libosmo-netif 12/18] tests: osmux: test online deactivation of dummy padding

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

pablo at gnumonks.org pablo at gnumonks.org
Tue Jul 21 14:23:27 UTC 2015


From: Pablo Neira Ayuso <pablo at soleta.eu>

Add RTP packets to circuit with dummy padding enabled to test automatic
deactivation once when start seeing real voice traffic.
---
 tests/osmux/osmux_test.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/osmux/osmux_test.c b/tests/osmux/osmux_test.c
index 51f026c..09ef9fd 100644
--- a/tests/osmux/osmux_test.c
+++ b/tests/osmux/osmux_test.c
@@ -193,6 +193,10 @@ int main(void)
 
 	/* Start pushing voice data to circuits 0 and 1 */
 	osmux_test_loop(0);
+	/* ... now start pushing voice data to circuits 2 and 3. This circuits
+	 * comes with dummy padding enabled.
+	 */
+	osmux_test_loop(2);
 
 	for (i = 0; i < 4; i++)
 		osmux_xfrm_input_close_circuit(&h_input, i);
-- 
1.7.10.4




More information about the OpenBSC mailing list