uan: (fixes #1127) Fixed bug in energy update in UanPhyGen::RxEndEvent() (thanks to donghuiyong)
This commit is contained in:
committed by
Tom Henderson
parent
c288ebbbe7
commit
e266e0a2c8
@@ -47,6 +47,7 @@ been tested on Linux. As of this release, the latest known version to work with
|
||||
- (wifi) Fix starting Sequence Number when ADDBA Response arrives after timeout
|
||||
- (uan) !2087 - Fix Thorp attenuation formula
|
||||
- (uan) !2088 - Fix PER calculation of M-QAM
|
||||
- (uan) !2127 - Fix bug in energy update in UanPhyGen::RxEndEvent()
|
||||
|
||||
Release 3.42
|
||||
------------
|
||||
|
||||
@@ -857,9 +857,10 @@ UanPhyGen::RxEndEvent(Ptr<Packet> pkt, double /* rxPowerDb */, UanTxMode txMode)
|
||||
else
|
||||
{
|
||||
m_state = IDLE;
|
||||
UpdatePowerConsumption(IDLE);
|
||||
}
|
||||
|
||||
UpdatePowerConsumption(IDLE);
|
||||
|
||||
if (m_pg->GetValue(0, 1) > m_per->CalcPer(m_pktRx, m_minRxSinrDb, txMode))
|
||||
{
|
||||
m_rxOkLogger(pkt, m_minRxSinrDb, txMode);
|
||||
|
||||
Reference in New Issue
Block a user