Device and method for selectively transmitting data packets during a blocking band

09998380 ยท 2018-06-12

Assignee

Inventors

Cpc classification

International classification

Abstract

A bridge device including first and second queues and a shaper. The shaper receives an indication of a first time corresponding to a beginning of a blocking band and transmits, during a first portion of a transmission interval, a frame of data from the first queue. The transmission interval begins at a second time subsequent to the first time and the blocking band extends from the first time into the first portion of the transmission interval. The shaper blocks a frame of data from the second queue during the blocking band in response to a determination that transmission of the frame of data will not be completed prior to the second time. The shaper transmits the frame of data from the second queue during the blocking band in response to a determination that the transmission of the frame of data will be completed prior to the second time.

Claims

1. A bridge device, comprising: a first queue and a second queue, each of the first queue and the second queue to store respective frames of data to be transmitted from the bridge device; and shaper circuitry to receive an indication of a first time corresponding to a beginning of a blocking band, transmit, during a first portion of a transmission interval, a frame of data from the first queue, wherein the transmission interval begins at a second time subsequent to the first time, and wherein the blocking band extends from the first time into the first portion of the transmission interval, and based on the indication of the first time corresponding to the beginning of the blocking band, block a frame of data from the second queue during the blocking band in response to a determination that transmission of the frame of data from the second queue will not be completed prior to the second time, and transmit the frame of data from the second queue during the blocking band in response to a determination that the transmission of the frame of data from the second queue will be completed prior to the second time, wherein to transmit the frame of data from the second queue during the blocking band, the shaper circuitry is further to (i) determine a size of the frame of data from the second queue, (ii) determine, based on the first time and the second time, a number of clock cycles available prior to the second time, and (iii) selectively transmit the frame of data from the second queue based on the size of the frame of data from the second queue and the number of clock cycles available.

2. The bridge device of claim 1, wherein, to block the frame of data from the second queue during the blocking band, the shaper circuitry is further to (i) determine a size of the frame of data from the second queue, (ii) determine an amount of time remaining until the second time, and (iii) selectively block the frame of data from the second queue based on the size of the frame of data from the second queue and the amount of time remaining until the second time.

3. The bridge device of claim 1, wherein a length of the blocking band corresponds to a maximum frame size to be transmitted during the transmission interval.

4. The bridge device of claim 1, wherein each of the first queue and the second queue has a respective priority level, and wherein the priority level of the first queue is higher than the priority level of the second queue.

5. The bridge device of claim 1, further comprising counter circuitry to store a value corresponding to an amount of time remaining until the second time, wherein the value of the counter circuitry indicates the number of clock cycles available prior to the second time.

6. The bridge device of claim 5, wherein the shaper circuitry is further to, at the first time, initialize the value of the counter circuitry to an initial value, wherein the counter circuitry is further to decrement the value from the initial value, and wherein the shaper circuitry is further to selectively transmit the frame of data from the second queue based on a comparison between (i) a size of the frame of data from the second queue and (ii) the value of the counter circuitry.

7. A bridge device, comprising: a first queue and a second queue, each of the first queue and the second queue to store respective frames of data to be transmitted from the bridge device; and shaper circuitry to receive an indication of a first time corresponding to a beginning of a blocking band, transmit, during a first portion of a transmission interval, a frame of data from the first queue, wherein the transmission interval begins at a second time subsequent to the first time, and wherein the blocking band extends from the first time into the first portion of the transmission interval, and based on the indication of the first time corresponding to the beginning of the blocking band, block a frame of data from the second queue during the blocking band in response to a determination that transmission of the frame of data from the second queue will not be completed prior to the second time, and transmit the frame of data from the second queue during the blocking band in response to a determination that the transmission of the frame of data from the second queue will be completed prior to the second time, wherein the indication of the first time includes a maximum frame size to be transmitted during the transmission interval, and wherein the shaper circuitry is further to calculate the first time based on the maximum frame size, and wherein, to calculate the first time, the shaper circuitry is further to calculate the first time according to a difference between the second time and an amount of time to transmit a data frame having the maximum frame size.

