Vadim Yanitskiy
5629699996
host/trxcon/scheduler: drop a meaningless FIXME label
...
Change-Id: If5497f4fdce22e986f46725cc1575a1e809ccdab
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
075c1ad738
host/trxcon/scheduler: git rid of sched_trx_find_ts()
...
After simplification of timeslot management API this
function does not make sense.
Change-Id: I2fc0c68d784c8f01e1452bc46f8e1eaac2917656
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
6aa6690277
host/trxcon/scheduler: fix possible NULL deference
...
We should make sure that required timeslot is not only allocated,
but also configured, i.e. has a correct multiframe layout.
Change-Id: I1d0b870c389802b51c709d089b80ac3fb3565fa8
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
c045bc4fbe
host/trxcon/scheduler: simplify timeslot management
...
As we know the count of timeslots per GSM TDMA frame, it would
be better to have an array of pointers to trx_ts instances instead
of linux list, which is more usable for lists with unknown length.
Change-Id: I9510a5cddde22950ceb8422e0990d59f05ed4d60
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
026ed14c4b
host/trxcon: adjust default verbosity level
...
Change-Id: I91258091b59e5cdd30b767364fb48c3d67980eb7
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
2001221d75
host/trxcon/scheduler: optionally reset clock counter
...
Change-Id: I4565620fc0c5f64133c2674d2c972fc34245cf32
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
00bb1d5a79
host/trxcon/scheduler: implement sched_clck_reset()
...
It's better to have the clock management API inside a single file.
Change-Id: I92772f3db404e70fdffd530779613196afec61c9
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
b30031356c
host/trxcon: get rid of useless trxcon fsm events
...
Both SCH_EVENT_CLCK_IND and SCH_EVENT_CLCK_LOSS were not handled,
moreover there is no purpose to keep them.
Change-Id: I8efac459a40f4287e3325890809991d5ef46e9b1
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
824bfa299d
host/trxcon/l1ctl.c: handle L1CTL_DM_{EST,REL}_REQ
...
Change-Id: Ifdf229a6dd3c73ede313d2bfe384032e3887cc3a
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
283fb5879c
host/trxcon/scheduler: fix TS index in sched_trx_configure_ts()
...
TS index was not assigned after allocation of a new one.
Change-Id: I1b62218f863acf27fb1d1f46b273b345b97d33d8
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
656e31f762
host/trxcon/scheduler: notify transceiver about TS state
...
Change-Id: I5783066e7c1b01e4ebb28d10b03f3290ff8a0f37
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
2abc7a4998
host/trxcon/scheduler: implement TX queue handling
...
Change-Id: I2b7bae53901156524134c4904ea1179268d85601
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
ca1d021c83
host/trxcon/scheduler: drop resolved FIXME label
...
Change-Id: I5e6b30300a457422b2deb10ff4c051c86beb7cd2
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
99f8aea905
host/trxcon/scheduler: fix channel deactivation
...
Change-Id: I7c99b7bd99619084727af290b388f7492ba58531
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
ec3a1ba2e5
host/trxcon/scheduler: handle bursts from TRX interface
...
Change-Id: Iff15daf897f30cb98d4ec4c88b9fc259cb44ea4e
2017-11-19 17:35:07 +07:00
Vadim Yanitskiy
8baa369b23
host/trxcon/scheduler: implement management functions
...
This change introduces some new functions to configure
TDMA scheduler. They can be grouped as follows:
- Scheduler management functions
- sched_trx_init()
- sched_trx_reset()
- sched_trx_shutdown()
- Timeslot management functions
- sched_trx_add_ts()
- sched_trx_find_ts()
- sched_trx_del_ts()
- sched_trx_reset_ts()
- sched_trx_configure_ts()
- Logical channel management functions
- sched_trx_activate_lchan()
- sched_trx_deactivate_lchan()
- sched_trx_find_lchan()
Change-Id: I6d0f437a68f0eb4e22bf635bf899b08673571085
2017-11-19 17:35:07 +07:00