Skip to content

Commit edfcda2

Browse files
committed
IF: Align with new interface supporting different coding rates
The Phy now supports providing the coding_rate to the modem to adjust the digital performance estimates for modulations with variable conding rates. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent cb70771 commit edfcda2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/modem_magic.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ void modem_analog_rx(void *this, p2G4_radioparams_t *rx_radio_params, double *Ou
8383
*
8484
* inputs:
8585
* this : Pointer to this modem object
86-
* rx_radioparams: Radio parameters/configuration of this receiver for this Rx/RSSI measurement
86+
* rx_modem_params: Radio parameters/configuration of this receiver for this Rx/RSSI measurement
8787
* SNR : SNR level at the analog output as calculated by modem_analog_rx()
8888
*/
89-
uint32_t modem_digital_perf_ber(void *this, p2G4_radioparams_t *rx_radioparams, double SNR) {
89+
uint32_t modem_digital_perf_ber(void *this, p2G4_modemdigparams_t *rx_modem_params, double SNR) {
9090
return ((mo_magic_args_t*)this)->BER;
9191
}
9292

@@ -99,11 +99,11 @@ uint32_t modem_digital_perf_ber(void *this, p2G4_radioparams_t *rx_radioparams,
9999
*
100100
* inputs:
101101
* this : Pointer to this modem object
102-
* rx_radio_params : Radio parameters/configuration of this receiver for this Rx/RSSI measurement
102+
* rx_modem_params : Radio parameters/configuration of this receiver for this Rx/RSSI measurement
103103
* SNR : SNR level at the analog output as calculated by modem_analog_rx()
104104
* tx_s : Parameters of the transmission we are receiving (in case the sync. probability depends on any of them)
105105
*/
106-
uint32_t modem_digital_perf_sync(void *this, p2G4_radioparams_t *rx_radio_params, double SNR, p2G4_txv2_t* tx_s) {
106+
uint32_t modem_digital_perf_sync(void *this, p2G4_modemdigparams_t *rx_modem_params, double SNR, p2G4_txv2_t* tx_s) {
107107
return ((mo_magic_args_t*)this)->sync_prob;
108108
}
109109

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1
1+
2.2

0 commit comments

Comments
 (0)