From 810b70d8d8e5d838cd42d25c920559d76bcaaeff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Sat, 8 May 2021 12:18:11 +0200 Subject: [PATCH] wifi: Fix logs for WifiTxTimer --- src/wifi/helper/wifi-helper.cc | 1 + src/wifi/model/wifi-tx-timer.cc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/wifi/helper/wifi-helper.cc b/src/wifi/helper/wifi-helper.cc index e197fade4..1c715f4d8 100644 --- a/src/wifi/helper/wifi-helper.cc +++ b/src/wifi/helper/wifi-helper.cc @@ -997,6 +997,7 @@ WifiHelper::EnableLogComponents (void) LogComponentEnable ("WifiSpectrumSignalParameters", LOG_LEVEL_ALL); LogComponentEnable ("WifiTxCurrentModel", LOG_LEVEL_ALL); LogComponentEnable ("WifiTxParameters", LOG_LEVEL_ALL); + LogComponentEnable ("WifiTxTimer", LOG_LEVEL_ALL); LogComponentEnable ("YansErrorRateModel", LOG_LEVEL_ALL); LogComponentEnable ("YansWifiChannel", LOG_LEVEL_ALL); LogComponentEnable ("YansWifiPhy", LOG_LEVEL_ALL); diff --git a/src/wifi/model/wifi-tx-timer.cc b/src/wifi/model/wifi-tx-timer.cc index bc9d5c23d..8b45dce3b 100644 --- a/src/wifi/model/wifi-tx-timer.cc +++ b/src/wifi/model/wifi-tx-timer.cc @@ -79,6 +79,8 @@ case WAIT_ ## x: \ FOO (CTS); FOO (NORMAL_ACK); FOO (BLOCK_ACK); + FOO (NORMAL_ACK_AFTER_DL_MU_PPDU); + FOO (BLOCK_ACKS_IN_TB_PPDU); default: NS_ABORT_MSG ("Unknown reason"); }