diff options
author | michael-west <michael.west@ettus.com> | 2016-11-03 16:27:02 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-11-07 10:23:55 -0800 |
commit | b688bb7ba9595ac11b79d79acb8bb6e8510bfd5e (patch) | |
tree | f67dc26f55db62e1d664512e8d3555d871f9f35b /host/lib/rfnoc | |
parent | e6ca486c105c1dd4b707faa84f641464f886acdc (diff) | |
download | uhd-b688bb7ba9595ac11b79d79acb8bb6e8510bfd5e.tar.gz uhd-b688bb7ba9595ac11b79d79acb8bb6e8510bfd5e.tar.bz2 uhd-b688bb7ba9595ac11b79d79acb8bb6e8510bfd5e.zip |
X300: Fix for channel 1 failure to ACK a TX burst.
- Added mapping from radio block and port to channel in legacy compat layer.
- Improved parsing of stream args and added parsing of radio ID and port parameters for each channel.
- Added proper programming of the response SID based on the new radio ID and port parameters.
Diffstat (limited to 'host/lib/rfnoc')
-rw-r--r-- | host/lib/rfnoc/legacy_compat.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/rfnoc/legacy_compat.cpp b/host/lib/rfnoc/legacy_compat.cpp index 20553062f..e1eff757e 100644 --- a/host/lib/rfnoc/legacy_compat.cpp +++ b/host/lib/rfnoc/legacy_compat.cpp @@ -382,6 +382,9 @@ private: // methods const std::string block_name = _get_streamer_block_id_and_port<dir>(mboard_idx, radio_index, port_index); args.args[str(boost::format("block_id%d") % stream_arg_chan_idx)] = block_name; args.args[str(boost::format("block_port%d") % stream_arg_chan_idx)] = str(boost::format("%d") % port_index); + // Map radio to channel (for in-band response) + args.args[str(boost::format("radio_id%d") % stream_arg_chan_idx)] = block_id_t(mboard_idx, RADIO_BLOCK_NAME, radio_index).to_string(); + args.args[str(boost::format("radio_port%d") % stream_arg_chan_idx)] = str(boost::format("%d") % chan_map[mboard_idx][this_mboard_chan_idx].port_index); } } |