mobile_insight.analyzer.lte_phy_analyzer module¶
A 4G PHY analyzer to get Modulation and coding Scheme (MCS)
Author: Yuanjie Li
- class mobile_insight.analyzer.lte_phy_analyzer.LtePhyAnalyzer¶
Bases:
mobile_insight.analyzer.analyzer.Analyzer
- __msg_callback(msg)¶
- callback_pdsch(msg)¶
Dump PDSCH bandwidth and modulation
- Parameters
msg – raw LTE_PHY_PDSCH_Packet packet
- callback_pucch(msg)¶
Dump PUCCH scheduling request information :param msg: raw LTE_PHY_PUCCH_Tx_Report packet :return:
- callback_pusch(msg)¶
Callback for LTE_PHY_PUSCH_CSF. Currently it updates CQI.
- Parameters
msg – raw LTE_PHY_PUSCH_CSF packet
- callback_pusch_grant(msg)¶
- callback_pusch_tx(msg)¶
Dump PUSCH power measurement information :param msg: raw LTE_PHY_PUSCH_Tx_Report packet :return:
- predict_bw(timestamp)¶
Predict bandwidth based on CQI Currently it implements a naive solution based on pre-trained CQI->BW table
- set_source(source)¶
Set the trace source. Enable the cellular signaling messages
- Parameters
source – the trace source (collector).