This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/14639
Change subject: Transceiver: Drop unused rssi_valid struct field
......................................................................
Transceiver: Drop unused rssi_valid struct field
That field is actually never used. Furthermore, if pullRadioVector()
returns false, then the caller should consider the 'trx_ul_burst_ind'
structure as uninitialized. Moreover, RSSI is mandatory - we cannot send
burst indications without it.
Related: OS#4006
Change-Id: Ia109298aebe8ba4750a39338ba7962555903cd82
---
M Transceiver52M/Transceiver.cpp
M Transceiver52M/Transceiver.h
2 files changed, 0 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/39/14639/1
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index 716a507..4999ac4 100644
--- a/Transceiver52M/Transceiver.cpp
+++ b/Transceiver52M/Transceiver.cpp
@@ -559,7 +559,6 @@
int max_i = -1;
signalVector *burst;
TransceiverState *state = &mStates[chan];
- bi->rssi_valid = false;
/* Blocking FIFO read */
radioVector *radio_burst = mReceiveFIFO[chan]->read();
@@ -609,9 +608,6 @@
bi->rssi = 20.0 * log10(rxFullScale / avg);
- /* RSSI estimation are valid */
- bi->rssi_valid = true;
-
if (type == IDLE) {
/* Update noise levels */
state->mNoises.insert(avg);
diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h
index 0f452c1..965d07d 100644
--- a/Transceiver52M/Transceiver.h
+++ b/Transceiver52M/Transceiver.h
@@ -41,7 +41,6 @@
double rssi; // in dBFS
double toa; // in symbols
double noise; // noise level in dBFS
- bool rssi_valid; // are RSSI, noise and burstTime valid
};
class Transceiver;
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/14639
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ia109298aebe8ba4750a39338ba7962555903cd82
Gerrit-Change-Number: 14639
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190701/20afc90c/attachment.htm>