8. A method for operating a bridge device, the method comprising: storing, in each of a first queue and a second queue, respective frames of data to be transmitted from the bridge device; receiving a first time identifying a beginning of a blocking band, transmitting, during a first portion of a transmission interval, a frame of data from the first queue, wherein the transmission interval begins at a second time subsequent to the first time, and wherein the blocking band extends from the first time into the first portion of the transmission interval, and based on the first time identifying the beginning of the blocking band, blocking a frame of data from the second queue during the blocking band in response to a determination that transmission of the frame of data from the second queue will not be completed prior to the second time, and transmitting the frame of data from the second queue during the blocking band in response to a determination that the transmission of the frame of data from the second queue will be completed prior to the second time, wherein transmitting the frame of data from the second queue during the blocking band includes (i) determining a size of the frame of data from the second queue, (ii) determining, based on the first time and the second time, a number of clock cycles available prior to the second time, and (iii) selectively transmitting the frame of data from the second queue based on the size of the frame of data from the second queue and the number of clock cycles available.

9. The method of claim 8, wherein blocking the frame of data from the second queue during the blocking band includes (i) determining a size of the frame of data from the second queue, (ii) determining an amount of time remaining until the second time, and (iii) selectively blocking the frame of data from the second queue based on the size of the frame of data from the second queue and the amount of time remaining until the second time.

10. The method of claim 8, wherein a length of the blocking band corresponds to a maximum frame size to be transmitted during the transmission interval.

11. The method of claim 8, wherein each of the first queue and the second queue has a respective priority level, and wherein the priority level of the first queue is higher than the priority level of the second queue.

12. The method of claim 8, further comprising storing a value corresponding to an amount of time remaining until the second time, wherein the value indicates the number of clock cycles available prior to the second time.

13. The method of claim 12, further comprising, at the first time, initializing the value to an initial value and decrementing the value from the initial value, wherein transmitting the frame of data from the second queue includes transmitting the frame of data from the second queue based on a comparison between (i) a size of the frame of data from the second queue and (ii) the value.

Description

BRIEF DESCRIPTION OF DRAWINGS

(1) FIG. 1 is a functional block diagram of a conventional bridge.

(2) FIG. 2 is a timing diagram illustrating Class A allocated time periods and corresponding periodic transmission time intervals.

(3) FIG. 3 is a timing diagram illustrating blocking bands relative to Class A allocated time periods.

(4) FIG. 4 is a functional block diagram of a non-arbitrary network incorporating bridges in accordance with an embodiment of the present disclosure.

(5) FIG. 5 is a functional block diagram of a bridge of the non-arbitrary network of FIG. 4.

(6) FIGS. 6A-6E illustrate frame size-based data progressions through the bridge in accordance with an embodiment of the present disclosure.

(7) FIG. 7 is a functional block diagram of a time aware shaper in accordance with an embodiment of the present disclosure.

(8) FIG. 8 illustrates a small frame handling method in accordance with an embodiment of the present disclosure.

(9) In the drawings, reference numbers may be reused to identify similar and/or identical elements.

DESCRIPTION

(10) Like IEEE 802.1 Qav, IEEE 802.1 Qbv effectively requires that talkers (network source nodes of data streams) perform per-flow shaping (or pacing) followed by per-class shaping by timing the release of each Qbv frame. A talker may receive data from one or more sources, such as a microphone, a storage device, a digital versatile disc (DVD) player, etc. The talker can perform shaping for each source to insure that each flow of data received from a source is appropriately spaced out, since the flows of data from the sources can (i) end up being received at different listeners (network receive nodes of data streams), and (ii) follow different paths through a network prior to being received at the listeners. Example flow shaping (for example only, according to the IEEE 802.1 Qav standard) is described in U.S. patent application Ser. No. 13/772,908, filed on Feb. 21, 2013.

(11) A transmission interval (i.e., cycle) according to the IEEE Qbv standard begins at a time t.sub.0 and includes a blocking or guard band that begins prior to the time t.sub.0. In some implementations, the blocking band corresponds to a maximum frame size. For example only, the maximum frame size is 1522 bytes or 123.360 sec for Fast Ethernet (FE). During the blocking band of a transmission interval, transmission of frames of data below a certain priority (e.g., non-Class A frames) is blocked to prevent interference with higher priority frames (e.g., Class A frames) transmitted during the beginning of the transmission interval, which overlaps the blocking band. An example implementation of a blocking band is described in U.S. patent application Ser. No. 13/415,112, filed on Mar. 8, 2012.

