Bug 2320

Summary: Add method to check whether a WifiTxVector contains a valid combination of WifiMode, number of spatial streams and channel width
Product: ns-3 Reporter: Matías Richart <matis18>
Component: wifiAssignee: sebastien.deronne
Status: RESOLVED FIXED    
Severity: enhancement CC: ns-bugs
Priority: P5    
Version: pre-release   
Hardware: All   
OS: All   
Attachments: Patch to add method WifiPhy::IsValidTxVector

Description Matías Richart 2016-03-01 18:23:59 UTC
Created attachment 2318 [details]
Patch to add method WifiPhy::IsValidTxVector

The 802.11ac standard has several MCS values that are listed as "Not valid".
A list of invalid combinations can be found here http://chimera.labs.oreilly.com/books/1234000001739/ch02.html#table-phy-invalid-mcs

This methods check for the validity of WifiTxVector.
It is necessary for rate control algorithms to avoid this invalid combinations.
Comment 1 sebastien.deronne 2016-03-04 16:35:14 UTC
+1
I did not check the combinations in detail, but it looks ok.
Comment 2 sebastien.deronne 2016-03-09 16:00:23 UTC
pushed in changeset 11999:50fa1325ca2b