summaryrefslogtreecommitdiff
path: root/cesar/ce/rx/bitloading/inc/nsr.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/ce/rx/bitloading/inc/nsr.h')
-rw-r--r--cesar/ce/rx/bitloading/inc/nsr.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cesar/ce/rx/bitloading/inc/nsr.h b/cesar/ce/rx/bitloading/inc/nsr.h
index cf3812a1cf..de19915bdf 100644
--- a/cesar/ce/rx/bitloading/inc/nsr.h
+++ b/cesar/ce/rx/bitloading/inc/nsr.h
@@ -95,6 +95,17 @@ void
ce_rx_bl_nsr_compute_mean (ce_rx_bitloading_t *bl);
/**
+ * Compute the mean of the total NSR sum for all the channels together.
+ * \param bl the bit loading context of the station.
+ * \return the average total nsr.
+ *
+ * This function compute the mean of the NSR-s for all the channels together.
+ * It adds NSR means of all the channels and divides the sum with number of channels.
+ */
+u8
+ce_rx_bl_nsr_compute_total_mean (ce_rx_bitloading_t *bl);
+
+/**
* Change margin to apply to NSR before usage in the bit loading algorithms.
* \param margin_q margin to apply to NSR
*