Abstract

The performance improvement in IEEE 802.11 WLANs in widely fluctuating network loads is a challenging task. To improve the performance in this saturated state, we develop an adaptive backoff algorithm that maximizes the system throughput, reduces the collision probability, and maintains a high fairness for the IEEE 802.11 DCF under dense network conditions. In this paper, we present two main advantages of the proposed ABA-CW algorithm. First, it estimates the number of active stations and then calculates an optimal contention window based on the active station number. Each station calculates the channel state probabilities by observing the channel for the total backoff period. Based on these channel states probabilities, each station can estimate the number of active stations in the network, after which it calculates the optimal CW utilizing the estimated active number of stations. To evaluate the proposed mechanism, we derive an analytical model to determine the network performance. From our results, the proposed ABA-CW mechanism achieved better system performance compared to fixed-CW (BEB, EIED, LILD, and SETL) and adaptive-CW (AMOCW, Idle Sense) mechanisms. The simulation results confirmed the outstanding performance of the proposed mechanism in that it led to a lower collision probability, higher throughput, and high fairness.

1. Introduction

Wireless local area networks (WLANs) are becoming the most popular and widely deployed networks worldwide. The reason for this success is its low deployment cost and the robust and flexible medium access control (MAC) protocol with coexistence capabilities. The IEEE 802.11-based WLANs have become the most popular wireless network standard, and the IEEE 802.11 standard [1] has two basic operation modes: distributed coordination function (DCF) and optional point coordination function (PCF). PCF is a centralized MAC protocol in which an access point (AP) coordinates with different stations by sending polling messages, with the aim of providing collision-free services. However, DCF is a contention-based access scheme and is based on the carrier sensing multiple access/collision avoidance (CSMA/CA) mechanism using the binary exponential backoff (BEB) algorithm.

The DCF is the fundamental MAC mechanism employed in the IEEE 802.11 [1] to enable random access to wireless channels. If a station wishes to transmit, it is required to listen for the channel status for an interval called the DCF interframe space (DIFS) interval. If the status is busy during the interval, the station defers its access to the channel for a backoff period, which is determined by , where and denote the time for the backoff period and slot time, respectively. Further, is the random-number generation function. Thus, the performance of the IEEE 802.11 DCF depends mainly on the CW adjustment and backoff strategy [25].

The BEB algorithm is the main backoff scheme employed in the IEEE 802.11 DCF. However, in terms of the throughput and collision rate of the BEB algorithm, its performance decreases dramatically when the number of stations increases beyond a certain limit. Cali et al. [3] reported that the actual throughput is lower than the analytical throughput because the CW varies depending on the network status. An improper CW adjustment increases the collision probability such that the stations experience many collisions before reaching the optimal CW. Several studies have been carried out to calculate the optimal CW that will increase the throughput and decrease the collision probability. Next, we further classify the related works into two categories based on the CW adjustment schemes employed: the fixed-CW ( and ) mechanism and adaptive-CW adjustment mechanism.

In fixed-CW adjustment schemes, several algorithms have been proposed, such as exponential increase exponential decrease (EIED), exponential increase linear decrease (EILD), multiplicative increase multiplicative decrease (MIMD), and smart exponential threshold linear (SETL), to improve the network performance using different increment factors to adjust the CW size [614]. Unfortunately, none of these algorithms can cope with the significant fluctuations in the network state and consider the fixed initial CW, that is, , regardless of the network conditions [15]. All of the abovementioned algorithms increase their CWs exponentially or linearly when a collision occurs and decrease the CW when a successful transmission occurs. The CW adjustment rule is usually based on the status of the last transmission attempt, which increases the collision probability and decreases the aggregated throughput when the number of stations increases. Thus, we deduce that both the fixed-CW and improper CW adjustment rules based on the states of the last transmission are the main causes for the reduced throughput, and they increase the collision probability of the network.

