From b227e1614d39be1bb7231061b53c6a7580acaa53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Sat, 22 Feb 2025 09:27:17 +0100 Subject: [PATCH] wifi: Add PHY function to retrieve time until preamble detection period has elapsed --- src/wifi/model/phy-entity.cc | 27 +++++++++++++++++++++------ src/wifi/model/phy-entity.h | 15 ++++----------- src/wifi/model/wifi-phy.cc | 32 +++++++++++++++++--------------- src/wifi/model/wifi-phy.h | 13 +++++++++++-- 4 files changed, 53 insertions(+), 34 deletions(-) diff --git a/src/wifi/model/phy-entity.cc b/src/wifi/model/phy-entity.cc index 715a6f8bc..97fab508f 100644 --- a/src/wifi/model/phy-entity.cc +++ b/src/wifi/model/phy-entity.cc @@ -844,6 +844,27 @@ PhyEntity::GetReceptionStatus(Ptr mpdu, } } +std::optional