aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorTom Tsou <tom@tsou.cc>2015-01-05 16:35:07 -0800
committerMartin Braun <martin.braun@ettus.com>2015-01-14 10:15:40 +0100
commit7b61f4bb1a3c02acbab083000fcd9d62f79708a2 (patch)
tree2c0c196bd51fbf409b1c440f547f2405909531a7 /host/lib/usrp
parent0175da4f86e6ff47ba6960e0d1138a76e5717592 (diff)
downloaduhd-7b61f4bb1a3c02acbab083000fcd9d62f79708a2.tar.gz
uhd-7b61f4bb1a3c02acbab083000fcd9d62f79708a2.tar.bz2
uhd-7b61f4bb1a3c02acbab083000fcd9d62f79708a2.zip
convert: Limit sc12 converter buffer overwrite
This patch addresses issue #648 "B200: TX with SC12 format and MIMO". The observed MIMO header corruption was caused by overwriting the end of the packed 12-bit sample output buffer. The overwrite was due to the converter call always writing out 4 complex samples even if less than 4 samples were available. The extra samples would corrupt data with zero padding. Avoid the overwrite condition by only writing the minimum number of 32-bit lines necessary rather than the entire 12 byte struct. Samples 32-bit lines 1 1 2 2 3 3 4 3 Signed-off-by: Tom Tsou <tom@tsou.cc>
Diffstat (limited to 'host/lib/usrp')
0 files changed, 0 insertions, 0 deletions