equal
deleted
inserted
replaced
92 { |
92 { |
93 TRACE ("got cts for rts snr="<<dataSnr); |
93 TRACE ("got cts for rts snr="<<dataSnr); |
94 m_lastSnr = dataSnr; |
94 m_lastSnr = dataSnr; |
95 } |
95 } |
96 WifiMode |
96 WifiMode |
97 IdealMacStation::GetDataMode (uint32_t size) |
97 IdealMacStation::DoGetDataMode (uint32_t size) |
98 { |
98 { |
99 // We search within the Supported rate set the mode with the |
99 // We search within the Supported rate set the mode with the |
100 // highest snr threshold possible which is smaller than m_lastSnr |
100 // highest snr threshold possible which is smaller than m_lastSnr |
101 // to ensure correct packet delivery. |
101 // to ensure correct packet delivery. |
102 double maxThreshold = 0.0; |
102 double maxThreshold = 0.0; |
113 } |
113 } |
114 } |
114 } |
115 return maxMode; |
115 return maxMode; |
116 } |
116 } |
117 WifiMode |
117 WifiMode |
118 IdealMacStation::GetRtsMode (void) |
118 IdealMacStation::DoGetRtsMode (void) |
119 { |
119 { |
120 // We search within the Basic rate set the mode with the highest |
120 // We search within the Basic rate set the mode with the highest |
121 // snr threshold possible which is smaller than m_lastSnr to |
121 // snr threshold possible which is smaller than m_lastSnr to |
122 // ensure correct packet delivery. |
122 // ensure correct packet delivery. |
123 double maxThreshold = 0.0; |
123 double maxThreshold = 0.0; |