(12) FIG. 2 shows an example timing diagram 200 for a device that does not implement blocking bands. The timing diagram 200 illustrates Class A allocated time periods or windows and corresponding periodic transmission time intervals. Class A data may be transmitted from a talker within allocated time windows of periodic transmission time intervals. Each allocated time window has a start time t.sub.0. In FIG. 2, two example allocated time windows 204, 208 and corresponding periodic transmission time intervals 212, 216 are shown. Each of the periodic transmission time intervals may be referred to as a cycle. The cycles for the two periodic transmission time intervals 212, 216 are labeled n and n+1.

(13) For example only, requirements for Fast Ethernet may include transmission of eight 128 byte frames every 500 s (periodic transmission time interval). The allocated time window for Class A data (may be referred to as low latency data) within each of the periodic transmission time intervals may be 108.8 s. For eight frames, this may include: time associated with the 128 bytes of data and 22 bytes of overhead data; and/or 20 bytes of time associated with preamble data and an interframe gap (IFG). A 108.8 s burst window provides 391.2 s subsequent to the allocated time windows 204, 208 within each interval 212, 216 for other data (may be referred to as non-low latency data or non-Class A data).

(14) As another example, requirements for Gigabyte Ethernet (GE) may include transmission of thirty-two 256 byte frames every 500 s. The allocated time window for Class A data within each of the periodic transmission time intervals may be 76.288 s. For thirty-two frames, this may include: time associated with the 256 bytes of data and 22 bytes of overhead data; and/or 20 bytes of time associated with preamble data and an IFG. A 76.288 s burst window provides 423.712 s for other data (e.g., non-low latency data).

(15) To satisfy AVB generation 2 requirements, the Class A data is to be transmitted over 5 hops with less than or equal to 100 s of delay for both Fast Ethernet and Gigabyte Ethernet. Although Fast Ethernet and Gigabyte Ethernet are disclosed herein, the implementations disclosed herein may apply to other transmission speeds. Also, although the implementations are primarily described with respect to Ethernet networks, the implementations may be applied to other networks.

(16) FIG. 3 shows an example timing diagram 300 for a device that implements blocking bands. The timing diagram 300 is shown illustrating blocking windows relative to Class A allocated time periods. In order to prevent interference with Class A data, blocking windows may be used to prevent transmission of frames having a determined size. The size may be predetermined or determined based on information provided to the device.

(17) As shown in FIG. 3, two blocking bands 304, 308 relative to transmission time of the eight blocks of data 1-8 are shown. The first blocking band 304 is associated with a minimum size interference frame (e.g., 256 bytes). The second blocking band 308 is associated with a maximum interference size frame (e.g., 1500 bytes). The first blocking band 304 includes time MINT (e.g., 23.84 s) to transmit the minimum size frame and a time to transmit at least seven of the Class A frames and a portion of an eighth Class A frame. The second blocking band 308 includes time MAXT (e.g., 123.36 s) to transmit the maximum size frame and a time to transmit at least seven of the Class A frames (or the number of Class A frames minus one) and a portion of the eighth (or last) Class A frame. The blocking bands 304, 308 may not extend to an end of the Class A burst period to minimize a delay from when non-Class A data is permitted to pass (no longer blocked) and a time when the non-Class A data is actually forwarded from a respective queue within the device.

(18) Each blocking band provides a corresponding margin period (e.g., Margin.sub.Min, Margin.sub.Max). Non-Class A frames that are less than or equal to the minimum size frame may be transmitted during the margin period Margin.sub.Min (e.g., 367.36 s). Non-Class A frames that are less than or equal to the maximum size frame may be transmitted during the margin period Margin.sub.Max (e.g., 267.84 s). These margins provide boundaries upon which transmission determinations of other traffic or non-Class A frames including frames of a maximum size (e.g., 1522 bytes) may be based.

