17 | | 2. In the second 20 seconds, the STA node starts a backlogged traffic source directed at the AP. During this time, the AP's existing traffic flow is left on, so both the AP and the STA are contending for the medium. |
18 | | 3. In the final 20 seconds, the STA node disables its traffic source and only the AP continues to contend for the medium. |
| 17 | 1. In the second 20 seconds, the STA node starts a backlogged traffic source directed at the AP. During this time, the AP's existing traffic flow is left on, so both the AP and the STA are contending for the medium. |
| 18 | 1. In the final 20 seconds, the STA node disables its traffic source and only the AP continues to contend for the medium. |
| 58 | The above figure shows a small slice of the capture from Wireshark. It shows the end of a reservation period of the AP followed by the token offer and token response handshake. Because these frames are not standard, Wireshark does not natively know how to extract any information from these frames. Instead, it displays the subtype of "17" for the token offer and "18" for the token response. Recall from [wiki:802.11/wlan_exp/app_notes/tutorial_token_mac/CPU_LOW#NoMAC the CPU_LOW alteration] section the following definitions: |
| 59 | |
| 60 | {{{ |
| 61 | #!c |
| 62 | |
| 63 | #define MAC_FRAME_CTRL1_SUBTYPE_TOKEN_OFFER (MAC_FRAME_CTRL1_TYPE_CTRL | 0x10) |
| 64 | #define MAC_FRAME_CTRL1_SUBTYPE_TOKEN_RESPONSE (MAC_FRAME_CTRL1_TYPE_CTRL | 0x20) |
| 65 | }}} |
| 66 | |
| 67 | Wireshark computes the "Type/Subtype" value as an 8 bit value, where the 4 LSB is the Type (Control = 0x1) and the 4 MSB is the Subtype (Token Offer = 0x10). This is why these types show up as "17" and "18" in Wireshark. |
| 68 | |
| 69 | You can download the Wireshark PCAP file from this experiment here: [http://warpproject.org/dl/app-notes/tokenmac_capture.zip tokenmac_capture.zip (1.7 MB)] |