This interfaces hold all the Tx/Rx baseband configurations of PicoScenes Wi-Fi baseband implementation. More...
#include <SDRFrontEndConfigurations.hxx>
Public Member Functions | |
virtual | ~SDRFrontEndBasebandConfigurations ()=default |
virtual double | getRxSensitivity ()=0 |
Get the Rx sensitivity of SDR baseband implemntation. | |
virtual void | setRxSensitivity (double rxSensitivity)=0 |
Set Rx sensitivity. | |
virtual bool | isRxResampleBypassFIR ()=0 |
virtual void | setRxResampleBypassFIR (bool bypass)=0 |
virtual bool | isTxSplitHighLow ()=0 |
virtual void | setTxSplitHighLow (bool split)=0 |
virtual bool | isRxMergeHighLow ()=0 |
virtual void | setRxMergeHighLow (bool merge)=0 |
virtual std::optional< double > | getCarrierFrequencyOffset4TxEncoding ()=0 |
Get the current carrier frequency offset (CFO) value for the baseband signal generation. | |
virtual void | setCarrierFrequencyOffset4TxEncoding (double carrierFrequencyOffset)=0 |
Set the current carrier frequency offset (CFO) value for the baseband signal generation. | |
virtual std::optional< double > | getSamplingFrequencyOffset4TxEncoding ()=0 |
Get the current sampilng frequency offset (SFO) value for the baseband signal generation. | |
virtual void | setSamplingFrequencyOffset4TxEncoding (double samplingFrequencyOffset)=0 |
Set the current sampling frequency offset (SFO) value for the baseband signal generation. | |
virtual std::optional< double > | getCarrierFrequencyOffset4RxDecoding ()=0 |
Check if user specifies the Rx path CFO; if specified, return the Rx path CFO. | |
virtual void | setCarrierFrequencyOffset4RxDecoding (double carrierFrequencyOffset)=0 |
Set the CFO value for baseband decoding. | |
virtual std::optional< double > | getSamplingFrequencyOffset4RxDecoding ()=0 |
Get the user-specified Rx path SFO, default is 0. | |
virtual void | setSamplingFrequencyOffset4RxDecoding (double samplingFrequencyOffset)=0 |
Set the user-specified Rx path SFO,. | |
virtual double | getTxResampleRatio ()=0 |
Get the user-specified Tx signal resample ratio. | |
virtual void | setTxResampleRatio (double txResampleRatio)=0 |
Set Tx signal resample ratio. | |
virtual double | getRxResampleRatio ()=0 |
Get the user-specified Rx resampling ratio. | |
virtual void | setRxResampleRatio (double rxResampleRatio)=0 |
Set the Rx signal rasample ratio. | |
virtual double | getSDRFrontEndTime ()=0 |
Obtain the SDR hardware time. | |
virtual ChannelBandwidthEnum | getRxChannelBandwidthMode ()=0 |
Get the current CBW value of Wi-Fi baseband decoder. | |
virtual void | setRxChannelBandwidthMode (ChannelBandwidthEnum rxCbw)=0 |
Set the CBW value for Wi-Fi baseband decoder, invoked by "--rx-cbw" option. | |
virtual void | setTxIQMismatch (double iq_ratio_db, double iq_crosstalk_degree)=0 |
Set Tx I/Q mismatch. | |
virtual void | setRxIQMismatch (double iq_ratio_db, double iq_crosstalk_degree)=0 |
Set Rx I/Q mismatch. | |
virtual double | getTxIqRatioDB ()=0 |
Get the I/Q mismatch ratio of the user-specified Tx I/Q mismatch. | |
virtual double | getTxIqCrossTalkDegree ()=0 |
Get the I/Q mismatch angle of the user-specified Tx I/Q mismatch. | |
virtual double | getRxIqRatioDB ()=0 |
Get the I/Q mismatch ratio of the user-specified Rx I/Q mismatch. | |
virtual double | getRxIqCrossTalkDegree ()=0 |
Get the I/Q mismatch degree of the user-specified Tx I/Q mismatch. | |
virtual bool | isFullDuplexEnabled ()=0 |
Check whether the Frontend is in Tx/Rx loopback mode. | |
virtual void | setFullDuplex (bool enableFullduplex)=0 |
Set the Frontend is in Tx/Rx loopback mode, in this mode Tx and Rx are open simultaneously, so that Rx end can receive the transmitted signal by Tx path. | |
virtual double | getRxOfdmSymbolOffset ()=0 |
Get the user-specified Rx OFDM symbol offset value. | |
virtual void | setRxOfdmSymbolOffset (double rxOfdmSymbolOffset)=0 |
Set Rx OFDM symbol offset, default is 0. | |
virtual double | getNumSamplesSavedBeforeStart ()=0 |
virtual void | getNumSamplesSavedBeforeStart (double numSamplesSavedBeforeStart)=0 |
virtual bool | isReturnBasebandSignals () const =0 |
virtual bool | useConventionalPacketDetector () const =0 |
This interfaces hold all the Tx/Rx baseband configurations of PicoScenes Wi-Fi baseband implementation.
Definition at line 49 of file SDRFrontEndConfigurations.hxx.
|
virtualdefault |
|
pure virtual |
Check if user specifies the Rx path CFO; if specified, return the Rx path CFO.
This method is for baseband implemntation to query whether user specifies a Rx path CFO, thus is not used for platform/plugin developer. For baseband implementation, if getCarrierFrequencyOffset4RxDecoding returns a value, let's name it RxCFO, then RxCFO will override the Rx path CFO auto-calculation and use the specified RxCFO to perform the Rx-path CFO compelsation.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Get the current carrier frequency offset (CFO) value for the baseband signal generation.
PicoScenes baseband implementation can deliberately add CFO to the generated (Tx) baseband signal.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Get the current CBW value of Wi-Fi baseband decoder.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Get the I/Q mismatch degree of the user-specified Tx I/Q mismatch.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Get the I/Q mismatch ratio of the user-specified Rx I/Q mismatch.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Get the user-specified Rx OFDM symbol offset value.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Get the user-specified Rx resampling ratio.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Get the Rx sensitivity of SDR baseband implemntation.
Rx sensitivity (in dB) is the lowest threshold that can trigger power-level detection and the subsequent packet detection.
Higher sensitivity may reject more packets with low SNR, while lower sensitivity may accept more packets but with slower baseband processing rate.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Get the user-specified Rx path SFO, default is 0.
This method is for baseband implemntation to query whether user specifies a Rx path SFO, thus is not used for platform/plugin developer. The PicoScenes Wi-Fi baseband implementation use the RxSFO (in Hz) valued obtained from getSamplingFrequencyOffset4RxDecoding to distort the received signal so as to simulate a SFO between Tx and Rx
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Get the current sampilng frequency offset (SFO) value for the baseband signal generation.
PicoScenes baseband implementation can deliberately add SFO to the generated (Tx) baseband signal.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Obtain the SDR hardware time.
Implemented in AbstractSDRFrontEnd, and VirtualSDRFrontEnd.
|
pure virtual |
Get the I/Q mismatch angle of the user-specified Tx I/Q mismatch.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Get the I/Q mismatch ratio of the user-specified Tx I/Q mismatch.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Get the user-specified Tx signal resample ratio.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Check whether the Frontend is in Tx/Rx loopback mode.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
|
pure virtual |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Set the CFO value for baseband decoding.
the specified carrierFrequencyOffset
will override the Rx path CFO auto-calculation and use the specified RxCFO to perform the Rx-path CFO compelsation.
carrierFrequencyOffset |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Set the current carrier frequency offset (CFO) value for the baseband signal generation.
PicoScenes baseband implementation can deliberately add CFO to the generated (Tx) baseband signal.
carrierFrequencyOffset | the specified CFO |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Set the Frontend is in Tx/Rx loopback mode, in this mode Tx and Rx are open simultaneously, so that Rx end can receive the transmitted signal by Tx path.
enableFullduplex |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Set the CBW value for Wi-Fi baseband decoder, invoked by "--rx-cbw" option.
rxCbw |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Set Rx I/Q mismatch.
iq_ratio_db | is the ratio between I and Q, default is 1.0 |
iq_crosstalk_degree | is the angle between I and Q, default is 0.0 |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Set Rx OFDM symbol offset, default is 0.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Set the Rx signal rasample ratio.
This method is invoked by the "--rx-resample-ratio" option. This method is usually called to down-sample the received signal from higher hardware sampling rate to the Wi-Fi baseband CBW rate (20/40/80/160-MHz)
rxResampleRatio |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Set Rx sensitivity.
rxSensitivity |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Set the user-specified Rx path SFO,.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Set the current sampling frequency offset (SFO) value for the baseband signal generation.
PicoScenes baseband implementation can deliberately add SFO to the generated (Tx) baseband signal.
samplingFrequencyOffset | the specified SFO |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Set Tx I/Q mismatch.
iq_ratio_db | is the ratio between I and Q, default is 1.0 |
iq_crosstalk_degree | is the angle between I and Q, default is 0.0 |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Set Tx signal resample ratio.
This method is invoked by the "--tx-resample-ratio" option. This method is usually called to up-sample the generated Tx signal to match the higher hardware sampling rate.
Implemented in AbstractSDRFrontEnd.
|
pure virtual |
Implemented in AbstractSDRFrontEnd.
|
pure virtual |