(19) In this manner, non-Class A frames that do not begin transmission prior to the start of the blocking band are prevented from being transmitted during the blocking band to ensure that any Class A frames can be transmitted at t.sub.0. For example purposes only, if the blocking band 308 is implemented to account for a maximum size interference frame, the blocking band 308 may begin at a time t.sub.b. Accordingly, if transmission of any (non-Class A) maximum size interference frames has not begun by the time t.sub.b, then no data is transmitted from t.sub.b to t.sub.0, and transmission of Class A frames can begin without interference at t.sub.0.

(20) A device according to the principles of the present disclosure (e.g., an 802.1 Qbv device) includes a bridge implementing time aware shaping. The device is provided with a time corresponding to a start of the blocking band (e.g., t.sub.0123.360 sec, or t.sub.b). After the start of the blocking band, the bridge selectively permits transmission of non-Class A frames during a remainder of the blocking band provided that transmission of the non-Class A frames can be completed prior to t.sub.0.

(21) In FIG. 4, a non-arbitrary network 400 is shown. The non-arbitrary network 400 includes one or more talkers (three talkers 404, 408, and 412 are shown), one or more bridges (two bridges 416, 420 are shown) and a listener 424. The talkers 404, 408, 412 may be referred to as a source, as the talkers transmit data to the listener 424. The listener 424 may be referred to as a receiver, as the listener 424 receives data from the talkers 404, 408, 412. The talkers 404, 408, 412 and bridges 416, 420 may each include respective egress modules 428, 432, 436, 440, 444. The bridges 416, 420 may satisfy IEEE 802.1 AS, which provides precise timing protocols (PTPs). The bridges 416, 420 provide a daisy chain of network devices between end stations (e.g., the talkers 404, 408, 412 and the listener 424). Each of the egress modules 428, 432, 436, 440, 444 may include respective shapers 448, 452, 456, 460, 464 and/or timing modules 468, 472, 476, 480, 484.

(22) The shapers 448, 452, 456, 460, 464 may include blocking shapers and/or deblocking shapers. The blocking shapers may include time-unaware blocking shapers and time aware blocking shapers (TABSs). The time aware blocking shapers operate based on a global clock signal generated by a grand master clock 488. The grand master clock 488 may be located in any of the network devices of the network 400. The global clock signal may be shared with any of the network devices in the network 400. As an example, the grand master clock 488 is shown in the second talker 408, but may be located in one of the other talkers 404, 412, one of the bridges 416, 420, the listener 424, or other network device connected to the network 400.

(23) The time aware blocking shapers may delay a transmission start of non-highest priority data (e.g., non-Class A data or Class B data and/or non-AVB data). This delay may be performed based on transmission timing of the highest priority data (e.g., Class A data). Transmission timing of the Class A and non-Class A data may be provided by the timing modules 468, 472, 476, 480, 484, which generate priority timing signals. Each priority timing signal may indicate a window in which corresponding data is permitted or not permitted to be transmitted. The priority timing signals generated for non-Class A data (or Class B data and/or unprotected data) may be generated based on an allocated time period in each periodic transmission time interval. The highest priority data (Class A data) is transmitted in each of the allocated time periods. This insures that an output of an egress module is idle such that Class A bursts are not interfered with by transmission of other data (non-highest priority data).

(24) The network device that includes the grand master clock 488 or one of the other network devices in the network 400 may include a time management module 492. The network device having the grand master clock 488 and/or the time management module 492 may be referred to as a master device. Devices not having the grand master clock 488 and/or the time management module 492 may be referred to as slave devices. The time management module 492 may include the grand master clock 488 and/or a time interval module 496. The time interval module 496 may set the periodic transmission time interval (i.e. duration of the periodic transmission time interval) and a start time t.sub.0 of each of the periodic transmission time intervals. The global clock signal, the periodic transmission time interval and the start time t.sub.0 of the periodic transmission time intervals may be shared between the network devices using a management information base (MIB) modules and/or a simple management network protocols (SMNPs). The time interval module 496 may also set, and share, a blocking band duration and/or a start time t.sub.b of the blocking band.

