commit | f8f72e23caae9a1954d86db5242ad764c33e6eff | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Fri Jan 10 17:46:51 2014 +0100 |
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | Thu Jan 16 12:04:30 2014 +0100 |
tree | 3e5b7a820bd6ef4e8725418c5b945fd53cb1a4d8 | |
parent | 45014a0cadfd1f28d68d61b5160ee18fa391c4ba [diff] |
si: Add generic range w(k) encoder Currently the encoding of the chan_list is done by a hard-coded sequence of macros that closely resembles figure 10.5.16 in 3GPP TS 04.08. This patch replaces this by an algorithmic solution that can be used for all range encodings and is based on the property W(2^i) to W(2^(i+1)-1) are on w1_len-i bits when present (see section 10.5.2.13 in TS 04.08). Ticket: OW#1061 Sponsored-by: On-Waves ehf