Medium access control

Short description: Service layer in IEEE 802 network standards

OSI model
by layer

7. Application layer

* NNTP
* SIP
* SSI
* DNS
* FTP
* Gopher
* HTTP
* NFS
* NTP
* SMPP
* SMTP
* SNMP
* Telnet
* DHCP
* Netconf
* more....

6. Presentation layer

* MIME
* XDR
* ASN.1

5. Session layer

* Named pipe
* NetBIOS
* SAP
* PPTP
* RTP
* SOCKS
* SPDY

4. Transport layer

* TCP
* UDP
* SCTP
* DCCP
* SPX

3. Network layer

* IP
* IPv4
* IPv6
* ICMP
* IPsec
* IGMP
* IPX
* AppleTalk
* X.25 PLP

2. Data link layer

* ATM
* ARP
* IS-IS
* SDLC
* HDLC
* CSLIP
* SLIP
* GFP
* PLIP
* IEEE 802.2
* LLC
* MAC
* L2TP
* IEEE 802.3
* Frame Relay
* ITU-T G.hn DLL
* PPP
* X.25 LAPB
* Q.922 LAPF

1. Physical layer

* EIA/TIA-232
* EIA/TIA-449
* ITU-T V-Series
* I.430
* I.431
* PDH
* SONET/SDH
* PON
* OTN
* DSL
* IEEE 802.3
* IEEE 802.11
* IEEE 802.15
* IEEE 802.16
* IEEE 1394
* ITU-T G.hn PHY
* USB
* Bluetooth
* RS-232
* RS-449

* v
* t
* e

Internet protocol suite

Application layer

* BGP
* DHCP
* DNS
* FTP
* HTTP
* HTTPS
* IMAP
* LDAP
* MGCP
* MQTT
* NNTP
* NTP
* POP
* ONC/RPC
* RTP
* RTSP
* RIP
* SIP
* SMTP
* SNMP
* SSH
* Telnet
* TLS/SSL
* XMPP
* more...

Transport layer

* TCP
* UDP
* DCCP
* SCTP
* RSVP
* QUIC
* more...

Internet layer

* IP
* IPv4
* IPv6
* ICMP
* ICMPv6
* ECN
* IGMP
* IPsec
* more...

Link layer

* ARP
* NDP
* OSPF
* Tunnels
* L2TP
* PPP
* MAC
* Ethernet
* Wi-Fi
* DSL
* ISDN
* FDDI

* more...

* v
* t
* e

In IEEE 802 LAN/MAN standards, the medium access control (MAC), also called media access control, is the layer that controls the hardware responsible for interaction with the wired (electrical or optical) or wireless transmission medium. The MAC sublayer and the logical link control (LLC) sublayer together make up the data link layer. The LLC provides flow control and multiplexing for the logical link (i.e. EtherType, 802.1Q VLAN tag etc), while the MAC provides flow control and multiplexing for the transmission medium.

These two sublayers together correspond to layer 2 of the OSI model. For compatibility reasons, LLC is optional for implementations of IEEE 802.3 (the frames are then "raw"), but compulsory for implementations of other IEEE 802 physical layer standards. Within the hierarchy of the OSI model and IEEE 802 standards, the MAC sublayer provides a control abstraction of the physical layer such that the complexities of physical link control are invisible to the LLC and upper layers of the network stack. Thus any LLC sublayer (and higher layers) may be used with any MAC. In turn, the medium access control block is formally connected to the PHY via a media-independent interface. Although the MAC block is today typically integrated with the PHY within the same device package, historically any MAC could be used with any PHY, independent of the transmission medium.