(25) The talkers 404, 408, 412, bridges 416, 420, and/or listener 424 may communicate with each other via wired or wireless connections and/or mediums. The wireless connections and/or mediums may satisfy, for example, IEEE standards 802.11, 802.11a, 802.11b, 802.11g, 802.11h, 802.11n, 802.16, and 802.20.

(26) In FIG. 5, an example device (e.g., a bridge) 500 is shown. The bridge 500 may be one of the bridges 416, 420 of FIG. 4. The bridge 500 includes an ingress module 504 with memory 508, a Class A queue 512, a Class B queue 516, a first non-AVB queue 520, a second non-AVB queue 524, a multiplexer 528, and an output port 532. The first non-AVB queue 520 may store management data and the second non-AVB queue 524 may store legacy data. The bridge 500 may include frame size-based blocking shapers 536, which include time aware shapers, between respective ones of the queues 512-524 and the multiplexer 528.

(27) In FIGS. 6A-6E, frame size-based data progressions through the bridge 500 are shown. In FIG. 6A, a state of the bridge 500 is shown at time t.sub.0 minus, for example, 16 s or 16 s prior to a Class A burst period. The time t.sub.0 refers to a start time of the Class A burst period. Class B frames 540 are stored in the Class B queue 516. Management frames n, m are stored in the first non-AVB queue 520. Legacy frames 544 are stored in the second non-AVB queue 524. The Class B frames 540 may be gated (or shaped) and prevented from being transmitted at time t.sub.0 minus 16 s. As a result, the management frame n may begin to be transmitted from the bridge 500.

(28) In FIG. 6B, a state of the bridge 500 is shown at time t.sub.0 minus, for example, 3.664 s. At this time, transmission of the management frame n from the bridge 500 is completed. The 3.664 s is equal to the 16 s minus 12.336 s for the management frame n to be transmitted. At this time, the Class B frames may be ready to transmit and have credits to transmit two frames. A time to transmit a frame of 300 bytes of Class B data is 2.56 s (includes 20 bytes of preamble and/or IFG time). Since there is 3.664 s remaining before time t.sub.0, one frame is permitted to be transmitted. The other Class B frame that is ready to be transmitted is blocked.

(29) In FIG. 6C, a state of the bridge 500 is shown at time t.sub.0 minus, for example, 1.104 s. Since there is 1.104 s before time t.sub.0, the Class B frames 540 and the second non-AVB frame m are blocked. The Legacy frames 544 may be, for example, 64 bytes in length. A time to transmit one of the Legacy frames 544 including 20 bytes of preamble and IFG time is 0.672 s, which is less than the 1.104 s. For this reason, one of the Legacy frames 544 is permitted to pass to the multiplexer 528.

(30) In FIG. 6D, a state of the bridge 500 at time t.sub.0 minus, for example, 0.432 s is shown. As time remaining to t.sub.0 is less than 0.672 s, the remaining frames are blocked. This allows the output port 532 to be idle at t.sub.0. Class A frames 548 may arrive at an input of the bridge 500. In FIG. 6E, The Class A frames 548 are permitted to be stored in the Class A queue 512 and be transmitted from the bridge 500 without interference from the frames stored in the other queues 516, 520, 524. The time aware blocking shapers may release (i.e. no longer block) the Class B queue 516 and the non-AVB queues 520, 524 subsequent to a predetermined period after time t.sub.0. The queues 516, 520, 524 may be released, since a selector module (e.g., as shown in FIG. 1) prevents selection of these queues when data is in the Class A queue 512 and is being transmitted out the output port 532. For this reason, the burst of the Class A frames continues until no more Class A frames are stored in the Class A queue 512. Frames in queues 516, 520, 524 may be transmitted when the Class A queue 512 is emptied.

(31) By using time aware blocking shapers for each of the non-Class A queues 516, 520, 524, such that the output port 532 is idle at time t.sub.0 (start of Class A burst) and by accounting for head-of-line sizes of frames in the non-Class A queues 516, 520, and 524, efficient use of time is provided. Non-Class A frames that can be transmitted prior to time t.sub.0 are transmitted based on priority.

