Introduction to IEEE 802.11's MAC Sub-layer Frame StructureBesides defining access control and resource sharing capabilities for multiple stations contending for a common LAN medium, one of the other key operations performed by the Data Link layer is known as "framing," which is the process of encapsulating the higher-layer protocol packet (which may or may not be a Network layer protocol packet) in a set of Data Link layer headers, and appending a Data Link layer trailer, which is often simply an error-detecting sequence. The Data Link layer header will include at least the following items:
Another common Data Link layer header element is a "type" or "protocol" field that indicates which kind of higher-layer packet is embedded in the frame, but strictly speaking, this is an LLC sub-layer[20] function, and IEEE 802.11 only specifies a MAC sub-layer protocol. In fact, the IEEE 802.3 standard specifies two versions of Ethernet, wherein one variety interprets the two-octet field following the MAC-SA field as a "Type", and the other variety of the Ethernet header interprets this two-octet field as a "Length" value, which pushes the higher-layer protocol demultiplexing tasks up to the LLC sub-layer.
The LLC sub-layer protocol provides a form of demultiplexing for higher layer protocols via its two one-octet Destination and Source Service Access Point (DSAP and SSAP) fields. Due to the LLC sub-layer protocol's limited number of SAP values, there is another protocol in the LLC sub-layer known as the Subnetwork Access Protocol (SNAP), which has a full two-octet Type field and is layered on top of the LLC protocol. SNAP also has an OUI field, which means that everyone who acquires an OUI has access to the complete set of 216 (i.e., 65,536) Type values, while setting the OUI to 0x000000 causes the Type field to be interpreted as if it were the Ethernet Type field. IEEE 802.11 MAC Sub-layer Protocol's IdiosyncrasiesOne cannot avoid comparing IEEE 802.11 to Ethernet. On one hand, Ethernet is the best-known example of a LAN technology, so it is a logical basis for comparison, and on the other hand, IEEE 802.11 is sometimes misleadingly referred to as "wireless Ethernet." The latter moniker is genuinely misleading. Other than the fact that IEEE 802.3 and IEEE 802.11 both define MAC sub-layer protocols and their associated PHYs, there is almost nothing in common between IEEE 802.3 and IEEE 802.11.
|