Attention is currently required from: fixeria.
3 comments:
Patchset:
Don't you need to modify the unit tests to send the new prim?
I'd say we don't need that. Those code paths are triggered by cleanup_test() which make sure trigger the PDCH_REL_REQ to go in the "clean tbfs" direction, since afterwards we are calling osmo_gprs_rlcmac_init() again to reset the whole library state.
So adding extra code in cleanup_test() to trigger CCCH_READY.ind would be going in the direction of creating more context, which is not what we want there. If a specific test wants to test the returning from CCCH_READY.ind, it can do so explicitly.
File include/osmocom/gprs/rlcmac/rlcmac_prim.h:
Patch Set #1, Line 198: ccch_ready
Having empty structs is a bit weird, but ok.
I still like it because it quickly confirms that no extra fields are available/used.
File src/rlcmac/gre.c:
Patch Set #1, Line 42: struct gprs_rlcmac_entity *gre = data;
Why not removing it? Does it make sense to keep it commented out?
I can remove it, I simply thought a reader can quickly find out the gre pointer is already available there.
To view, visit change 33770. To unsubscribe, or for help writing mail filters, visit settings.