CSMA

  • carrier sense multiple access (CSMA)

    • “A contention access method in which each station listens to the line before transmitting data” (Forouzan, 2012)
    • “…means that multiple stations can listen to the link and detect when it is in use or idle” (Peterson, 2020)
  • 1-persistent

    • Sense channel
    • If channel is idle
      • transmit frame
        • if transmission is successful, done
        • else, wait random time and continue sensing
    • Else
      • Continue sensing
  • non-persistent

    • Sense channel
    • If channel is idle
      • transmit frame
      • if transmission is successful
        • done
      • else

    • Else
      • Wait random backoff time
      • Sense again
  • p-persistent

    • Sense channel at slot boundary
    • If channel is idle
      • With probability , transmit frame
      • With probability , wait for the beginning of the next time slot and sense again
        • if idle, transmit frame
        • if busy, Wait for Next Time Slot
    • if busy, Wait for Next Time Slot

CSMA/CD

  • CSMA/CD (collision detection)

    • “An access method in which stations transmit whenever the transmission medium is available and retransmit when collision occurs” (Forouzan, 2012)
    • “The CSMA method does not specify the procedure following a collision. CSMA/CD augments the algorithm to handle the collision” (Forouzan, 2012)
    • “CSMA/CD is used to improve CSMA performance by terminating transmission as soon as a collision is detected, thus shortening the time required before a retry can be attempted.” (Wikipedia)
    • “With the growing popularity of Ethernet switches in the 1990s, IEEE 802.3 deprecated Ethernet repeaters in 2011, making CSMA/CD and half-duplex operation less common and less important.” (Wikipedia)
    • is the propagation delay
    • is the minimum frame size
    • slot time examples:
      • (10 Mbps Ethernet)
        • (that implies that , thus , however, some 802.3 standards limit (2.5 km (4 repeaters)) include large safety margins)
  • CSMA/CD procedure:

    • (the number of collisions for the frame (up to a maximum value, e.g., ))
    • (1) persistence method
    • while (not done and not collision)
      • transmit
    • if collision detected:
      • send a jamming signal
      • if , abort
      • choose random integer
      • wait
      • go back to (1)
  • jam signal (or jamming signal)

CSMA/CA

  • CSMA/CA (collision avoidance)
    • “An access method in wireless LANs that avoids collision by forcing the stations to send reservation messages when they find the channel is idle” (Forouzan, 2012)

Code-division multiple access (CDMA)

  • is a user (sender)
    • is the chiping code for user , where is the -th chip of the code.
    • code length (or spreading factor) is the number of chips used to represent (spread) a single data bit.
    • is the number of stations (users)
  • The user sends , where is the data bit for user . where if the user wants to send data bit 0, and if the user wants to send data bit 1.
  • The received signal is
  • The data bit for user recovered by receiver is
    • means user did not send any data bit.
    • means user sent data bit (i.e., the user wants to send 1)
    • means user sent data bit (i.e., the user wants to send 0)
    • is called the correlation value

Orthogonal frequency-division multiple access (OFDMA)

  • resource element (RE)
  • transmission time interval (TTI)
  • physical resource block (PRB)
  • channel quality indicator (CQI)

References

  • Forouzan, B. A. (2012). Data Communications and networking. McGraw-Hill Education.
  • Peterson, Larry L. (2020). Computer Networks. Elsevier Science & Technology.