Issue Description
The new complex gain can be applied to the wrong Tx channel if the user has a subdev spec that is different for Rx and Tx. The underlying issue is that the multi_usrp API function get_radio_control() returns the radio control associated with the Rx channel but this may be the wrong controller for a similarly numbered Tx channel.
Setup Details
UHD 4.10, RFNoC-capable USRPs
Expected Behavior
Gain should change on the desired Tx channel
Actual Behaviour
Gain does not change on the desired Tx channel
Steps to reproduce the problem
The problem can be shown by using 'txrx_complex_gain' and following the 1st usage example from the help for this example. But, add subdev specs for Rx and Tx such as "A:0" for Rx and "B:0" for Tx. This will impement a 1x1 USRP where the Tx and Rx are using different Radio blocks. The function 'usrp->get_radio_control' will return the Rx radio control such that when the example uses this function to set the Tx gain, it will be set on the wrong channel
Additional Information
Issue Description
The new complex gain can be applied to the wrong Tx channel if the user has a subdev spec that is different for Rx and Tx. The underlying issue is that the multi_usrp API function get_radio_control() returns the radio control associated with the Rx channel but this may be the wrong controller for a similarly numbered Tx channel.
Setup Details
UHD 4.10, RFNoC-capable USRPs
Expected Behavior
Gain should change on the desired Tx channel
Actual Behaviour
Gain does not change on the desired Tx channel
Steps to reproduce the problem
The problem can be shown by using 'txrx_complex_gain' and following the 1st usage example from the help for this example. But, add subdev specs for Rx and Tx such as "A:0" for Rx and "B:0" for Tx. This will impement a 1x1 USRP where the Tx and Rx are using different Radio blocks. The function 'usrp->get_radio_control' will return the Rx radio control such that when the example uses this function to set the Tx gain, it will be set on the wrong channel
Additional Information