Abstract

In a WLAN, when a great many nodes coexist, the network may readily be congested, thus causing packets dropping and network performance degradation. To solve this issue, a lot of schemes have been proposed. However, most of the previous works attempt to avoid the possible channel congestion by controlling the packets generation rate and/or transmitting power of nodes, while the effects of Clear Channel Assessment (CCA) threshold are not well examined. In our paper, a Joint CCA threshold and contending window control algorithm (JCCA) is proposed to avoid channel congestion or reduce the congestion probability of broadcasting in an IEEE 802.11e network. Both the network conditions and the priorities of messages are taken into account to improve the broadcasting performance in our paper. According to the simulation results, it can be concluded that our scheme can significantly increase the network throughput as well as packets delivery ratio and reduce the packet transmission delay compared to the IEEE 802.11e and Adaptive Carrier Sensing-Based MAC Designs (ACSBM) protocol.

1. Introduction

Over the past few years, our society has incessantly tended towards the use of wireless communications and social networking technologies. In this regard, the IEEE developed the 802.11 standard [1] in order to define a protocol for offering local area interconnectivity between different wireless devices. The importance of Wireless Local Area Networks (WLANs) has grown considerably due to their simplicity of deployment, low cost, and multimedia content support. To further improve the differentiation of services in IEEE 802.11 networks, the IEEE 802.11e [2] amendment was then developed. As a prioritization method, this amendment introduced a new contention-based channel access method, that is, Enhanced Distributed Channel Access (EDCA), to enable Quality of Service (QoS) guarantee for the original CSMA/CA mechanism [3] used in IEEE 802.11 networks.

However, the broadcasting in IEEE 802.11e networks still adopts the Binary Exponential Backoff (BEB) scheme for collisions resolutions, which actually cannot reflect the degree of channel competitions and is unfair to those nodes that did not transmit successfully [4]. Although the IEEE 802.11e standard specifies a set of recommended values of the contention parameters by which the channel competitions among different prioritized services could be alleviated, its static setting is usually unable to meet various QoS requirements in highly complicated and dynamic networks with different traffic loads [5]. For instance, the high network load generally implies an acute channels competition and a high probability of collisions among traffic flows, resulting in the decrease of system performance. On the other hand, under a light network load, the fixed contention parameters may lead to expanded delay and lower channel utilization during channel accessing. Therefore, to achieve a satisfying EDCA performance, an adaptive adjustment protocol is very beneficial to balance the requirements between traffic load awareness and protocol complexity according to the network conditions.

Actually, to increase the performance regarding medium access in IEEE 802.11 networks, many efforts have been made before to improve the BEB based schemes [6]. Some authors also proposed to dynamically adapt CW according to the channel congestion state [7] in order to enhance the network throughput. Based on the previous works, it can be found that there are few works trying to improve the system performance regarding the combination of throughput, channel utilization ratio, packets delivery ratio, and average transmission delay at the same time.

To fill this gap, in our paper, a scheme to improve the IEEE 802.11e WLAN broadcasting performance in terms of the above indexes is proposed through the joint control of the CCA threshold and contending windows. As we know for the original CCA mechanism, when one node is transmitting, all other nodes must wait until it finishes. To check whether the channel is busy or idle, a node has to perform a CCA check. The decision is based on the value of the CCA threshold. If the in-band signal energy crosses this threshold, CCA is held busy until the medium energy is below the threshold [8]. In our work, by adaptively setting the CCA threshold and initial value of the contending windows according to the network condition and priorities of messages, the network performance is significantly enhanced. In summary, the contributions of our work are generalized as follows:(1)At first, we set different initial values of CCA threshold based on different priorities of messages. After that, we use the channel utilization ratio to determine the CCA threshold for a node when transmitting.(2)Both network condition and priorities of messages are taken into consideration to improve the broadcasting performance in a WLAN, via the joint control of the CCA threshold and contending window.

The remainder of this paper is organized as follows. In Section 2, we outline some related works regarding the performance improvement in WLANs. In Section 3, our proposed joint control algorithm is given with reasonable assumptions. In Section 4, our proposed algorithm has been theoretically analyzed using a 1D Markov chain model. Section 5 gives the numerical results and performance evaluations of our model. Our paper is concluded in Section 6 followed by acknowledgements and cited references.

A classic article by Bianchi [9] presented the notion that the performance of the traditional DCF (Distributed Coordination Function) strongly depends on the network conditions, mainly the minimum contending window and number of active stations. In addition, the author further confirmed that the parameters of EDCA are very important for collisions resolution, where different parameter settings not only determine the choice of services’ priorities, but also influence the overall performance of a network [10]. Specifically, under a complicated network condition, the static parameter configuration of EDCA cannot well optimize the system performance [11]. Additionally, some works also demonstrated that the network has a high collision probability in case of heavy traffic load which would lead to an unsatisfying EDCA performance [12, 13].

In [14], the authors proposed a scheme to balance the requirement between throughput and fairness through the estimation to the number of completing nodes and the optimal contending window. This scheme proved that the probability of successful transmission of a broadcasted frame could be improved by up to 50% [15]. In addition, Calì et al. [16] applied the p-persistent backoff algorithm to the IEEE 802.11 networks and showed that it is possible to tune the backoff window size at run time to obtain a capacity very close to the theoretical limit for stations. Their results show that the capacity of the enhanced protocol is very close to the theoretical upper bound [16] in all the configurations analyzed. However, their scheme needs a station to have an exact knowledge of the network contention level which would be very difficult in practice. As a result, a distributed collision resolution scheme, Asymptotically Optimal Backoff (AOB) [17], is proposed based on the estimation of the network contention level in an IEEE 802.11 wireless LAN. The AOB dynamically adapts the backoff window size according to the estimated network load level and guarantees that a WLAN could asymptotically achieve its optimal channel utilization. In [18], the authors proposed a delay-aware self-adaption scheme for the cumulative improvement of both the throughput and the channel access delay at run time. Although the aforementioned works have their cons and pros in terms of system performance improvement under various traffic loads, there are few works studying the schemes to enhance the network performance with respect to the combination of throughput, channel utilization ratio, packets delivery ratio, and average transmission delay in the meantime.

As for the performance optimization upon CCA adjustment, there are also some previous works for IEEE 802.11 networks. Jamil et al. [19] proposed a CCA threshold adaptation scheme to improve the overall throughput in high density WLANs. Their numerical results showed a global gain of 190% in the aggregate throughput compared to the upper bound assumed by the present MAC protocol. In [20], a patent is proposed to dynamically adjust the CCA threshold depending on the type of interferences detected. Numerical results show that the self-adaption of the CCA threshold can considerably improve the network performance at the cost of a longer delay for the processor node to access the channel. The patent also demonstrates that there is no fixed threshold suited simultaneously to both heavy and light channel loads. Therefore, it is very necessary to introduce the dynamic CCA mechanism into present IEEE 802.11 protocol stacks.

In summary, it can be concluded that it is still an active topic even today to enhance the broadcasting performance with varying network loads via the self-adaption of the IEEE 802.11e protocol. From our perspective, the adjustment of the CCA threshold should take the following principles into account:(1)A higher CCA threshold results in more hidden nodes, smaller radio range, and shorter channel access delay.(2)A lower CCA threshold will correspondingly result in lower spatial multiplexing ratio, reduced bandwidth utilization, longer channel access delay, and smaller collision probability.(3)Due to the rapid change of the number of nodes, network topology, and environment, instead of being fixed, the CCA of a network should be adapted to the load conditions for network performance improvement.(4)The CCA threshold should be decided by taking the priorities of messages into account such that the prioritized messages can access the channel at a higher probability.

In our paper, by taking the aforementioned principles into consideration, a model is proposed via the joint control over the contending window and CCA. We first computed the channel utilization ratio according to (1). After that, we set different initial CCA thresholds and contending windows according to the different types of services. Then, the CCA threshold of a specific service is dynamically adjusted according to the observed channel utilization ratio to decide whether the channel is sensed busy or idle. Finally, we set an appropriate CW based on the channel state for a station.

3. The Algorithm for Joint Control over Clear Channel Assessment Threshold and Contending Window

In this section, we will describe our proposed algorithm in detail. To implement our algorithm, the channel utilization ratio is used to classify the network conditions into three categories, that is, low utilization, intermediate utilization, and high utilization cases. In our work, different CCA thresholds and contending windows are set up according to different network conditions and QoS requirements. For readability, the proposed algorithm has been framed as three parts as shown in Figure 1: compute the channel utilization ratio to discriminate the present network condition, initialize the CCA threshold and contending window based on the observed network conditions and messages priorities, and adapt the CCA threshold and contending window to the network conditions by following some specific policies, which will be given later. Each process shown in Figure 1 will be described in detail in Sections 3.1, 3.2, and 3.3, respectively.

3.1. Compute the Channel Utilization Ratio

The channel utilization ratio in our work is defined aswhere denotes the channel utilization ratio, is the number of slots, indicates the channel’s busy time, is the value of , denotes the node backoff duration, and indicates the executing interval of our control algorithm, respectively. With (1), we then could get the channel utilization ratio while estimating the network congestion level. In our work, the network conditions are classified into three categories according to two predefined utilization ratio thresholds, say and .

3.2. Initialize the CCA Threshold and Contending Window

In our work, we define different initial values of the CCA thresholds for messages with different priorities. If the channel utilization ratio is low and the channel resource is underused, a small value of should be chosen to increase the probability of the node successfully accessing the channel. On the contrary, if the channel utilization ratio is high, the transmission attempts from nodes are likely to cause the network to be congested. In this case, assigning a larger value of may reduce the possibility of collisions. Based on the above analysis, the configuration criterion of the contending windows in our work is listed in Table 1.

To reduce the complexity of our algorithm, we only consider priorities of messages while setting up the CCA threshold and neglect the difference between different network conditions. The setting of the CCA threshold for four different prioritized messages is demonstrated in Table 2.

The CCA thresholds for these four types of messages range from to , where and denote the minimum and maximum value of the CCA threshold of the th type services, respectively.

3.3. Adjustment of the CCA Threshold and Contending Window

When the node density is low, the channel utilization ratio is usually low and the spectrum resource is underused. In this case, a higher threshold and a smaller are preferred for the node to increase the probability of successfully accessing the channel. In our work, if the channel is sensed busy, the contending window is increased by a step value larger than 1 but less than 2. On the other hand, in the case of the channel being used efficiently, a smaller and a larger will be employed to avoid the possible collisions. Accordingly, after the node transmits successfully, instead of directly resetting the contending window to , we choose a step value to gradually reduce the contending window until it reaches . The detailed procedure for adjusting the threshold and is described as follows.

(1) In the State of Low Channel Utilization Ratio (). Under this state, the number of nodes is generally small and the channel loads are light. To make full use of the network spectrum, a larger and a smaller initial value of must be chosen to enable the node to access the channel with a higher probability. Meanwhile, while the channel is sensed busy, the contending window will not be increased in a binary manner, but with by a step value larger than 1 and less than 2 until it reaches the maximum value , in order to increase the channel utilization ratio. The details of this procedure are given as follows:(1)At first, the of messages with different priorities will be set to their initial values, that is, . And is set to its minimum value, that is, . To make the node access the channel with a higher probability, the CCA threshold is then set to(2)While the channel is sensed busy, the contending window will not be increased in a binary manner, but by a step value aswhere is a smoothing factor ranging from 1 to 2 and the is the value of the contending window before sensing the channel. After the is gradually increased to , the will remain unchanged if the channel is still sensed busy. Whenever is updated, the node’s backoff timer should be recomputed withwhere denotes the value of the contending window when the node backs off again and indicates a function randomly generating a decimal range from 0 to 1.

(2) In the State of Intermediate Channel Utilization (). Under this state, the channel is properly utilized, so the original backoff scheme is used for the collision resolution as follows:(1)At first, the of messages with different priorities are set to their initial values, that is, , and is set to its minimum value . The CCA threshold is set to(2)When the channel is sensed busy, its contending window is doubled in a binary manner asWhen is gradually increased to , the will remain unchanged if the channel is still busy. Whenever is updated, the node’s backoff timer is recomputed according to (4).

(3) In the State of High Channel Utilization Ratio (). In this case, there are usually numerous nodes contending the channel simultaneously. If the node’s contending window is directly restored to after a successful transmission, the channel competition will be still acute and the average transmission delays will be expanded with a high risk. Therefore, on this occasion, a higher value of should be assigned to each node to alleviate the channel competition. In this way, after a successful transmission, instead of directly resetting the node’s contending window to , we halve it step by step. To reduce the collisions among nodes, the CCA threshold must also be set to a smaller value. The corresponding procedure for CCA adjustment under the high channel utilization case is described as follows:(1)At first, the of messages with different priorities are set to their initial values, that is, . And is set to its initial value . Correspondingly, the CCA threshold is set to(2)When the channel is sensed busy, the contending window is doubled in a binary manner asAfter CW is gradually increased to , let its value remain unchanged when collisions happen again.(3)After a successful transmission of the message, instead of directly restoring the node’s contending window to , we decrease it linearly via a parameter, that is, 0.5, in our paper:After CW is gradually decreased to , let its value also remain unchanged after a successful transmission. Whenever is updated, the node’s backoff timer is recomputed with (5); that is, .

The pseudocode of our whole algorithm is shown in Algorithm 1. At first, we calculate the channel utilization ratio according to the given parameters and set the initial value of threshold and by types of messages and channel conditions. Then, the threshold and were adjusted based on observed channel conditions. Finally, we could derive the backoff timer from the value of .

()    Input: ,
      
()    Output:
()    
()    If then
()    Else if then
()    Else if then
()    Else if then
()    If   then
()     ;
()  ;
()  ;
() If then
()     ;
() If transmission is successful, then
()     ;
() Else if then
()  ;
()  ;
()  ;
() If then
()     , ;
()   If transmission is successful, then ;
() Else if then
()  ;  ;
()  );
()  If then
()     ( (), );
()  If transmission is successful, then
()     ( (), );
() End:
()  ;

4. Theoretical Analysis

In this section, we will give out the theoretical analysis regarding our proposed algorithm. We assume that there are contending nodes in the discussed network. The sending buffers of all stations are saturated; thus, each station always has packets to be sent. Next, we will analyze our algorithm using the 1D Markov chain model [21] as follows.

Let a discrete-time Markov chain denote the node’s backoff timer at time . indicates the th type services. denotes the initial contending window for service which is equal to . The value of can be one of the , and statuses depending on the observed channel status. We assume the probability   , which indicates a station transmitting a packet of the th type service in a virtual slot , is independent of the backoff procedure. Let express the state of each node and indicate the value of the station’s backoff timer in the range . Then, the state transition diagram of our discussed scenario can be given as shown in Figure 2.

As Figure 2 shows, the transition probability from state to state is 1. When is equal to 0, the station begins to transmit data and choose a random backoff timer to access the channel. The one-step transition probabilities are given as follows:

Let be the stationary distribution of the introduced Markov chain which is the node’s backoff timer in state . Then, we have

Therefore, in the steady state, we have

With (12), we can derive as follows:

Since the station will begin to transmit data when the backoff timer is equal to 0, the probability of a station transmitting data in any time slot is denoted as

Therefore, the probability that the channel is sensed busy is given by

Furthermore, the probability that a successful transmission occurs within a slot time is derived as

Let denote the probability that a collision happens. Then, we have

With the aforementioned analysis, once is given, the throughput can be derived as follows:where is the MAC payload size (in bits), is the duration of an empty slot time, is the duration during which the channel is still sensed busy due to a successful transmission, and is the time wasted by a collision, respectively. Note that DIFS + DATA + SIFS + ACK.

Thereupon, the average experienced delay can be estimated as follows. Assume that the total throughput given by (18) is fairly shared by contending stations; thus, the average packet delay is given by

5. Performance Evaluation

Our model is implemented on the NS-2.34 platform [22]. The algorithm is evaluated with the metrics in terms of the average packet transmission delay, packet delivery ratio, and network throughput by varying the vehicular densities. The parameters for network performance evaluation are listed in Table 3. The related thresholds of contending windows referred to in Section 3 are given in Table 4.

In order to accurately evaluate the performance of our proposed model, we have compared our JCCA method with IEEE 802.11e and ACSBM algorithm [23]. The effect of JCCA on packet delivery ratio is shown in Figure 3. It can be noted that, with the increasing of nodes in the network, the packet delivery ratio begins to decline, no matter which method we take. However, the decreasing of the packet delivery ratio of both IEEE 802.11e and ACSBM algorithm is sharper than our JCCA model. Actually, when there are only few nodes contending the network bandwidth, the difference of packet delivery ratio among different methods is very small. However, when there are a great many nodes in the network, the contending window of IEEE 802.11e and ACSBM will be quickly restored to its initial value after successful transmissions. This makes the access competition among nodes more acute due to heavy network load and then causes the packet delivery ratio to decline. Instead, the will decrease gradually to its initial value after successful transmissions using our JCCA protocol, thus reducing the number of contending nodes, as well as increasing the packet delivery ratio.

In Figures 4 and 5, we analyze the impact of our JCCA on average packet transmission delay and network throughput. As shown in Figure 4, at the beginning, the difference of average packet transmission delay among three protocols is smaller. Actually, since only few nodes compete for the channel, the average packet transmission delay will not be expanded too much considering few collisions. When the node density continuously grows, our scheme begins to show the superiority of delay decreasing compared to the other two protocols. Because of lower node density and channel utilization ratio, the contending window of JCCA will not be increased two times but by a parameter larger than 1 and less than 2. In this way, the opportunities for nodes accessing the channel have been increased and the average delay correspondingly decreases. When the node density is higher, unlike IEEE 802.11e and ACSBM, our CCA adaptive and CW slow decreasing mechanisms not only bring more opportunities for nodes to transmit concurrently but also reduce the number of possible collisions through CW control. In Figure 5, when the number of nodes increases, our JCCA always outperform IEEE 802.11e and ACSBM protocol in throughput. The reason is the same as given for Figure 4, where the CCA adaptive adjustment and load-aware CW control bring more chances for nodes to transmit successfully at the same time, therefore increasing the throughput compared with other two schemes.

To show the impact of our CCA adjustment strategy on the packets reception, we also evaluate the packets reception ratio among three protocols in Figure 6 with radio range or distance varying. As shown in Figure 6, the packet reception ratio reduced with the increasing of radio distance for all three protocols. However, it is worth noting that the reduction of packet reception ratio is slower for JCCA compared to IEEE 802.11e and ACSBM protocols. In fact, the adjustment of CCA according to the channel utilization ratio will make our JCCA efficiently use the spectrum resource through intelligent determination of the channel busy/idle state. As a result, although the radio distance setting is directly influencing the packet delivery ratio considering the signal fading and more/few introduced interferences, our JCCA with variable CCA thresholds could outperform the other two protocols at any radio distance.

In Figure 7, the channel utilization ratio of three protocols has been drawn in the box-plot form. A box spans from the first to the third quartile and the median is marked with a line. With the use of congestion or load-aware contention strategy, our JCCA shows the highest channel utilization ratio compared with the other two. This means that our JCCA is competent under different load levels and has better scalability considering node densities, transmitting power, channel fading, and so on.

6. Conclusions

In the traditional WLANs, the fix setting of the CCA threshold leads to issues such as higher packets collisions and lower channel utilization ratios. In this paper, through the adaptive adjustment of the CCA threshold according to the network conditions and message priorities, the level of spatial reuse is improved by which the performance can be significantly enhanced for an IEEE 802.11e network. In addition, since the load-aware contention resolution is introduced, the channel utilization ratio using our JCCA scheme is improved to avoid network congestion. Numerical results show that our schemes could outperform the IEEE 802.11e and ACSBM in terms of packet delivery ratio, average transmission delay, and throughput.

In our future work, we will study the proactive congestion control schemes via transmitting power and packets generation rate control in high dynamic networks such as VANETs.

Competing Interests

The authors declare that they have no competing interests regarding the publication of this paper.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (61201133, 61571338), the National Science and Technology Major Project of the Ministry of Science and Technology of China (2015zx03002006-003, MJ-2014-S-37), the Natural Science Foundation of Shaanxi Province (2014JM2-6089), the National High-Tech R&D Program of China (863 Program-2015AA015701), the Ningbo Huimin Projects of Science and Technology (2015C50047), the Research Collaboration Innovation Program of Xi’an (CXY1522-3), the State Grid Cooperation Project (HX0115014015), and the “111 Project” of China (B08038).