Medium access control

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.

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:[2]

  • 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:[3]

  • 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.[4]

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.[5] 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[6] for UMTS, TS 36.321[7] for LTE and TS 38.321[8] for 5G.

See also

References

  1. ^ "X.225 : Information technology – Open Systems Interconnection – Connection-oriented Session protocol: Protocol specification". Archived from the original on 1 February 2021. Retrieved 10 March 2023.
  2. ^ "IEEE 802-2001 (R2007) IEEE Standard for Local and Metropolitan Area Networks: Overview and Architecture" (PDF). IEEE. Archived from the original (PDF) on April 29, 2003.
  3. ^ "4.1.4", IEEE 802.3-2002, IEEE, archived from the original on June 16, 2019
  4. ^ Bilal, Muhammad; et al. (2014). "Time‐Slotted Scheduling Schemes for Multi‐hop Concurrent Transmission in WPANs with Directional Antenna". ETRI Journal. 36 (3): 374–384. arXiv:1801.06018. doi:10.4218/etrij.14.0113.0703.
  5. ^ Guowang Miao; Jens Zander; Ki Won Sung; Ben Slimane (2016). Fundamentals of Mobile Data Networks. Cambridge University Press. ISBN 978-1107143210.
  6. ^ 3GPP TS 25.321 Medium Access Control (MAC) protocol specification
  7. ^ 3GPP TS 36.321 Evolved Universal Terrestrial Radio Access (E-UTRA); Medium Access Control (MAC) protocol specification
  8. ^ 3GPP TS 38.321 NR; Medium Access Control (MAC) protocol specification

Read other articles:

Behold My Wife!Poster lobiSutradaraGeorge MelfordProduserAdolph ZukorJesse LaskyDitulis olehFrank Condon (skenario)BerdasarkanThe Translation of a Savageoleh Sir Gilbert ParkerPemeranMabel Julienne ScottMilton SillsSinematograferPaul P. PerryPerusahaanproduksiFamous Players-Lasky CorporationDistributorParamount PicturesTanggal rilis 10 Oktober 1920 (1920-10-10) Durasi70 menitNegaraAmerika SerikatBahasaBisu (intertitel Inggris) Mabel Julienne Scott dan Elliott Dexter Milton Sills dan Mabel J…

L'attaccante italiano Stefan Schwoch è il calciatore più prolifico nella storia della Serie B con 135 gol tra il 1996 e il 2008. Di seguito è riportata la classifica dei 50 calciatori che nella storia della Serie B del campionato italiano di calcio hanno realizzato più reti. L'elenco tiene conto dei campionati a partire dalla stagione campionato 1929-1930, compresi i campionati disputati a più gironi (1933-1934, 1934-1935, 1946-1947 e 1947-1948), ma non il campionato di Serie B-C Alta Itali…

У этого термина существуют и другие значения, см. Continental. Данные в этой статье приведены по состоянию на 1 октября 2010 года.Вы можете помочь, обновив информацию в статье. Continental Airlines ИАТАCO ИКАОCOA ПозывнойCONTINENTAL Дата основания 1934[1] Прекращение деятельности 2012 Базовые аэроп…

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Februari 2023. SDN Jatinegara 01 PagiSekolah Dasar Negeri Jatinegara 01 PagiInformasiJenisNegeriNomor Statistik Sekolah101016406101Nomor Pokok Sekolah Nasional20104168Jumlah siswa505 2010StatusAktifAlamatLokasiJl. Swadaya Iv, Jakarta Timur, DKI Jakarta, IndonesiaS…

Bosa Bòsa, 'OsaKomuneComune di BosaLokasi Bosa di Provinsi OristanoNegaraItaliaWilayah SardiniaProvinsiOristano (OR)Pemerintahan • Wali kotaPiero Franco CasulaLuas • Total128,02 km2 (49,43 sq mi)Ketinggian2 m (7 ft)Populasi (2016) • Total7,929[1]Zona waktuUTC+1 (CET) • Musim panas (DST)UTC+2 (CEST)Kode pos08013Kode area telepon0785Situs webhttp://www.comunebosa.gov.it/ Bosa (bahasa Sardinia: Bòsa, 'Osa) adala…

Voce principale: Società Sportiva Manfredonia Calcio. Società Sportiva Manfredonia CalcioStagione 2004-2005Sport calcio Squadra Manfredonia Allenatore Leonardo Bitetto Serie C21º (in Serie C1) Coppa Italia Serie COttavi di finale 2003-2004 2005-2006 Si invita a seguire il modello di voce Questa pagina raccoglie le informazioni riguardanti la Società Sportiva Manfredonia Calcio nelle competizioni ufficiali della stagione 2004-2005. Indice 1 Rosa 2 Risultati 2.1 Serie C2 2.1.1 Girone di a…

University of Virginia basketball court John Paul Jones ArenaLocation295 Massie RoadCharlottesville, Virginia 22903Coordinates38°02′46″N 78°30′25″W / 38.046°N 78.507°W / 38.046; -78.507OwnerUniversity of VirginiaOperatorASM GlobalCapacityBasketball: 14,623[1] Concerts:*End stage 180°: 12,467*End stage 270°: 14,075*End stage 360°: 15,177*Center stage: 15,405*Theatre: 7,352 [2]Record attendance15,219[3](11/12/06 vs. Arizona)Constructio…

  关于与「內閣總理大臣」標題相近或相同的条目页,請見「內閣總理大臣 (消歧義)」。 日本國內閣總理大臣內閣總理大臣紋章現任岸田文雄自2021年10月4日在任尊称總理、總理大臣、首相、阁下官邸總理大臣官邸提名者國會全體議員選出任命者天皇任期四年,無連任限制[註 1]設立法源日本國憲法先前职位太政大臣(太政官)首任伊藤博文设立1885年12月22日,​…