In adaptive-CW adjustment schemes, the CW adjusts dynamically according to the network conditions (number of active stations or network traffic load) regardless of the last transmission. The stations receive the channel-state information and coordinate with other stations to reduce the collisions and improve the network throughput. In [1620], a lot of local channel-state information (e.g., idle slot intervals, slot utilization, and collision rate) was utilized to characterize the dynamic network conditions (number of active stations or network traffic load). In [21], the authors utilized the idle slot interval to adjust the CW in order to obtain a higher throughput. However, these methods do not estimate the number of stations, which may lead to decreased fairness. Further, some studies [2233] estimated the number of active stations and then adjusted the access parameters to realize further performance improvements. However, in DCF, it is difficult to estimate the number of stations because each station can enter or leave the network at any time.

In [25], the authors estimated the number of stations by considering the signs of activity originating from other stations. In [26], the authors observed the channel events to estimate the number of stations by using the channel-event probability, and they tuned the network to obtain high throughput with good fairness according to the number of stations. In [27], the authors proposed a mechanism to tune the CW size based on the number of active stations, and the number was estimated by observing the channel status. Peng et al. [28] proposed a method to determine the CW by optimizing the ratio between the idle period and the collision period in terms of the throughput. Bianchi et al. [7] proposed a method to determine the CW based on the number of active stations. The number of stations was estimated by the number of slot times that were observed to be busy because of transmissions by other stations. Cali et al. [15] proposed a method that estimates the number of stations using the number of empty slots and tunes the CW accordingly.

In [32], the authors proposed an Idle Sense algorithm, where each host observes the mean number of idle slots between two transmission attempts, and the hosts adjust their CW by comparing the estimate with a theoretically derived value. In [33], the authors reported an Idle Sense mechanism with three thresholds for estimating the number of active stations in the network, and they developed a linear CW adjustment rule based on that number. However, the aggregated throughput of these mechanisms can be further improved.

In this paper, we aim to develop a new adaptive and robust backoff algorithm that improves the performance in terms of maximizing the system throughput, reducing the collision probability, and ensuring good fairness for the DCF in an IEEE 802.11 WLAN under dense network conditions. In this paper, we present two main contributions of the proposed adaptive backoff algorithm for the contention window, named ABA-CW. First, it estimates the number of active stations and then calculates an optimal CW based on the number of active stations. Each station has to observe the channel for the total backoff period and calculate the channel-state probabilities for the backoff period. Based on these channel-state probabilities, each station can estimate the number of active stations on the network, after which it then calculates the optimal CW utilizing the estimated number of active stations. For the estimated number of active stations, the proposed scheme achieved an optimal CW value that gives a good network performance in terms of high throughput, low collision probability, better channel utilization, and good fairness as the number of stations on the network varies.

The remainder of the paper is organized as follows. In Section 2, we discuss the DCF mechanism and the motivation for the proposed work. In Section 3, we estimate the channel status and propose a simple but novel algorithm for estimating the number of active stations based on the channel-state probabilities. We also derived an optimal CW for the number of active stations. In Section 4, we present an analysis of the proposed scheme. The simulation results and discussion are presented in Section 5, and we conclude the paper in Section 6.

2. DCF Optimization

In this section, we briefly describe the DCF mechanism, as detailed in the IEEE 802.11 standard [1]. According to the DCF mechanism, when a station has a packet to transmit, it senses the channel for an idle period that is greater than a DIFS interval. If the channel remains idle, the station transmits the packet; otherwise, the transfer is deferred until the ongoing transmission is terminated. The station continues to monitor the channel until it is measured as idle for a DIFS interval, and it then generates a random backoff interval. Random backoff intervals are slotted, and stations are only allowed to transmit their packets at the beginning of each slot. The random backoff interval value is uniformly selected from the range , interval, where CW is the current CW. The contention window size doubles with each collision, and this occurs when two or more stations transmit their packets in the same time slot. The backoff counter is frozen when activities are detected on the channel, and it is reactivated after it is sensed that the channel is again idle for more than a DIFS interval; the counter is decremented as long as it is sensed that the channel is idle. When the backoff timer reaches zero, the station attempts to transmit a packet at the beginning of the next time slot. If the packet is successfully received, the receiver sends an acknowledgment (ACK) after a short interframe space (SIFS), which is less than DIFS. If the packet transmission is unsuccessful as indicated by an ACK timeout, a retransmission is scheduled, and the CW increased by two with each unsuccessful transmission until it reaches its maximum value; that is, , where is the maximum backoff stage and its value could be 5 or 7, depending on the maximum and minimum contention window size.

