src/devices/wifi/ideal-mac-stations.cc
changeset 2269 06c660ffc070
parent 2268 0e57ac711220
equal deleted inserted replaced
2268:0e57ac711220 2269:06c660ffc070
    91 IdealMacStation::ReportDataOk (double ackSnr, WifiMode ackMode, double dataSnr)
    91 IdealMacStation::ReportDataOk (double ackSnr, WifiMode ackMode, double dataSnr)
    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 void 
       
    97 IdealMacStation::ReportFinalRtsFailed (void)
       
    98 {}
       
    99 void 
       
   100 IdealMacStation::ReportFinalDataFailed (void)
       
   101 {}
       
   102 
    96 WifiMode
   103 WifiMode
    97 IdealMacStation::DoGetDataMode (uint32_t size)
   104 IdealMacStation::DoGetDataMode (uint32_t size)
    98 {
   105 {
    99   // We search within the Supported rate set the mode with the 
   106   // We search within the Supported rate set the mode with the 
   100   // highest snr threshold possible which is smaller than m_lastSnr 
   107   // highest snr threshold possible which is smaller than m_lastSnr