日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

802.11e (Quality of Service) : EDCA

發布時間:2025/4/5 编程问答 20 豆豆
生活随笔 收集整理的這篇文章主要介紹了 802.11e (Quality of Service) : EDCA 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Have you ever visited a famous temple in India? In many temples, there are different “queues” based on the ticket price. If you buy a more expensive ticket, it is most “likely” that your queue will move faster compared to the less expensive one.

802.11e provides a similar facility for different types of user data in a WLAN. The different types of user data are: Voice, Video, Best Effort and Background. 802.11e defines Hybrid Coordination Function (HCF), that includes two new channel access methods:
HCF Controlled Channel Access (HCCA). This is based on PCF and like PCF, is not used in real-world implementations.
Enhanced Distributed Channel Access (EDCA). This is based on DCF and is a mandatory feature for WMM certification.

CHANNEL ACCESS IN DCF
As EDCA is based on DCF, lets first understand how DCF works.
802.11 works on the principles of “carrier sensing” and “collision avoidance”. Carrier sensing is achieved through Clear Channel Assessment(CCA) and/or Network Allocation Vector (NAV).

Collision avoidance is achieved using a back-off procedure. The channel access procedure in DCF is depicted in the below diagram.

The above diagram considers an example in which two stations have data to transmit.

  • “BUSY”: The stations initially find the medium to be busy (some other station already transmitting). The stations find this either through CCA or NAV.
  • “DIFS Wait”: After the channel is found to be free, both stations need to wait for a fixed duration of DIFS (DCF Interframe Space).
    DIFS = SIFS + 2*slot_time
    slot_time = 9 (OFDM), 16 (DSSS) micro seconds
  • “Contention”: The stations now contend for the medium using random wait.
    0 <= Random Wait <= Contention Window (CW)
    CWMin <= CW <= CWMax
    CW = 2^x - 1 where x = (4,31)(for OFDM)
    CWMin = 2^4 - 1 = 15
    CWMax = 2^31 - 1 = 1023
  • “Data”: STA1 uses a lower random wait and wins the medium
  • “SIFS”, “ACK”: After the data frame is transmitted, the AP waits for SIFS (< DIFS) before sending an ACK.
    SIFS = 10 (2.4 GHz) or 16 (5 GHz) micro seconds
  • Both stations need to contend for the medium after the “ACK” (i.e., start from “Step 2: DIFS wait”).
  • CHANNEL ACCESS IN EDCA
    EDCA improves on DCF by changing the IFS, Contention Window and the Contention free period based on the “Access Class” of the data.

    EDCA IFS
    EDCA uses two Interframe Spaces: SIFS (Same as the one used in DCF) and AIFS. AIFS is similar to DIFS but it varies based on the type of data.
    * AIFS = SIFS + AIFSN * slot_time
    * AIFS Voice, AIFS Video = SIFS + 2 * slot_time
    * AIFS Best Effort SIFS + 3 * slot_time
    * AIFS Background SIFS + 7 * slot_time

    EDCA Contention Window
    The maximum and minimum values of contention window values are dependent on the type of data. The values of CWMin and CWMax are shown below (in slots). Please note that Contention Window is equal to 2^x - 1. The minimum and maximum values are derived from minimum and maximum values of x. x is incremented whenever a transmission failure is detected (e.g., No ACK is received).

    The effect of AIFS and modified CWMin values can be seen in the below figure.

    As a result of the modified wait period, Voice traffic has the highest “probability” of accessing the medium. Video comes next followed by Non-QoS (DCF), Best Effort and Background.

    EDCA Contention Free Period (TXOP)
    Contention free period can be defined as the duration during which a station can send or receive data without contending for the medium. For e.g., in case of DCF, the contention free period starts with “DATA” and ends after receiving an “ACK”. So the contention free period is effectively for one frame. EDCA allows this to be more than one frame and is called a TXOP (Transmission Opportunity).

    The TXOP limits are set by the QoS AP. TXOP limit is described in terms on number of 32 micro second intervals.

    Typical values for TXOP limits for OFDM (a/g/n) are

    • Voice: 47 (47 *32 = 1504 micro seconds)
    • Video: 94 (94 * 32 = 3008 micro seconds)
    • Best Effort, Background: 0 (Only one frame at a time and then contend again for the medium)

    EDCA parameters advertised by the QoS AP
    The below snippet from an air-trace shows the EDCA parameters from WMM information element in the beacon of a QoS AP. Note: ECWmin/ECWmax is “x” describe earlier (CW = 2^x -1).

    《新程序員》:云原生和全面數字化實踐50位技術專家共同創作,文字、視頻、音頻交互閱讀

    總結

    以上是生活随笔為你收集整理的802.11e (Quality of Service) : EDCA的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。