(32) For example, in addition to the periodic transmission time interval, the start time t.sub.0 of each of the periodic transmission intervals, and/or a global clock signal, the bridge 500 may be provided with data indicative of a start time t.sub.b of the blocking band. For example, the data indicative of the start time t.sub.b of the blocking band may include the maximum frame size (e.g., 1522 bytes) or the actual start time t.sub.b of the blocking band. For example only, another device in the network 400 as shown in FIG. 4 may provide the periodic transmission time interval, the start time t.sub.0 of each of the periodic transmission intervals, the global clock signal, and the maximum frame size. Each of the time aware shapers 536 may be programmed with the maximum frame size and therefore be aware of the start time t.sub.b of the blocking band since t.sub.b corresponds to t.sub.0the time to transmit the maximum frame size. Accordingly, at the time t.sub.b, each of the time aware shapers 536 is aware of a remaining time before t.sub.0 and may selectively allow frames from the non-Class A queues 516, 520, and 524 that can be transmitted in the remaining time.

(33) FIG. 7 shows an example time aware shaper 600. The shaper 600 includes a queue management module 604 that communicates with a corresponding queue 608. For example, the queue 608 corresponds to one of the non-Class A queues 516, 520, and 524. The queue management module 604 is provided with (e.g., may store or may be programmed with) data indicative of a start time t.sub.b of the blocking band, such as a maximum frame size. The queue management module 604 is also provided with the start time t.sub.0 of a transmission interval. Accordingly, the queue management module 604 is configured to determine the start time t.sub.b of the blocking band based on t.sub.0 and the maximum frame size.

(34) Each shaper 600 may include a counter 612 that communicates with the queue management module 604. Additionally or alternatively, the bridge 500 as shown in FIGS. 6A-6E may include the counter 612, which communicates with multiple shapers 600. At the time tb, the counter 612 is initialized with a value corresponding to the remaining time before t0. The queue management module 604 initializes the counter 612 at t.sub.b. For example, the initial value of the counter 612 may correspond to an amount of data that can be transmitted in the remaining time (e.g., 1522 bytes), or an amount of time or clock cycles. For example only, the time may correspond to a difference between respective absolute or time of day times at t.sub.b and t.sub.0. In various implementations, the value of the counter 612 may correspond to a byte count (i.e., a number of bytes able to be transmitted in the remaining time before t.sub.0), a number of clock cycles (i.e., a number of clock cycles of a local or global clock until t.sub.0), and/or a difference between a current absolute time and an absolute time at t.sub.0.

(35) As the remaining time before t.sub.0 decreases (i.e., as a time gets closer to t.sub.0), the counter 612 decreases. In other words, as a time approaches the time t.sub.0, less remaining time is available for transmission of a non-Class A frame. Accordingly, each queue management module 604 monitors head-of-line sizes of frames in the corresponding queue 608 to determine whether the head-of-line frame can be transmitted in the remaining time before t0. For example only, the value of the counter 612 may decrease according to a global clock signal or a local clock signal. If the value of the counter 612 is an amount of data (e.g., a byte count), then the byte count may decrement by 1 byte for each time period corresponding to a time needed to transmit 1 byte.

(36) If an available head-of-line frame (plus any additional processing overhead) is smaller than an amount of data corresponding to the remaining time (e.g., the byte count indicated by the counter 612), then the queue management module 604 allows the frame to pass to multiplexer 616. For example, the queue management module 604 may compare the value of the counter 612 to the head-of-line frame size and allow the frame if the head-of-line frame size is less than the value of the counter 612. After the frame is transmitted, each shaper 500 repeats the comparison with a next head-of-line frame and the remaining time indicated by the value of the counter 612 until no remaining frame sizes are less than the remaining time. In some implementations, the shaper 600 may allow frames other than head-of-line frames if the frames have a size smaller than the remaining time. In other words, the shaper 600 may allow frames to be passed to the multiplexer 616 out of order.

(37) In this manner, the queue management module 604 is configured to determine, using the time t.sub.0 and the maximum frame size or other data indicative of a size of the blocking band, a start time t.sub.b of the blocking band and a remaining time/clock cycles/byte count between the start time t.sub.b and the time t.sub.0. The queue management module 604 initializes the counter 612 with a value corresponding to the remaining time/clock cycles/byte count and selectively allows a frame to be transmitted during the blocking band if the size of the frame is less than a frame size indicated by the value of the counter 612.

