summaryrefslogtreecommitdiff
path: root/lib/librte_bbdev
diff options
context:
space:
mode:
authorKamil Chalupnik <kamilx.chalupnik@intel.com>2018-05-09 16:23:16 +0200
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2018-05-10 17:46:20 +0100
commit47d5a04969567f40b01e1b5b918f2ef1b1121c7a (patch)
tree51c5d4df003fbbba12f79af757df8349bffe0fe2 /lib/librte_bbdev
parent6a1d032e79500cde65168c7dd2f4e31ca257560a (diff)
downloaddpdk-47d5a04969567f40b01e1b5b918f2ef1b1121c7a.zip
dpdk-47d5a04969567f40b01e1b5b918f2ef1b1121c7a.tar.gz
dpdk-47d5a04969567f40b01e1b5b918f2ef1b1121c7a.tar.xz
baseband/turbo_sw: scale likelihood ratio input
Update Turbo Software driver for Wireless Baseband Device: - function scaling input LLR values to specific range [-16, 16] added - new test vectors to check device capabilities added - release note updated accordingly Signed-off-by: Kamil Chalupnik <kamilx.chalupnik@intel.com> Acked-by: Amr Mokhtar <amr.mokhtar@intel.com>
Diffstat (limited to 'lib/librte_bbdev')
-rw-r--r--lib/librte_bbdev/rte_bbdev_op.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/librte_bbdev/rte_bbdev_op.h b/lib/librte_bbdev/rte_bbdev_op.h
index 1a80588..90a688e 100644
--- a/lib/librte_bbdev/rte_bbdev_op.h
+++ b/lib/librte_bbdev/rte_bbdev_op.h
@@ -379,6 +379,10 @@ struct rte_bbdev_op_turbo_enc {
struct rte_bbdev_op_cap_turbo_dec {
/**< Flags from rte_bbdev_op_td_flag_bitmasks */
uint32_t capability_flags;
+ /** Maximal LLR absolute value. Acceptable LLR values lie in range
+ * [-max_llr_modulus, max_llr_modulus].
+ */
+ int8_t max_llr_modulus;
uint8_t num_buffers_src; /**< Num input code block buffers */
/**< Num hard output code block buffers */
uint8_t num_buffers_hard_out;