The main reason for the throughput degradation in DCF is the exponential backoff, which changes the CW based on the last transmission status. As shown in Figure 1, the BEB algorithm works well for a small number of stations. However, as the number of stations increases, the collision rate increases and the throughput significantly decreases. By making the CW dynamically adjust irrespective of the last transmission attempt, our proposed algorithm adjusts the CW based on the network conditions. It estimates the number of stations and then adjusts the CW based on the number of active stations in the network, which improves the network performance in terms of the throughput and collision probability.

3. Adaptive Contention Window-Based Backoff Algorithm

Our objective is to develop an adaptive backoff algorithm for IEEE 802.11 DCF wireless networks, which adjusts the CW dynamically with variations in the network load. As discussed above, fixed-CW backoff algorithms do not consider the network conditions when estimating the CW. As such, to realize successful transmissions, all of the algorithms reduce the CW exponentially or linearly, while increasing the CW for each collision that occurs. However, success/collision is not guaranteed when the network load becomes light or heavy, and this extreme variation in the CW affects the performance of the backoff algorithms. To overcome this problem, some recent research considered the channel-state parameters utilizing the network conditions in order to dynamically adjust the CW, thus improving the throughput and fairness of the network. To adjust the CW adaptively in order to realize maximum throughput and to achieve good fairness, we derived an analytical model that utilizes the network conditions when calculating the optimal CW. The proposed ABA-CW considers the network condition to adaptively vary the CW for both successful transmissions and collisions. The proposed algorithm has two main features: it estimates the number of active stations from the channel-state information, which is discussed in the next section. Then, it adjusts the CW according to the number of active stations on the network. The proposed algorithm adjusts the CW using the network load. It increases the CW when the network is dense and reduces it when the network load decreases. Thus, the proposed algorithm improves the network performance in terms of the throughput and collision probability. By finding the optimal CW based on the number of active stations, the proposed algorithm also provides an equal opportunity to all active stations, which also improves the fairness of the network.

3.1. Channel-State Estimation

In order to obtain actual channel status information, a station has to observe the channel for an entire backoff period. As shown in Figure 2, the channel status can be generally divided into three states, namely, the collision state, success state, and idle state. To calculate the channel-state probabilities, we consider slots in the total backoff period and stations, and the probability that one out of stations transmits data during a slot is given byThe number in a particular slot is called the occupancy number of that slot [34]. The expected number of slots, with the occupancy number , is The probability of having an occupancy number 0 is given byand the probability of having an occupancy number 1 can be calculated byA collision occurs when two or more stations transmit their data on the same slot at the same time, and the probability of having an occupancy number 2 can be calculated using

3.2. Contention Window Optimization

The throughput is a function of , , and , as shown in (6). The other parameters (, , and ) are constant with respect to the PHY parameters of the networks. We will discuss these parameters in detail in Section 4. , , and are functions of CW and . For a given , there exists an optimal contention window, , which achieves the maximum throughput. To find , we take the partial derivative in (6) with respect to CW. To simplify the calculation, we take the partial derivative with respect to because is a function of CW. Using the quotient rule [35], the derivative of (6) is given as (7). ConsiderBy solving (8), we obtain the following:By simplifying and then substituting the value into (9), where [7], we obtain the relationship between and from the following:where is the minimum contention window, while is the optimal contention window and is the number of stations in the network.

3.3. Accurate Estimation of Number of Active Stations

As shown in (10), depends on and the number of active stations on the network. Usually, this number is unknown and needs to be estimated. In this section, we find an accurate estimation of the number of active stations from the collision probability and by replacing the value in (13) using (12) [7]. We obtain the estimated number of active stations as follows:where depends on the PHY parameters of the network. The proposed ABA-CW scheme realized an almost constant value of approximately 0.21, which we used as a threshold collision probability, , in order to estimate the number of stations on the network. Detailed procedures for estimating the number of stations are summarized in Algorithm 1.

