consider using hLayer2 as a pointer storage
This would speed up the l1if_hLayer_to_lchan lookup. Not sure if it's worth the extra risk.
#3 Updated by neels almost 3 years ago
There seems to be a bit of a mix-up.
For example, in osmo-bts-sysmo/oml.c, this:
struct gsm_lchan * l1if_hLayer_to_lchan(struct gsm_bts_trx *trx, uint32_t hLayer2)
is always called with an hLayer3 argument instead, e.g.:
lchan = l1if_hLayer_to_lchan(trx, cc->hLayer3);
This issue mentions efficiency ("speed up"), which so far has not been part of my
My conclusion is that we would need to spend some time to look at and discuss this
before rejecting this issue.