(38) FIG. 8 shows a small frame handling method 700. The small frame handling method starts at 704. For example, a small frame may correspond to any frame that is smaller than a maximum frame size, although other thresholds for defining a small frame may be used (e.g., less than a predetermined percentage of the maximum frame size). At 708, the method 700 receives a time t.sub.0 indicating a start of a transmission interval and the maximum frame size. At 712, the method 700 determines a start time t.sub.b of a blocking band based on the time t.sub.0 and the maximum frame size. At 716, the method 700 initializes a value of a counter at the start time t.sub.b. For example, in some implementations, the value of the counter can correspond to a byte count, a number of clock cycles, or a time. At 720, the method 700 begins to decrement the value of the counter. At 724, the method 700 determines whether a head-of-line frame size is less than the value of the counter. If the value of the counter does not correspond to a byte count (e.g., the value of the counter corresponds to a time or a number of clock cycles), then the method 700 may first convert the head-of-line frame size to a time or number of clock cycles needed to transmit the head-of-line frame. If true, the method 700 continues to 728. If false, the method 700 continues to 732. At 728, the method 700 transmits the head-of-line frame. The method 700 ends at 732.

(39) The wireless communications described in the present disclosure can be conducted in full or partial compliance with IEEE standard 802.11-2012, IEEE standard 802.16-2009, IEEE standard 802.20-2008, and/or Bluetooth Core Specification v4.0. In various implementations, Bluetooth Core Specification v4.0 may be modified by one or more of Bluetooth Core Specification Addendums 2, 3, or 4. In various implementations, IEEE 802.11-2012 may be supplemented by draft IEEE standard 802.11ac, draft IEEE standard 802.11ad, and/or draft IEEE standard 802.11ah.

(40) The foregoing description is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. The broad teachings of the disclosure can be implemented in a variety of forms. Therefore, while this disclosure includes particular examples, the true scope of the disclosure should not be so limited since other modifications will become apparent upon a study of the drawings, the specification, and the following claims. As used herein, the phrase at least one of A, B, and C should be construed to mean a logical (A or B or C), using a non-exclusive logical OR. It should be understood that one or more steps within a method may be executed in different order (or concurrently) without altering the principles of the present disclosure.

(41) Further aspects of the present disclosure relate to one or more of the following clauses.

(42) A network device includes a plurality of queues, each of the plurality of queues configured to store respective frames of data having a priority level associated with a corresponding one of the plurality of queues. The network device includes a shaper configured to transmit, during a first portion of a transmission interval, frames of data from a first one of the plurality of queues having a highest priority level, block frames of data from a second one of the plurality of queues during a blocking band extending from a first time prior to a start of the transmission interval to a second time indicating the start of the transmission interval, determine, based on the second time and a maximum frame size to be transmitted during the transmission interval, the second time, and selectively transmit, subsequent to the first time and prior to the second time, frames of data from the second one of the plurality of queues based on the second time.

(43) In other aspects of the network device, the shaper is configured to determine a size of a next one of the frames of data from the second one of the plurality of queues and selectively transmit the next one of the frames of data based on the size of the next one of the frames of data and the second time. The shaper may be configured to determine a size of a next one of the frames of data from the second one of the plurality of queues, determine an amount of time needed to transmit that next one of the frames of data based on the size, and selectively transmit the next one of the frames of data based on the amount of time and the second time. The shaper may be configured to determine a size of a next one of the frames of data from the second one of the plurality of queues, determine, based on the first time and the second time, a number of bytes that can be transmitted prior to the second time, and selectively transmit the next one of the frames of data based on the number of bytes and the size of the next one of the frames of data.

(44) In other aspects of the network device, the shaper is configured to determine a size of a next one of the frames of data from the second one of the plurality of queues, determine, based on the first time and the second time, a number of clock cycles available prior to the second time, and selectively transmit the next one of the frames of data based on the size of the next one of the frames of data and the number of clock cycles available. The network device further includes a counter configured to store a value corresponding to a remaining time after the first time and prior to the second time. The value of the counter may correspond to a number of bytes that can be transmitted in the remaining time, the value of the counter may correspond to a number of clock cycles available prior to the second time, or the value may correspond to a difference between a first absolute time associated with the first time and a second absolute time associated with the second time.