Step  1: Set , and set the threshold value for the collision probability .
Step  2: Calculate using (5).
Step  3: Compare with .
while ()
Estimate the number of active stations using (11).
Calculate obtained by (10) using .
Update the value using (5).
End
Step  4: Estimate the number of active stations using the updated and obtained by (11).

To estimate the number of active stations, we simulate the proposed algorithm on the network for [0, 15) s for 5 stations, [15, 30) s for 10 stations, [30, 45) s for 15 stations, and [45, 60) s for 20 stations. As shown in Figure 3, the proposed scheme provides an accurate estimation of the number of stations on the network, which we subsequently use to calculate the optimal CW.

3.4. Proposed Adaptive Backoff Algorithm for Contention Window

Algorithm 2 shows a detailed operation process for ABA-CW. For all contentions, each station has to observe the channel for the total backoff period and calculate using (5). Then, all of the stations estimate the number of active stations on the network using Algorithm 1. Next, a station determines based on the number of active stations using (10). When a station receives a packet from a higher layer or another station, it randomly chooses an integer value using a uniform distribution over the interval , to determine the backoff timer, and it then begins to perform the backoff procedure. The backoff procedure is the same as that of DCF. When the channel is idle, the backoff counter decreases by one for each slot time; however, when the channel is busy, the backoff counter is frozen. The packet transmits whenever the backoff timer expires.

while (contention)
  A station observes the channel for backoff period.
  Calculate using (5).
  Estimate , following the procedure in Algorithm 1.
  Calculate using (10).
  Choose a random backoff value from the range [0, ].
  Decrement backoff timer by one when the channel is idle as DCF protocol.
  Transmit a packet when the backoff timer expires.
End

4. Performance Analysis of ABA-CW Algorithm

4.1. Channel-State Probabilities

Channel-state probabilities have been extensively studied as they are among the critical performances metric employed to analyze IEEE 802.11 backoff algorithms. In this section, we calculate the channel-state probabilities for the proposed ABA-CW scheme; we represent the collision probability by , success probability by , and transmission probability by for a saturated network under ideal channel conditions. For the simple mean-value analysis, the Bianchi model [7] is sufficient to obtain an accurate prediction of the channel-state probabilities for a saturated network under ideal channel conditions. We assume a fixed number of stations in saturated network conditions. In a saturated network, every station always has a packet to transmit. The Bianchi model assumes that each packet collides with constant and independent probability , which is independent of the channel state. Let be the probability that a station attempts to transmit in a randomly chosen slot time, which is given byTo compute the collision probability where at least one of the () remaining stations transmits within a slot time, we useUsing (12) and (13), we can find the values of and . Once we obtain the value of , we can compute the transmission, idle, and success probabilities for a randomly chosen slot. Let be the transmission probability, where there is at least one station attempting to transmit in the considered slot time. can be found as follows:When there is no transmission in the channel, the idle probability can be obtained byand when only one station transmits the packet over the channel at the chosen slot time, the success probability, , is given by

4.2. Throughput Analysis

In order to compute the normalized system throughput, , we need to compute the actual time lengths of the collision slot and success slot . For the IEEE 802.11 DCF basic access mechanism, a successful transmission includes the time for the physical and MAC headers (), payload (), SIFS (), DIFS (), and an acknowledgment () from the intended receiver station, considering the propagation delay:where and are the propagation delay and the longest packet payload involved in the collision, respectively. In this case, we assumed that all packets have the same size, and thus .

Therefore, we can compute the throughput of the system as follows [7]:where is the slot time for a backoff window.

In order to achieve the maximum theoretical throughput limit, as seen in (18), we need to maximize the success probability , while reducing the collision probability and idle backoff time of the DCF. For this reason, we need to select to increase the throughput of the system while reducing the collision probability and idle backoff time.

