src/mesh/model/dot11s/airtime-metric.cc
changeset 10218 97da49da2d6c
parent 10139 17a71cd49da3
child 10410 4d4eb8097fa3
equal deleted inserted replaced
10217:1eee1a24836d 10218:97da49da2d6c
    44                     UintegerValue (0),
    44                     UintegerValue (0),
    45                     MakeUintegerAccessor (
    45                     MakeUintegerAccessor (
    46                       &AirtimeLinkMetricCalculator::SetHeaderTid),
    46                       &AirtimeLinkMetricCalculator::SetHeaderTid),
    47                     MakeUintegerChecker<uint8_t> (0)
    47                     MakeUintegerChecker<uint8_t> (0)
    48                     )
    48                     )
    49     .AddAttribute ( "Dot11sMeshHeaderLength",
       
    50                     "Length of the mesh header",
       
    51                     UintegerValue (6),
       
    52                     MakeUintegerAccessor (
       
    53                       &AirtimeLinkMetricCalculator::m_meshHeaderLength),
       
    54                     MakeUintegerChecker<uint16_t> (0)
       
    55                     )
       
    56   ;
    49   ;
    57   return tid;
    50   return tid;
    58 }
    51 }
    59 AirtimeLinkMetricCalculator::AirtimeLinkMetricCalculator () :
    52 AirtimeLinkMetricCalculator::AirtimeLinkMetricCalculator ()
    60   m_overheadNanosec (0)
       
    61 {
    53 {
    62 }
    54 }
    63 void
    55 void
    64 AirtimeLinkMetricCalculator::SetHeaderTid (uint8_t tid)
    56 AirtimeLinkMetricCalculator::SetHeaderTid (uint8_t tid)
    65 {
    57 {