When sending data to another device on the network, the MAC sublayer encapsulates higher-level frames into frames appropriate for the transmission medium (i.e. the MAC adds a syncword preamble and also padding if necessary), adds a frame check sequence to identify transmission errors, and then forwards the data to the physical layer as soon as the appropriate channel access method permits it. For topologies with a collision domain (bus, ring, mesh, point-to-multipoint topologies), controlling when data is sent and when to wait is necessary to avoid collisions. Additionally, the MAC is also responsible for compensating for collisions by initiating retransmission if a jam signal is detected. When receiving data from the physical layer, the MAC block ensures data integrity by verifying the sender's frame check sequences, and strips off the sender's preamble and padding before passing the data up to the higher layers.

Multiplexing

Error creating thumbnail: convert-im6.q16: width or height exceeds limit `/tmp/magick-5MqR32fQg_dBJglxKCfgeIvA8KSpRDch' @ error/cache.c/OpenPixelCache/3909. convert-im6.q16: no images defined `PNG:/tmp/transform_982b3a672de8.png' @ error/convert.c/ConvertImageCommand/3229.

Analog modulation

* AM
* FM
* PM
* QAM
* SM
* SSB

Circuit mode
(constant bandwidth)

* TDM
* FDM / WDM
* SDMA
* Polarization
* Spatial
* OAM

Statistical multiplexing
(variable bandwidth)

* Packet switching
* Dynamic TDMA
* FHSS
* DSSS
* OFDMA
* SC-FDM
* MC-SS

Related topics

* Channel access methods
* Medium access control

* v
* t
* e

## Contents

* 1 Functions performed in the MAC sublayer
* 2 Addressing mechanism
* 3 Channel access control mechanism
* 3.1 Channel access control mechanism for concurrent transmission
* 4 Cellular networks
* 5 See also
* 6 References

## Functions performed in the MAC sublayer

According to IEEE Std 802-2001 section 6.2.3 "MAC sublayer", the primary functions performed by the MAC layer are:[1]

* Frame delimiting and recognition
* Addressing of destination stations (both as individual stations and as groups of stations)
* Conveyance of source-station addressing information
* Transparent data transfer of LLC PDUs, or of equivalent information in the Ethernet sublayer
* Protection against errors, generally by means of generating and checking frame check sequences
* Control of access to the physical transmission medium

In the case of Ethernet, the functions required of a MAC are:[2]

* receive/transmit normal frames
* half-duplex retransmission and backoff functions
* append/check FCS (frame check sequence)
* interframe gap enforcement
* discard malformed frames
* prepend(tx)/remove(rx) preamble, SFD (start frame delimiter), and padding
* half-duplex compatibility: append(tx)/remove(rx) MAC address

## Addressing mechanism

The local network addresses used in IEEE 802 networks and FDDI networks are called MAC addresses; they are based on the addressing scheme that was used in early Ethernet implementations. A MAC address is intended as a unique serial number. MAC addresses are typically assigned to network interface hardware at the time of manufacture. The most significant part of the address identifies the manufacturer, who assigns the remainder of the address, thus provide a potentially unique address. This makes it possible for frames to be delivered on a network link that interconnects hosts by some combination of repeaters, hubs, bridges and switches, but not by network layer routers. Thus, for example, when an IP packet reaches its destination (sub)network, the destination IP address (a layer 3 or network layer concept) is resolved with the Address Resolution Protocol for IPv4, or by Neighbor Discovery Protocol (IPv6) into the MAC address (a layer 2 concept) of the destination host.

Examples of physical networks are Ethernet networks and Wi-Fi networks, both of which are IEEE 802 networks and use IEEE 802 48-bit MAC addresses.

A MAC layer is not required in full-duplex point-to-point communication, but address fields are included in some point-to-point protocols for compatibility reasons.

## Channel access control mechanism

The channel access control mechanisms provided by the MAC layer are also known as a multiple access method. This makes it possible for several stations connected to the same physical medium to share it. Examples of shared physical media are bus networks, ring networks, hub networks, wireless networks and half-duplex point-to-point links. The multiple access method may detect or avoid data packet collisions if a packet mode contention based channel access method is used, or reserve resources to establish a logical channel if a circuit-switched or channelization-based channel access method is used. The channel access control mechanism relies on a physical layer multiplex scheme.