4.3. Fairness Calculation

The fairness can indicate how fairly the resources are allocated among the stations. Fairness is an important problem, primarily in fixed-CW backoff algorithms. We use Jain’s fairness index to calculate the fairness of the proposed ACW-BA algorithm [36]:Jain’s fairness always lies between 0 and 1. A fairness index of 1 indicates a fair resource distribution among the stations, while 0 represents an unfair distribution among the stations.

4.4. Channel Utilization

The channel utilization is defined as the total effective transmission time () for all stations divided by the total simulation time () as shown in Figure 11:where , , , and represent the transmission time, packet length, slot time, and the number of slots, respectively.

4.5. Delay Analysis

In this section, we briefly analyze the frame delay for CSMA/CA mechanism. In CSMA/CA, the frame delay is considered as the time between the frame generation and its successful reception. For the frame delay analysis, we considered [37] as reference model, where the backoff delay and the number of collisions are the main causes for the frame delay. The frame delay can be calculated by the following relation:where a station has to wait time to sense the channel again after collision occurred.

5. Performance Evaluation

5.1. Performance Validation: Comparison with DCF Algorithm

For the performance validation, we compared the throughput, collision rate, utilization, and fairness of the proposed ABA-CW algorithm with the DCF algorithm, as shown in Table 1.

As shown in Table 1, the throughput, utilization, and fairness of the DCF algorithm decrease as the number of stations in the network increases, while the ABA-CW algorithm maintains a constant throughput, utilization, and fairness for a varying number of stations in the network. The collision rate of the DCF algorithm increases as the number of stations in the network increases, while the ABA-CW achieved a collision rate of less than 0.25 collisions for every 100 stations on the network; this is less than the smallest collision rate of the DCF algorithm. Therefore, the proposed ABA-CW mechanism outperforms the DCF algorithm in terms of throughput, collision rate, utilization, and fairness.

To evaluate further the performance of the proposed ABA-CW scheme, we compared it to the fixed-CW mechanisms and adaptive-CW mechanisms.

5.2. Comparison with Fixed-CW Mechanisms

In order to evaluate the performance of ABA-CW, we first compared the proposed algorithm with the fixed-CW mechanisms BEB [1], EIED [9], LILD, and SETL [14] as described in the related works. For the simulation, we consider an IEEE 802.11g [1] saturated network scenario comprised of stations that always have data packets in their queues to transmit. We developed the simulation model using MATLAB. Table 2 summarizes the simulation parameters for the proposed ABA-CW, BEB, EIED, LILD, and SETL. Considering IEEE 802.11g as the physical medium, we set , , , and to 128 bits, 9 μs, 10 μs, and 28 μs, respectively. In addition, we set the payload, MAC header, and acknowledgment sizes to 8,184 bits, 272 bits, and 112 bits, respectively. We set the channel rate to 24 Mbits/s.

To evaluate the performance of ABA-CW, we compared it with the BEB, EIED, LILD, and SETL backoff algorithms. We performed the simulation and evaluation while varying the number of stations.

Figure 4 illustrates the performance comparison of the ABA-CW scheme with the fixed-CW mechanisms with respect to the collision probability. The horizontal axis represents the number of stations, while the vertical axis is the collision probability. As illustrated in Figure 4, the collision probability of the fixed-CW schemes increases as the number of stations in the network increases, while the proposed ABA-CW algorithm gives an almost constant collision probability regardless of the number of stations in the network. The four algorithms (fixed-CW mechanisms) only increase or decrease their CWs with their rules depending on whether the transmitted packets collided. These result in changes in the collision probability although the number of stations is fixed. However, the proposed scheme adjusts the CW based on the number of stations in the network.

Figure 5 shows a comparison of the proposed ABA-CW scheme with the existing fixed-CW schemes in terms of throughput. The horizontal axis represents the number of stations, while the vertical axis represents the throughput of the backoff schemes. The throughput of the fixed-CW schemes decreases as the number of stations increases, while the ABA-CW scheme achieves an almost constant throughput for different numbers of stations. Therefore, the proposed ABA-CW scheme performs better and achieves an almost constant throughput for the reasons explained for Figure 4. The probability of realizing stable collisions is directly related to a constant and high throughput.

