diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-08-13 00:16:24 +0600 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-11-19 17:35:07 +0700 |
commit | 7d95f8821e82895f7952860923a7624287f9c42c (patch) | |
tree | 49ec058fd61bda0ddf4c0529e9071dd80e2d8515 /.gitignore | |
parent | 82b8c21b210535feaed98487f0df12f3acc2e46c (diff) |
host/trxcon/l1ctl.c: share primitive management code
This change introduces shared primitive management functions,
exposed from the l1ctl_rx_data_req() implementation:
- sched_trx_init_prim() - allocates memory for a new primitive
and its payload. Initializes primitive's header, setting
the logical channel type and the payload length. After
initialization, the talloc context of a primitive is
a trx instance, which passed as the first argument.
- sched_trx_push_prim() - decodes the timeslot index from
chan_nr and pushes a primitive to its transimt queue.
The talloc context of primitive is changed to the
parent trx_ts instance after queuing.
Both functions will be used for handling both L1CTL_TRAFFIC_REQ
and L1CTL_RACH_REQ.
Change-Id: I8169a1ef4ef54d91b50f3e213e4842f54af8b499
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions