wifi: Handle block ack type for GCR

This commit is contained in:
Sébastien Deronne
2023-10-14 17:12:38 +02:00
parent 59d902f474
commit 097ae8f667

View File

@@ -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