The channel utilization is an important performance matric in the performance analysis of backoff algorithms. Most of the fixed-CW schemes do not utilize the channel in optimum way, which leads to a lower throughput for the fixed-CW schemes. Figure 6 shows a comparison of the ABA-CW scheme with the fixed-CW schemes in terms of the channel utilization. The horizontal axis represents the number of stations, while the vertical axis represents the utilization. As shown in Figure 6, the channel utilization of the fixed-CW schemes decreases as the number of stations in the network increases, while the proposed ABA-CW utilization is not affected by the number of stations in the network. We achieve almost constant utilization as the number of stations varies. The reason for this is that the proposed ABA-CW scheme considered the number of stations when calculating the optimal CW, which reduced the idle backoff time and improved the channel utilization for the proposed scheme.

Figure 7 shows a comparison of the ABA-CW and fixed-CW schemes in term of fairness, which ranges from 0 to 1. As stated above, a fairness index of 1 indicates a fair resource distribution among the stations, while 0 represents an unfair distribution among the stations. The fairness index of the proposed ABA-CW scheme is almost 1 regardless of the number of stations, while for all of the fixed-CW schemes, with the exception of LILD, the fairness index decreases as the number of stations increases.

Figure 8 shows the frame delay analysis of the proposed ABA-CW in comparison with the fixed-CW (BEB, EIED, LILD, and SETL) schemes. The horizontal axis is the number of stations while vertical axis is the frame delay in μs. As we observed, the proposed ABA-CW scheme achieved less frame delay in comparison with fixed-CW scheme. The main reason for the small frame delay is the lower collision rate and small backoff delay of the proposed scheme in comparison with the existing fixed-CW schemes.

5.3. Comparison with Adaptive-CW Mechanisms

To evaluate further the performance of the proposed ABA-CW scheme, we compared the proposed algorithm with the adaptive-CW mechanisms (Idle Sense [32], AMOCW [33]). Table 3 shows a summary of the simulation parameters for the proposed ABA-CW, AMOCW, and Idle Sense schemes.

In high data networks, the large idle backoff time degrades the performance of the network. As shows in Figure 8, the proposed ABA-CW spends less time in backoff procedure compared with the AMOCW and Idle Sense schemes, and this is one reason for the better system performance of the proposed scheme compared with the AMOCW and Idle Sense adaptive schemes.

Figure 9 shows the comparison of the proposed ABA-CW scheme with the AMOCW and Idle Sense adaptive-CW schemes, and the proposed scheme achieves a higher throughput as the number of stations varies compared with the AMOCW and Idle Sense schemes. In all three schemes, the throughput is almost immune to changes in the number of stations in the network.

Figure 10 shows the channel utilization of the three adaptive schemes as the number of stations in the network varies. The ABA-CW scheme maintains higher utilization compared to the AMOCW and Idle Sense adaptive mechanisms.

6. Conclusion

In this paper, we studied the problem of performance degradation in WLANs and proposed a simple but effective algorithm for improving the performance. In the proposed scheme, we aim to improve the saturated throughput, while maintaining a high fairness. To achieve this objective, we proposed an adaptive backoff algorithm for contention windows for IEEE 802.11 DCF. The proposed algorithm observes the channel status for a backoff period and uses the status to calculate the channel-state probabilities. Based on the channel-state probabilities, the proposed algorithm estimates the number of stations in the network. The algorithm then utilizes the number of stations to calculate the optimal CW. We further present an analytical model to analyze the properties of the ABA-CW mechanism, namely, channel-state probabilities, aggregated throughput, and fairness. The simulation results confirmed the outstanding performance of the proposed mechanism in terms of throughput, collision rate, utilization, and fairness.

Competing Interests

The authors declare that there are no competing interests regarding the publication of this paper.

Acknowledgments

This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korean Government (MSIP) (no. NRF-2015R1A2A2A01005577).