aboutsummaryrefslogtreecommitdiffstats
path: root/tests/types
AgeCommit message (Collapse)AuthorFilesLines
2014-01-15rlc: Use an enum for the state array instead of charsDaniel Willmann1-3/+3
gprs_rlc_bsn_state is now used to hold the ACK state of sent/received rlc packets.
2014-01-15rlc/tbf: Move v_b into DL windowDaniel Willmann1-3/+2
Move functions resend_needed(), mark_for_resend(), update(), move_window(), state(), count_unacked() out of v_b directly into the UL window and provide a function get_state in v_b to access the v_b elements.
2014-01-15rlc/tbf: Add function receive_bsn that updates v_r, v_q, v_nDaniel Willmann1-27/+9
We don't need to expose the mecanics of updating the variables to the outside.
2014-01-15rlc/tbf: Move v_n into gprs_rlc_ul_window and adapt the testsDaniel Willmann1-40/+39
v_n is part of the UL window handling so move it inside the ul_window
2013-12-12tests/TypesTest: Check rbb handling in DLDaniel Willmann2-0/+37
2013-12-12tests/TypesTest: Ensure that extract_rbb(encode_rbb(x)) == xDaniel Willmann1-0/+11
2013-12-12tests/TypesTest: Print the result of Encoding::encode_rbb()Daniel Willmann2-0/+17
2013-12-12tests/TypesTest: Add OSMO_ASSERT_STR_EQ which prints out the parametersDaniel Willmann1-6/+15
Use it to compare rbb
2013-12-12tests/TypesTest: Test ssn() and update_rbb() uplink window methods in TypesTestDaniel Willmann1-0/+27
Test that ssn and rbb are updated correctly.
2013-12-04rlc: Create a testcase for the uplink windowHolger Hans Peter Freyther1-1/+99
2013-11-26rlc: Add a basic test for the DL Window and moving the windowHolger Hans Peter Freyther1-0/+49
2013-11-26rlc: Test the basic of the gprs_rlc_v_n code for remembering the stateHolger Hans Peter Freyther1-0/+20
2013-11-23rlc: Create a basic test that mark/is is talking about the sameHolger Hans Peter Freyther1-0/+27
2013-11-21rlc: Add a simple test for the RLC data structure for the initHolger Hans Peter Freyther1-0/+15
2013-11-21types: Add a simple testcase for basic types and fix the LLC codeHolger Hans Peter Freyther3-0/+94
* Make append_data, remaining_space and fits_in_current.. work on m_length and not the index. This ways things can't overflow. * The current API consumer was moving the m_index so it should have worked okay.