(45) In other aspects of the network device, the shaper is configured to initialize the value of the counter at the first time. The counter is configured to decrement the value of the counter from the initial value of the counter. The shaper is configured to selectively transmit a next one of the frames of data from the second one of the plurality of queues based on a comparison between a size of the next ones of the frames of data and the value of the counter.

(46) A method of operating a network device includes storing, in a plurality of queues, respective frames of data having a priority level associated with a corresponding one of the plurality of queues, transmitting, during a first portion of a transmission interval, frames of data from a first one of the plurality of queues having a highest priority level, blocking frames of data from a second one of the plurality of queues during a blocking band extending from a first time prior to a start of the transmission interval to a second time indicating the start of the transmission interval, determining, based on the second time and a maximum frame size to be transmitted during the transmission interval, the first time and selectively transmitting, subsequent to the first time and prior to the second time, frames of data from the second one of the plurality of queues based on the second time.

(47) In other aspects, the method further includes determining a size of a next one of the frames of data from the second one of the plurality of queues and selectively transmitting the next one of the frames of data based on the size of the next one of the frames of data and the second time.

(48) In other aspects, the method further includes determining a size of a next one of the frames of data from the second one of the plurality of queues, determining an amount of time needed to transmit that next one of the frames of data based on the size, and selectively transmitting the next one of the frames of data based on the amount of time and the second time.

(49) In other aspects, the method further includes determining a size of a next one of the frames of data from the second one of the plurality of queues, determining, based on the first time and the second time, a number of bytes that can be transmitted prior to the second time; and selectively transmitting the next one of the frames of data based on the number of bytes and the size of the next one of the frames of data.

(50) In other aspects, the method further includes determining a size of a next one of the frames of data from the second one of the plurality of queues, determining, based on the first time and the second time, a number of clock cycles available prior to the second time, and selectively transmitting the next one of the frames of data based on the size of the next one of the frames of data and the number of clock cycles available.

(51) In other aspects, the method further includes storing a value corresponding to a remaining time after the first time and prior to the second time. The value may correspond to a number of bytes that can be transmitted in the remaining time, the value may correspond to a number of clock cycles available prior to the second time, or the value may correspond to a difference between a first absolute time associated with the first time and a second absolute time associated with the second time.

(52) In other aspects, the method further includes initializing the value at the first time, decrementing the value from the initial value, and selectively transmitting a next one of the frames of data from the second one of the plurality of queues based on a comparison between a size of the next ones of the frames of data and the value.

(53) In this application, including the definitions below, the term module may be replaced with the term circuit. The term module may refer to, be part of, or include an Application Specific Integrated Circuit (ASIC); a digital, analog, or mixed analog/digital discrete circuit; a digital, analog, or mixed analog/digital integrated circuit; a combinational logic circuit; a field programmable gate array (FPGA); a processor (shared, dedicated, or group) that executes code; memory (shared, dedicated, or group) that stores code executed by a processor; other suitable hardware components that provide the described functionality; or a combination of some or all of the above, such as in a system-on-chip.

(54) The term code, as used above, may include software, firmware, and/or microcode, and may refer to programs, routines, functions, classes, and/or objects. The term shared processor encompasses a single processor that executes some or all code from multiple modules. The term group processor encompasses a processor that, in combination with additional processors, executes some or all code from one or more modules. The term shared memory encompasses a single memory that stores some or all code from multiple modules. The term group memory encompasses a memory that, in combination with additional memories, stores some or all code from one or more modules. The term memory may be a subset of the term computer-readable medium. The term computer-readable medium does not encompass transitory electrical and electromagnetic signals propagating through a medium, and may therefore be considered tangible and non-transitory. Non-limiting examples of a non-transitory tangible computer readable medium include nonvolatile memory, volatile memory, magnetic storage, and optical storage.

(55) The apparatuses and methods described in this application may be partially or fully implemented by one or more computer programs executed by one or more processors. The computer programs include processor-executable instructions that are stored on at least one non-transitory tangible computer readable medium. The computer programs may also include and/or rely on stored data.