wifi: Define NO_USER_STA_ID for RU that is intended for no user

This commit is contained in:
Sébastien Deronne
2023-05-24 20:35:51 +02:00
committed by Sébastien Deronne
parent 53b318dc9a
commit ab4a782bb7
2 changed files with 4 additions and 1 deletions

View File

@@ -699,7 +699,7 @@ WifiDefaultAckManager::TryUlMuTransmission(Ptr<const WifiMpdu> mpdu,
{
uint16_t aid12 = userInfo.GetAid12();
if (aid12 == 2046)
if (aid12 == NO_USER_STA_ID)
{
NS_LOG_INFO("Unallocated RU");
continue;

View File

@@ -33,6 +33,9 @@
namespace ns3
{
/// STA_ID for a RU that is intended for no user (Section 26.11.1 802.11ax-2021)
static constexpr uint16_t NO_USER_STA_ID = 2046;
/// HE MU specific user transmission parameters.
struct HeMuUserInfo
{