The most widespread multiple access method is the contention-based CSMA/CD used in Ethernet networks. This mechanism is only utilized within a network collision domain, for example an Ethernet bus network or a hub-based star topology network. An Ethernet network may be divided into several collision domains, interconnected by bridges and switches.

A multiple access method is not required in a switched full-duplex network, such as today's switched Ethernet networks, but is often available in the equipment for compatibility reasons.

### Channel access control mechanism for concurrent transmission

Use of directional antennas and millimeter-wave communication in a wireless personal area network increases the probability of concurrent scheduling of non‐interfering transmissions in a localized area, which results in an immense increase in network throughput. However, the optimum scheduling of concurrent transmission is an NP-hard problem.[3]

## Cellular networks

Cellular networks, such as GSM, UMTS or LTE networks, also use a MAC layer. The MAC protocol in cellular networks is designed to maximize the utilization of the expensive licensed spectrum.[4] The air interface of a cellular network is at layers 1 and 2 of the OSI model; at layer 2, it is divided into multiple protocol layers. In UMTS and LTE, those protocols are the Packet Data Convergence Protocol (PDCP), the Radio Link Control (RLC) protocol, and the MAC protocol. The base station has absolute control over the air interface and schedules the downlink access as well as the uplink access of all devices. The MAC protocol is specified by 3GPP in TS 25.321[5] for UMTS, TS 36.321[6] for LTE and TS 38.321[7] for 5G.

## See also

* Isochronous media access controller
* List of channel access methods
* MAC-Forced Forwarding
* MACsec (IEEE 802.1AE)

## References

1. ↑ "IEEE 802-2001 (R2007) IEEE Standard for Local and Metropolitan Area Networks: Overview and Architecture". IEEE. http://standards.ieee.org/getieee802/download/802-2001.pdf.
2. ↑ IEEE 802.3-2002, IEEE, https://standards.ieee.org/standard/802_3-2002.html
3. ↑ Bilal, Muhammad (2014). "Time‐Slotted Scheduling Schemes for Multi‐hop Concurrent Transmission in WPANs with Directional Antenna". ETRI Journal 36 (3): 374–384. doi:10.4218/etrij.14.0113.0703.
4. ↑ Guowang Miao; Jens Zander; Ki Won Sung; Ben Slimane (2016). Fundamentals of Mobile Data Networks. Cambridge University Press. ISBN 978-1107143210.
5. ↑ 3GPP TS 25.321 Medium Access Control (MAC) protocol specification
6. ↑ 3GPP TS 36.321 Evolved Universal Terrestrial Radio Access (E-UTRA); Medium Access Control (MAC) protocol specification
7. ↑ 3GPP TS 38.321 NR; Medium Access Control (MAC) protocol specification

* v
* t
* e

Channel access methods and media access control

Channel-based|

| FDMA|

* FDM
* OFDMA
* SC-FDMA
* WDM
* WDMA

|

TDMA|

* MF-TDMA
* STDMA

CDMA|

* W-CDMA
* TD-CDMA
* TD-SCDMA
* DS-CDMA
* FH-CDMA
* MC-CDMA

SDMA|

* HC-SDMA

PDMA|

PAMA|

Packet-based|

| Collision recovery|

* ALOHA
* Slotted ALOHA
* R-ALOHA
* AX.25
* CSMA/CD

|

Collision avoidance|

* MACA
* MACAW
* CSMA
* CSMA/CA
* DCF
* PCF
* HCF
* CSMA/CARP

Collision-free|

* Token ring
* Token bus
* MS-ALOHA

Delay and disruption tolerant|

* MANET
* VANET
* DTN
* Dynamic Source Routing

Duplexing methods|

* TDD
* FDD

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Medium access control. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Medium_access_control&oldid=3429328"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template