Sinapis Sinapis alba Klasifikasi ilmiah Kerajaan: Plantae (tanpa takson): Tracheophyta (tanpa takson): Angiospermae (tanpa takson): Eudikotil (tanpa takson): Rosid Ordo: Brassicales Famili: Brassicaceae Genus: SinapisL. Spesies[1] Sinapis alba L. Sinapis allionii Jacq. Sinapis arvensis L. Sinapis circinata Desf. Sinapis flexuosa Poir. Sinapis pubescens L. Sinapis adalah salah satu genus tumbuhan berbunga dalam famili Brassicaceae.[2] Referensi ^ Sinapis. The Plant List. Diakses t…

The facade of the Bolivarian Museum. Bolívar's birthplace is visible on the left. The Bolivarian Museum (Spanish: Museo Bolivariano) is dedicated to Simón Bolívar, the hero of Latin American independence. It is situated in Caracas, Venezuela. The museum is run in tandem with the birthplace of Simón Bolívar next door. The collections include items related to Bolivar and Venezuelan independence. History Many of the items in the museum were collected in the nineteenth century, and some of them…

Software that manages computer hardware resources Operating systems Common features Process management Interrupts Memory management File system Device drivers Networking Security Input/output vte An operating system (OS) is system software that manages computer hardware and software resources, and provides common services for computer programs. Time-sharing operating systems schedule tasks for efficient use of the system and may also include accounting software for cost allocation of processor t…

Pertempuran Watling StreetMerah: Watling StreetTanggal60 atau 61LokasiWatling StreetHasil Kemenangan Romawi, berakhirnya revolusi BoudicaPihak terlibat Kekaisaran Romawi Iceni, Trinovantes, dan suku Britania lainnyaTokoh dan pemimpin Gaius Suetonius Paulinus Boudica †Kekuatan 10.000 Tacitus mengklaim 100.000; Dio mengklaim 230.000[1]Korban Tacitus mengklaim 400 Tacitus mengklaim 80.000 Pertempuran Watling Street terjadi di Britania Romawi pada tahun 60 atau 61 antara aliansi penduduk a…

Non-fiction book by Bernie Chowdhury about a double wreck diving fatality This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: The Last Dive – news · newspapers · books · scholar · JSTOR (June 2009) (Learn how and when to remove this message) The Last Dive: A Father and Son's Fatal Descent into the Ocean's Depths Au…

Reservoir on the Colorado River For the ancient former lake, see Lake Mojave. Lake MohaveLake Mohave across from Cottonwood CoveLake MohaveShow map of NevadaLake MohaveShow map of the United StatesLocationMohave County, Arizona / Clark County, Nevada, USCoordinates35°26′14″N 114°38′37″W / 35.43722°N 114.64361°W / 35.43722; -114.64361TypereservoirBasin countriesUnited StatesSurface area26,500 acres (10,700 ha)Average depth75 ft (23 m)Water v…

Fury (Erinys) in Greek mythology This article is about the character from Greek mythology. For other uses, see Alecto (disambiguation). This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Alecto – news · newspapers · books · scholar · JSTOR (February 2017) (Learn how and when to remove this message) Orestes Pursued…

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Februari 2023. artikel ini perlu dirapikan agar memenuhi standar Wikipedia. Tidak ada alasan yang diberikan. Silakan kembangkan artikel ini semampu Anda. Merapikan artikel dapat dilakukan dengan wikifikasi atau membagi artikel ke paragraf-paragraf. Jika sudah dirapikan…

Departemen di Chad Wilayah Chad dibagi menjadi 61 departemen.[1][2][3][4] Departemen tercantum di bawah ini, berdasarkan nama dan wilayah. Departemen diurutkan berdasarkan nama Departemen Pop.2009 Ibukota Sub-prefektur Abdi 114.055 Abdi [fr] Abdi, Abkar Djombo, Biyeré Aboudeïa 65.772 Aboudeïa Abgué, Aboudeïa, Am Habilé Abtouyour 171.999 Bitkine Bang Bang, Bitkine Am-Djarass Assoungha 282.315 Adré Adré, Borota, Hadjer Hadid, Mabrone, Molou, Tou…

Map of Tiruchirapalli town in 1955 Tiruchirappalli is believed to be of great antiquity and has been ruled by the Early Cholas, Mutharaiyars Early Pandyas, Pallavas, Medieval Cholas, Later Cholas, Later Pandyas, Delhi Sultanate, Ma'bar Sultanate, Vijayanagar Empire, Nayak Dynasty, the Carnatic state and the British at different times. The archaeologically important town of Uraiyur which served as the capital of the Early Cholas is a Neighborhood of Tiruchirapalli. Early history Tiruchirappalli a…

This article uses bare URLs, which are uninformative and vulnerable to link rot. Please consider converting them to full citations to ensure the article remains verifiable and maintains a consistent citation style. Several templates and tools are available to assist in formatting, such as reFill (documentation) and Citation bot (documentation). (August 2022) (Learn how and when to remove this message) Main articles: Hip hop music and List of music festivals List of hip hop festivalsGeneral Infor…

Konferensi Perubahan Iklim Perserikatan Bangsa-Bangsa 2023Foto bersama delegasi COP28 dengan bendera negara pesertaNama asli مؤتمر الأمم المتحدة للتغير المناخي 2023Tanggal30 November – 12 Desember 2023 (2023-12-12)LokasiExpo City, Dubai, Uni Emirat ArabPenyelenggaraUni Emirat ArabPeserta/Pihak terlibatnegara anggota UNFCCCPresidenSultan Al JaberKonferensi sebelumnya← Sharm El Sheikh 2022Konferensi setelahnya→ 2024Situs webhttps://www.c…