Add ResetBitmap method to block ack response header
This commit is contained in:
@@ -707,4 +707,10 @@ CtrlBAckResponseHeader::GetCompressedBitmap (void) const
|
||||
return bitmap.m_compressedBitmap;
|
||||
}
|
||||
|
||||
void
|
||||
CtrlBAckResponseHeader::ResetBitmap (void)
|
||||
{
|
||||
memset (&bitmap, 0, sizeof (bitmap));
|
||||
}
|
||||
|
||||
} //namespace ns3
|
||||
|
||||
@@ -116,6 +116,8 @@ public:
|
||||
void SetStartingSequenceControl (uint16_t seqControl);
|
||||
const uint16_t* GetBitmap (void) const;
|
||||
uint64_t GetCompressedBitmap (void) const;
|
||||
|
||||
void ResetBitmap (void);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user