wifi: Set primary channel field in HtOperation IE

This commit is contained in:
Sébastien Deronne
2018-07-10 16:57:44 +02:00
parent 1620a89992
commit 94f1b159b4

View File

@@ -563,6 +563,7 @@ ApWifiMac::GetHtOperation (void) const
if (GetHtSupported ())
{
operation.SetHtSupported (1);
operation.SetPrimaryChannel (m_phy->GetChannelNumber ());
operation.SetRifsMode (GetRifsMode ());
operation.SetNonGfHtStasPresent (IsNonGfHtStasPresent ());
if (m_phy->GetChannelWidth () > 20)