Skip to content

Commit

Permalink
wifi: Handle block ack type for GCR
Browse files Browse the repository at this point in the history
  • Loading branch information
sderonne committed Nov 28, 2024
1 parent 59d902f commit 097ae8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wifi/model/block-ack-agreement.cc
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ BlockAckAgreement::GetBlockAckType() const
auto it = lengths.lower_bound(m_bufferSize);
NS_ASSERT_MSG(it != lengths.cend(), "Buffer size too large: " << m_bufferSize);
// Multi-TID Block Ack is not currently supported
return {BlockAckType::COMPRESSED, {static_cast<uint8_t>(*it / 8)}};
return {m_gcrGroupAddress ? BlockAckType::GCR : BlockAckType::COMPRESSED,
{static_cast<uint8_t>(*it / 8)}};
}

BlockAckReqType
Expand Down

0 comments on commit 097ae8f

Please sign in to comment.