src/wave/model/ocb-wifi-mac.cc
changeset 11426 e2441f5f2c55
parent 11330 995dac2d45cd
equal deleted inserted replaced
11425:25285387c6ce 11426:e2441f5f2c55
   188       // Fill in the QoS control field in the MAC header
   188       // Fill in the QoS control field in the MAC header
   189       tid = QosUtilsGetTidForPacket (packet);
   189       tid = QosUtilsGetTidForPacket (packet);
   190       // Any value greater than 7 is invalid and likely indicates that
   190       // Any value greater than 7 is invalid and likely indicates that
   191       // the packet had no QoS tag, so we revert to zero, which'll
   191       // the packet had no QoS tag, so we revert to zero, which'll
   192       // mean that AC_BE is used.
   192       // mean that AC_BE is used.
   193       if (tid >= 7)
   193       if (tid > 7)
   194         {
   194         {
   195           tid = 0;
   195           tid = 0;
   196         }
   196         }
   197       hdr.SetQosTid (tid);
   197       hdr.SetQosTid (tid);
   198     }
   198     }