equal
deleted
inserted
replaced
81 </p></li> |
81 </p></li> |
82 </ul> |
82 </ul> |
83 |
83 |
84 <h2>Changes to existing API:</h2> |
84 <h2>Changes to existing API:</h2> |
85 <ul> |
85 <ul> |
|
86 <li><b>Wifi TX duration calculation moved from InterferenceHelper to WifiPhy</b> |
|
87 <p>The following static methods have been moved from the InterferenceHelper class to the WifiPhy class: |
|
88 <pre> |
|
89 static Time CalculateTxDuration (uint32_t size, WifiMode payloadMode, enum WifiPreamble preamble); |
|
90 static WifiMode GetPlcpHeaderMode (WifiMode payloadMode, WifiPreamble preamble); |
|
91 static uint32_t GetPlcpHeaderDurationMicroSeconds (WifiMode payloadMode, WifiPreamble preamble); |
|
92 static uint32_t GetPlcpPreambleDurationMicroSeconds (WifiMode payloadMode, WifiPreamble preamble); |
|
93 static uint32_t GetPayloadDurationMicroSeconds (uint32_t size, WifiMode payloadMode); |
|
94 </pre> |
|
95 </p></li> |
86 <li><b>Test cases no longer return a boolean value</b> |
96 <li><b>Test cases no longer return a boolean value</b> |
87 <p>Unit test case DoRun() functions no longer return a bool value. Now, they don't return a value at all. The motivation for this change was to disallow users from merely returning "true" from a test case to force an error to be recorded. Instead, test case macros should be used. |
97 <p>Unit test case DoRun() functions no longer return a bool value. Now, they don't return a value at all. The motivation for this change was to disallow users from merely returning "true" from a test case to force an error to be recorded. Instead, test case macros should be used. |
88 </p></li> |
98 </p></li> |
89 <li><b>PhyMac renamed to GenericPhy</b> |
99 <li><b>PhyMac renamed to GenericPhy</b> |
90 <p>The PhyMac interface previously defined in phy-mac.h has been |
100 <p>The PhyMac interface previously defined in phy-mac.h has been |