equal
deleted
inserted
replaced
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 } |