• 沒有找到結果。

EARC: Enhanced Adaptation of Link Rate and Contention Window for IEEE 802.11 Multi-Rate Wireless Networks

N/A
N/A
Protected

Academic year: 2021

Share "EARC: Enhanced Adaptation of Link Rate and Contention Window for IEEE 802.11 Multi-Rate Wireless Networks"

Copied!
12
0
0

加載中.... (立即查看全文)

全文

(1)

EARC: Enhanced Adaptation of Link Rate and

Contention Window for IEEE 802.11 Multi-Rate

Wireless Networks

Ting-Yu Lin, Ching-Yi Tsai, and Kun-Ru Wu

Abstract—IEEE 802.11 wireless network supports multiple

link rates at the physical layer. Each link rate is associated with a certain required Signal-to-Interference-and-Noise Ratio

(SINR) threshold for successfully decoding received packets.

On transmission failures, the 802.11 DCF performs a binary exponential backoff mechanism to discourage channel access attempts, hoping to reduce congestion. When traditional link adaptation is applied, both rate reduction and binary backoff represent double penalties for this wireless link, which may cause overly conservative transmission attempts. On the other hand, once transmission succeeds, 802.11 DCF resets the backoff contention window to the minimum value to encourage channel access attempts. At the same time, traditional link adaptation may also decide to increase the data rate, which leads to overly aggressive transmission attempts. We observe this improper interaction of link rate and backoff mechanism that harms the 802.11 system performance, due to separate consideration of those two parameters. In this paper, we propose to jointly adapt the rate and backoff parameters. Specifically, an Enhanced Adaptation of link Rate and Contention window, abbreviated as EARC, is devised. EARC is a closed-loop (receiver-assisted) link rate adaptation protocol that jointly considers the backoff mechanism. With only one extra byte carried by the DATA packet, EARC incurs little controlling overhead despite its receiver-assisted nature. Moreover, since SINR information commonly utilized by receiver-assisted protocols is not precisely supported in real devices, we introduce a rate selection reference (RSR) table empirically derived by constantly monitoring the environmental energy level and reception behavior. The RSR table then guides the receiver to select the best sustainable rate for the transmitter. Simulation results demonstrate the RSR table is a practical option for making the rate decision, and the proposed EARC approach is effective in maintaining high system throughput, compared to other link adaptation algorithms.

Index Terms—Link adaptation, contention resolution, ARF,

BEB, IEEE 802.11, multi-rate.

I. BACKGROUND

I

EEE 802.11 plays an important role in wireless commu-nications. Due to the development of various modulation techniques and coding schemes, multiple transmission rates are now supported by 802.11 physical layers. For example,

Paper approved by B. Sikdar, the Editor for Wireless Packet Access and Cross-Layer Design of the IEEE Communications Society. Manuscript received March 6, 2011; revised January 9 and February 15, 2012.

The authors are with the Institute of Communications Engineering, Na-tional Chiao Tung University (e-mail: [email protected]). T.Y. Lin is the corresponding author.

This research was co-sponsored in part by the NSC of Taiwan under grant number 99-2221-E-009-006, and in part by the MoE Program Aiming for the Top University and Elite Research Center Development Plan (ATU Plan).

Digital Object Identifier 10.1109/TCOMM.2012.071312.110145

802.11b provides 4 data rates (1, 2, 5.5 and 11 Mbps), while 802.11a/g provides 8 rate options (6, 9, 12, 18, 24, 36, 48 and 54 Mbps). Higher transmission rate means higher potential throughput, because it shortens the transmission time in one transmission attempt. However, higher data rate also implies higher packet corruption probability for receiver re-quires higher Signal-to-Interference-and-Noise Ratio (SIN R) to successfully decode packets. If the SIN R perceived at the receiver is lower than required SIN R threshold, the signal may not be decoded correctly.

Each data rate is associated with a certain SIN R threshold. The method of selecting an appropriate link rate for trans-mitting/retransmitting packets is generally comprehended as the link (rate) adaptation mechanism. Various rate-adaptive algorithms have been proposed [1]–[14]. The most commonly used rate adaptation technique is perhaps auto-rate fallback (ARF), which is widely implemented in present wireless devices [6]. Based on ARF, in the literature, plenty of rate-adaptive mechanisms have been proposed to improve the ARF performance [1], [3], [5], [7], [8], [10], [12], [15], [16]. Rate adaptation can also be combined with tuning other physical parameters such as power or carrier sense threshold [1], [9].

In general, rate-adaptive schemes can be classified into two categories: open-loop and closed-loop approaches. Open-loop approaches perform rate adaptations based on the information of whether ACK message is successfully returned or not, which we call implicit feedback. ARF is such an open-loop strategy that makes the rate adaptation decision based on ACK information [6]. Adaptive Thresholds (AT) mechanism is an enhanced version of ARF, which dynamically tunes the rate upshift and downshift parameters based on link-layer measurements [15]. On the other hand, closed-loop approaches require the receiver to gather extra information such as SIN R statistic and inform the sender via control messages, called

explicit feedback. Consequently, closed-loop approaches may

result in better rate predictions, at the expense of controlling overhead. A representative mechanism in this category is the receiver-based auto-rate (RBAR) protocol [4]. ARF with COLLIE (AC) is another closed-loop approach, which tries to improve the ARF performance by distinguishing collision-based packet losses from packet failures due to weak signal according to metrics provided by the receiver [16]. The above rate adaptation mechanisms do not take the 802.11 backoff algorithm into consideration. When the rate and backoff con-tention window (CW) adjustments are performed separately,

(2)

transmission attempts could be made overly conservative or aggressive. Observing this adverse effect on system through-put, authors in [17] propose a joint adaptation of link rate and contention window protocol, named ARC, to address the problem. ARC is an open-loop approach that tries to exercise link adaptations by firstly considering if a proper backoff win-dow has been reached. In symmetric environments (without hidden terminals), ARC performs well, since the transmitter-estimated backoff window adequately reflects the contention status at the receiver. However, in asymmetric environments (where hidden terminals present), ARC performance degrades due to both the inaccurate backoff window and lack of receiver feedback on a proper transmit rate. In addition, since ARC opts to tune contention window (CW) before rate, when the channel condition suddenly becomes good or bad at the receiver, ARC cannot react quickly enough. Several CW adjustments may occur in ARC before reaching a suitable rate and backoff setting.

In this paper, we propose a closed-loop rate adaptive scheme, entitled EARC (Enhanced Adaptation of link Rate and Contention window), that incorporates the backoff CW adjustment. Though sharing the similar concept of jointly adapting link rate and CW parameters, EARC operates dif-ferently from ARC. First, with receiver feedback, EARC is able to react to rate changes (due to improved or deteriorated channel condition at the receiver) more quickly than ARC. Second, the transmitter-estimated CW value in EARC can be adjusted based on receiver feedback, further giving EARC the capability of maintaining remarkable system performance even in asymmetric settings (where transmitter and receiver have distinct medium congestion views).

The remainder of this paper is organized as follows. In Section II, we review the binary exponential backoff (BEB) mechanism in 802.11 standard, and five rate adaptation works: ARF, AT, AC, RBAR, and ARC. Section III details our EARC protocol. Extensive simulation results and comparisons with other major multi-rate algorithms are provided in Section IV. Section V validates the EARC performance through math-ematical analysis. Finally, in Section VI, we conclude this paper.

II. PRELIMINARIES

A. Back-off Mechanism in 802.11 Standard (BEB)

802.11 standard defines two types of media access mech-anisms: the Point Coordinate Function (PCF) and the Dis-tributed Coordinate Function (DCF). PCF is a centralized polling-based MAC mechanism, which provides contention-free and time-bounded services. On the other hand, DCF is based on CSMA/CA, mandating stations carrier sense the channel media before transmitting packets. In DCF, every station has a backoff contention window (CW) for collision avoidance. Specifically, at the first transmission attempt, CW is set to the minimum value (cwmin). A station generates

a backoff timer uniformly from [0, CW-1], and then starts to count down. When the timer counts down to zero, the station gets the privilege to access the channel. On unsuc-cessful transmission (ACK not returned), a binary exponential backoff (BEB) mechanism is used to relieve the contention

Immediate access when

medium is idleЊDIFS Contention Window

Slot Time

Defer Access Select slot and decrement backoff as long as medium is idle DIFS Busy

Medium PIFS

DIFS

SIFS Backoff Window Next Frame

Fig. 1. IEEE 802.11 MAC mechanism.

level. In particular, the station has to double its CW size

until CW reaches the maximum CW (cwmax) value. On

successful transmission (ACK returned), DCF resets CW back to cwmin. As several previous works have pointed out, the

BEB mechanism in 802.11 DCF does not adapt to the wireless environment wisely [18]–[22]. The 802.11 MAC operations are illustrated in Fig. 1.

B. Auto-rate Fallback (ARF)

ARF is the most widely implemented rate-adaptive scheme. It was originally used in WaveLAN-II devices, one of the early 802.11 products [6]. The key algorithm of ARF is that sender attempts to upgrade its transmission rate after suc-cessfully receiving 10 consecutive ACK frames, whereas the sender switches to a lower rate if it encounters 2 consecutive unsuccessful transmissions (i.e., missing ACK frames or the sender waits longer than timeout). If there is no traffic that has been sent for the present time, then station transmits packet with the highest possible rate. Although ARF is easy to implement, it has one attendant drawback: ARF can not work efficiently under stable or fluctuated channel conditions. That is, either it will constantly try to upgrade the transmission rate (which SIN R cannot support), leading to unnecessary packet collisions, or can not react quickly enough to match the fluctuated channel conditions.

C. Adaptive Thresholds (AT)

Observing the problem of using fixed up/down-thresholds without considering time-varying wireless channel characteris-tics and the impact of link-layer collisions, AT aims to enhance the performance of ARF rate adaptation protocol [15]. Since frame collisions cannot be easily distinguished from channel errors according to missing IEEE 802.11 ACKs, chances are the ARF rate control usually results in unnecessary rate downshifts when channel noise is actually low. To improve the responsiveness of channel variations and mitigate the impact of transmission failures induced by link-layer collisions, the authors in [15] propose a run-time adaptive algorithm to dynamically adjust the up/down-thresholds in ARF based on link-layer measurements. The design philosophy behind AT is to discourage rate downshifts (by setting a higher value for down-threshold) when the number of contending stations increases and reduce rate upshifts (by using a higher value for up-threshold) when contention decreases.

D. ARF with COLLIE (AC)

Also targeting on improving ARF performance, AC intends to exercise wireless packet loss diagnosis so that transmission

(3)

failures caused by link-layer collisions or channel errors (weak signal) can be distinguished [16]. AC statistically analyzes received data through a combination of various metrics such as bit-level and symbol-level error patterns and received signal strength. When the packet loss is diagnosed as an event caused by collision, AC adjusts the contention window (CW) parameter according to the binary exponential backoff (BEB) algorithm used in 802.11 DCF. On the other hand, when the packet loss is determined due to weak signal, AC triggers ARF rate control mechanism. The essential operation of AC greatly depends on the AP module’s capability of identifying the true cause of a packet loss and invoking the correct method of adaptation in real-time, which incurs significant per-packet overhead and considerable bandwidth waste when inaccurate diagnosis takes place.

E. Receiver-based Auto-rate (RBAR)

RBAR is a receiver-based rate-adaptation mechanism [4], which makes the rate adaptation decision based on channel quality estimated at the receiver and informs the sender via RTS/CTS handshaking mechanism. In RBAR, receiver utilizes RTS packet to obtain the RSSI information, and then selects an appropriate data rate provided in CTS to inform the sender. The rate handshaking is confirmed by another Reservation SubHeader (RSH) control message from the sender. Two main drawbacks exist in the RBAR protocol. One is the controlling overhead caused by rate negotiation on a per-packet basis. The other is the fact that RSSI estimation is not precisely supported in most wireless devices, reducing the practical feasibility of RBAR protocol.

F. Adaptation of Link Rate and Contention Window (ARC)

ARC is an open-loop rate adaptation protocol that jointly considers the contention window adjustment [17]. The ARC protocol estimates the optimal contention window (optCW ) based on Cal´i’s approximation methods. On transmission successes (failures), the current contention window size cwpis

compared with optCW . If cwp > optCW (cwp < optCW ),

then cwp is decreased (increased) to perform more aggressive

(conservative) transmission attempts while leaving the link rate R unchanged. Otherwise, R is upgraded (reduced) to the next higher (lower) rate. Due to its open-loop nature and tuning contention window first, ARC may encounter several transmission failures before reaching a proper backoff and rate setting. In addition, the transmitter-estimated optCW in ARC does not always reflect the contention level at the receiver under asymmetric networking environments.

III. OUREARC PROTOCOL

In this section, we present the operation details of the proposed EARC protocol. Section III-A points out the problem of separately tuning link rate and contention window. Sec-tion III-B provides an overview of EARC protocol, and we elaborate on the EARC-related algorithms in Section III-C.

tx

Fig. 2. DATA and ACK packet formats used in our EARC protocol (the shaded areas are specifically utilized by the EARC algorithm).

A. Problem Statement

In wireless networks, successful data reception is mainly dependent on the Signal-to-Interference-and-Noise Ratio (SIN R) at the receiver. IEEE 802.11 supports multiple link rates at the physical layer. Each link rate is associated with a certain required SIN R threshold for successfully decoding re-ceived packets. Collectively, we define the sum of interference and noise power (N + I) as the accumulated environmental energy E. Suppose no power adjustment exists, apparently

SIN R is solely affected by the environmental power level E.

Traditional link rate adaptation approaches try to reduce the transmit rate (hence lower SIN R threshold is required) on transmission failures (potentially due to increased E), whereas upgrade the transmit rate (hence higher SIN R threshold is required) on successful transmissions (potentially due to decreased E). The accumulated environmental power level

E in some sense indicates the medium congestion status. In

802.11, on transmission failures, the DCF performs a binary exponential backoff mechanism to discourage channel access attempts. When traditional link adaptation is applied, both rate reduction and binary backoff represent double penalties for this wireless link, which may cause overly conservative transmission attempts. On the other hand, once transmission succeeds, 802.11 DCF resets the backoff contention window to the minimum value to encourage channel access attempts. At the same time, traditional link adaptation may also decide to increase the data rate, which leads to overly aggressive transmission attempts. We observe this improper interaction of link rate and backoff mechanism that harms the 802.11 system performance, due to separate consideration of those two parameters.

B. Protocol Overview

Motivated by the above observations, rather than indepen-dently dealing with the two parameters, we propose to jointly consider the link rate and contention window adaptations in a unified framework. In particular, a closed-loop (receiver-assisted) link rate adaptation strategy that also takes contention window adjustment into account, entitled EARC, is developed to improve IEEE 802.11 system capacity. As reviewed in Section II-A, 802.11 DCF is essentially a CSMA scheme,

(4)

TABLE I

optCWESTIMATION FORIEEE 802.11B M pr1

opt optCWr1 propt2 optCWr2 poptr3 optCWr3 propt4 optCWr4

10 0.0112 177 0.0155 128 0.0243 81 0.0320 61 15 0.0074 271 0.0102 196 0.0159 125 0.0210 94 20 0.0055 364 0.0076 263 0.0119 168 0.0157 127 25 0.0044 458 0.0060 331 0.0094 211 0.0125 159 30 0.0036 551 0.0050 398 0.0078 254 0.0104 191 35 0.0031 645 0.0043 466 0.0067 297 0.0089 224 40 0.0027 738 0.0037 533 0.0059 340 0.0078 256

which mandates a station sense (detect) the wireless channel before attempting to transmit. Only when the sensed (detected) energy is below carrier-sense threshold does a station prepare to carry out its access attempt. EARC taps into this charac-teristic and lets each station constantly keep track of detected energy levels. In this manner, the environmental energy level

E (as mentioned in Section III-A) can be obtained based on

recent energy statistics averaged in a certain time interval1. For

some communication pair tx (transmitter) and rx (receiver), define Etx and Erx as the environmental energy level at

the transmitter and receiver, respectively. By comparing Erx

to Etx, a receiver is able to infer the medium congestion

difference between the two sides, further utilized to assist in rate selection and contention window adjustment. This energy information is only approximate, yet useful for resolving the problem of asymmetric (different) congestion views compre-hended by tx and rx. Therefore, we propose to piggyback the

Etx information in DATA packet, as shown in Fig. 2, so that

our EARC algorithm at the receiver can utilize this information to perform contention window tuning for the transmitter. Feed-back from the receiver is then carried by the ACK packet Feed-back to the transmitter. Rather than creating extra overhead, EARC uses the reserved fields (5 bits in total) in PLCP header to carry the feedback, as depicted in Fig. 2. On acquiring the feedback from receiver, our EARC algorithm at the transmitter alters the transmit rate or contention window size accordingly. When performing rate and contention window (CW) adaptations at the receiver, EARC first estimates whether the current transmit rate is the best sustainable choice under the latest observed environmental energy Erx. A new rate will be suggested if

the current rate is not the best one. Otherwise, EARC moves on to evaluate whether the CW needs to be adjusted, based on the difference of Etx and Erx. Details on related EARC

algorithms are immediately provided in Section III-C.

C. EARC Algorithms

Suppose R different rates are supported at the physical layer, denoted as rate r1, r2, . . . , rR (in the order of

increas-ing rate). Initially, the transmitter uses an estimated optimal contention window (optCWrR) for the highest supported

rate rR, and transmits DATA at this rate after the backoff 1Note that the environmental energy level for a node (obtainable from the device RSSI reading) means the accumulated power strength (transmission energies produced by both successful and lost/corrupted packets over a wireless channel) contributed by surrounding activities (including collision events that lead to lost/corrupted packets) in this node’s neighborhood.

mechanism completes. The estimation of optCWri for some

transmit rate ri is based on an extended model of Cal`i’s

analytical approximations [18], presented in Section III-C1. When DATA packet arrives at the receiver, necessary EARC operations are described in Section III-C2. On the other hand, Section III-C3 details the EARC reactions to both cases (whether the transmission succeeds or fails) at the transmitter.

1) optCW Estimation: For analytical tractability, the

authors in [18] consider a p-persistent version of 802.11 DCF, where p = E[B]+11 and E[B] is the average backoff slots. Parameter p is appropriately termed as the attempt

probability. Define the protocol capacity ρ = mtvri, where

mri is the packet (message) transmission time at rate

ri and tv is the virtual transmission time (time between

two consecutive successful transmissions, as illustrated in Fig. 3). Denote E[Nc] as the expected number of

collisions, E[Coll], E[Idle], and E[Succ] as the expected time durations of each collision, idle period, and successful transmission, respectively. Now we can express tv as follows,

] [ ] [ ) 1 ] [ ( ) ] [ ( ] [ ] [ ] [ ] ) ( [ 1 1 Succ E Idle E N E t t t Coll E N E Succ E Idle E t t t Coll Idle E t c DIFS ACK SIFS c N N i ACK SIFS DIFS i i v c c  ˜      ˜       

¦

where tDIF S, tSIF S, and tACK represent the time durations

of 802.11 DIFS, SIFS, and ACK transmission separately. For some transmit rate ri, E[Coll] and E[Succ] can be

approximated as E[Coll] = mri (packet transmission time)

and E[Succ] = mri + tSIF S+ tACK + tDIF S (neglecting

propagation delay). Suppose there are M active nodes in the transmission neighborhood, based on probability computations, E[Nc] and E[Idle] can be derived as

E[Nc] = 1 − (1 − p) M M p(1 − p)M−1 − 1, (1) E[Idle] = (1 − p) M 1 − (1 − p)M × tslot, (2)

where tslot is the slot time.

Our ultimate goal is to minimize virtual transmission time

tv, such that the protocol capacity ρ can be maximized. As

il-lustrated in Fig. 3 (right), tvis a function of attempt probability p, and the optimal p (pri

opt) at rate ri for some given M exists

at the transitional point (bottom) of tv curve. The results from

[18] suggest that an optimal transmission attempt probability (pri

opt) at rate ri can be obtained by observing number of idle

slots and active nodes (M ) within the transmission range. Recall that attempt probability p = E[B]+11 , where E[B] is

(5)

Successful Transmission

Virtual Transmission Time

tv Attempt Probability p DIFS Idle Idle DIFS Collision Collision Idle

Virtual Transmission Timetv

Fig. 3. Definition of the virtual transmission time in p-persistent IEEE 802.11 protocol, and resultant virtual transmission time from different attempt probability settings under various numbers of active nodes all using transmission rate at 1 Mbps.

the average backoff slots. Suppose E[CW ] is the expected contention window size, hence E[B] = E[CW ]−12 . Now the attempt probability can be re-formulated as p = E[CW ]+12 , or equivalently E[CW ] = 2p − 1. Consequently, for some obtained pri

opt, the corresponding optimal contention window

size (optCWri) can be approximated as

optCWri = 2

pri

opt

− 1. (3)

We run several simulation experiments to estimate the

optCWri for various numbers of active nodes under four

802.11b rates based on this method in ns-2 simulator. Table I shows some of the results, where r1= 1 Mbps, r2= 2 Mbps, r3= 5.5 Mbps, and r4= 11 Mbps.

2) Receiver Operations: Given the Etxinformation carried

by DATA packet and Erx measured at the receiver, EARC

determines how to adjust the rate and backoff parameters. Recall the ACK packet format shown in Fig. 2. Three EARC-related fields (reserved bits in PLCP header) are defined: EARC Rate Flag, EARC CW Flag, and EARC Control. If EARC algorithm at the receiver concludes that the current transmit rate is not the best one, then EARC Rate Flag is set

true, and EARC Control contains the suggested rate (totally

8 rates can be represented given 3 bits in EARC Control). If there is no need to adjust the rate, EARC Rate Flag is set false, and EARC algorithm moves on to evaluate whether the backoff parameter (CW size) should be adjusted. If the perceived environmental energy level Erx measured at the

receiver is different from transmitter-measured Etx, indicating

asymmetric (inconsistent) contention views, EARC sets CW Flag true and provides suggested CW adjustment quantity in EARC Control field. Otherwise, EARC CW Flag is set false, and the value of EARC Control becomes meaningless (neither rate nor CW need be adjusted). Below we describe the specific process of configuring the three fields executed by EARC algorithm at the receiver.

In order to select the best sustainable rate, we introduce a Rate Selection Reference (RSR) table. Since the SIN R value is not practically obtainable by current hardware functionality, EARC at the receiver does not perform the rate selection

Erx

Erx

-10

Fig. 4. Illustration of obtaining sensed energy level Erx and the empirically derived rate selection reference (RSR) table (subject to changes as channel condition varies) at the receiver.

using SIN R2. Instead, the receiver maintains a rate selection

reference (RSR) table, illustrated in Fig. 4 (bottom), which is empirically constructed based on recent reception behavior. The RSR is essentially a table that indicates the best suggested rates for different ranges of receiver-measured environmental energy levels (Erx). In the example of Fig. 4, Erxis obtained

from 10 sampling values of detected energy averaged in the latest 0.5-second time interval, which turns out to be 2.28e-10 Watt. Given the Erx value, EARC algorithm at the receiver

concludes that 5.5 Mbps is the best rate to use.

The initial RSR table can be constructed experimentally. In our approach, we set up a nominal environment containing a transmission pair with communication distance of 80 meters. By fixing the transmit power at 9.947e-2 Watt, we raise the environmental noise/interference power from 0 to 6e-10 Watt in the simulator. Given frames (packets) of size equal to 1000 bytes sent continuously at four different transmission rates,

2On receipt of a packet, the RSSI (Received Signal Strength Indicator) reading provided by off-shelf IEEE 802.11-based wireless modules contains accumulated energy level (S+N+I). We are unable to discern the difference between received signal strength (S) and interference/noise power level (N+I) from the RSSI reading, making SINR (ratio) value difficult/unrealistic to obtain [23], [24].

(6)

1.5 3.3 4.2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0.63 1.03 1.43 1.83 2.23 2.63 3.03 3.43 3.83 4.23 4.63 5.03 Detected Energy Level (e-10 Watt)

Frame Error Rate

0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 0.63 1.03 1.43 1.83 2.23 2.63 3.03 3.43 3.83 4.23 4.63 5.03 Detected Energy Level (e-10 Watt)

Fra m e E rro r R at e 11 Mbps 5.5 Mbps 2 Mbps 1 Mbps 11 Mbps 5.5 Mbps 2 Mbps 1 Mbps FER Threshold FER = 0.0769 clo se-up

Fig. 5. Relationship of FER against environmental energy level (left) and identifying corresponding energy thresholds in RSR table (right).

the corresponding frame error rate (FER) can be computed at each sampling point with pre-configured noise power level. After combining these measurements and applying appropriate interpolation method, the relationship between FER and envi-ronmental energy level can be quantified, as shown in Fig. 5 (left). In order to sustain a bit error rate (BER) below 1.0e-5, or equivalently FER under 0.07693, as specified in the IEEE

802.11 standard, we identify the corresponding three energy thresholds for the four rates: 1.5e-10, 3.3e-10, and 4.2e-10 Watt, as illustrated in Fig. 5 (right). The result implies that when the detected energy level is over a certain threshold, the next lower rate should be used to ensure a BER below 1.0e-5. Consequently, the RSR table as displayed in Fig. 4 is generated. Note that the RSR table is subject to changes as the receiver learns and updates by monitoring recent re-ceiving activities from some specific transmitter. Initially, a receiver uses the same default RSR table for all transmitters. Then as time advances, those RSR tables are evolved and customized through receiver’s learning mechanism. By con-stantly measuring/sampling environmental energy levels and recording reception activities into RSR table at the receiver, we tactfully avoid using SINR to infer the best rate. Although the empirically constructed RSR table may not be always accurate in determining a rate, such inaccuracy is allowed and tolerable since rate is not the only parameter in EARC adaptation algorithm. Certain imprecision in rate prediction can actually be fixed by tuning the corresponding CW parameter properly. As we can observe from our simulations (in Section IV), the RSR table indeed provides a good rate selection reference.

Suppose the current transmit rate is ri and receiver

sug-gested rate is rj. If ri is not equal to rj, then the receiver sets

EARC Rate Flag true, and corresponding 3-bit EARC Control, defined as b1b2b3, with value(b1b2b3) = j − 1. On the other

hand, if ri = rj, meaning that the best rate is already in use,

the receiver then looks at the energy difference Edif f between Erx and Etx. Define Edif f = ErxE−Etxtx. Generally speaking,

rate adaptation is effective in resolving the collisions due to

concurrent transmissions (with transmitters locating outside of

each other’s carrier-sense range), but ineffective in reducing collisions due to simultaneous transmissions (inside carrier-sense range). The latter can be alleviated by increasing the contention window size to discourage transmission attempts in

3FER = 1 − (1 − 1.0e − 5)8000 = 0.0769, given BER = 1.0e − 5 and frame size of 1000 bytes.

the collision zone. Thus contention window tuning is also crit-ical for system performance. As presented in Section III-C1, an optimal contention window (optCWri) at rate r

i can be

approximated based on Cal`i’s analytical model. However, the transmitter-estimated optCWri does not necessarily reflect

the contention status at the receiver. As a result, the receiver utilizes Edif f to assist in tuning transmitter’s CW value to

fur-ther increase the transmission success probability. Specifically, when Edif f is positive, indicating energy (contention) level

at the receiver is higher than that at the transmitter, the CW value should be increased to reduce contention. In contrast, when Edif f is negative, implying contention level is lower at

the receiver than that at the transmitter, the CW value can be decreased to encourage more aggressive transmission attempts. Consequently, the receiver sets EARC CW Flag true and the first bit (b1) of EARC Control as follows,

b1=  1 if Edif f > 0 0 if Edif f < 0  . (4)

Next, we utilize the rest two bits (b2b3) of EARC

Con-trol to indicate the CW adjustment quantity for transmit-ter. Suppose K values can be represented (in our case

K = 22 = 4 given two bits b2b3 are available).

We define K boundaries (0,K1,K2, . . . ,K−1K ) for possible

Edif f values. When |Edif f| lies between any two

bound-aries or beyond the largest boundary, the receiver con-figures the value of b2b3 in EARC Control as follows,

°¯ ° ® ­    d  d  otherwise 1 ) 1 0 ( & & ) 1 ( if ) ( 2 3 K K k K k E K k k b b value diff

Table II summarizes all possible cases of Edif f and

corre-sponding settings on EARC CW Flag and EARC Control bits when EARC Rate Flag is set false.

We provide the pseudocode for receiver EARC operations in Algorithm 1. Based on the values of EARC Rate Flag, EARC CW Flag, and EARC Control contained in ACK packet, the transmitter is able to perform the rate and contention window adjustment accordingly.

3) Transmitter Operations: Once the ACK packet successfully returns from the receiver, the transmitter first checks if EARC Rate Flag is set true. If yes, rate and CW are configured to rb+1 and optCWrb+1 respectively, where b = value(b1b2b3). If EARC Rate Flag is set false, then

(7)

TABLE II

ALL CASES OFEdiffAND CORRESPONDINGEARC CW FLAG AND CONTROL BITS WHENRATEFLAG= false

b1 b2 b3 0 < Ediff˺ 25% 0 0 25% < Ediff˺ 50% 0 1 50% < Ediff˺ 75% 1 0 75% < Ediff 1 1 -25% ˺Ediff< 0 0 0 -50% ˺Ediff< -25% 0 1 -75% ˺Ediff< -50% 1 0 Ediff< -75% 1 1 Ediff= 0 false 0 true don't care 1 EARC Control Possible Cases EARC CW Flag

Algorithm 1 EARC Algorithm at Receiver

1: while (DATA packet transmitted at rateri received) do

2: Look up the RSR table and decide a best sustainable raterj

based onErx;

3: if (i != j) then

4: EARC Rate Flag set to true;

5: Set value(b1b2b3) =j − 1 in the EARC Control field;

6: else

7: EARC Rate Flag set to false;

8: CompareErxwithEtxand calculateEdif f;

9: if (Edif f == 0) then

10: EARC CW Flag set to false; 11: else

12: EARC CW Flag set to true; 13: if (Edif f< 0) then 14: Setb1 = 0; // to decrease CW 15: else 16: Setb1 = 1; // to increase CW 17: if ((k K < |Edif f| ≤ k+1 K ) && (0≤ k < K − 1)) then 18: Set value(b2b3) =k; 19: else 20: Set value(b2b3) =K − 1;

21: Return ACK packet back to transmitter;

check the EARC CW Flag. If EARC CW Flag is also false, then the present CW value, denoted cwp, remains. Otherwise,

the transmitter should adjust the CW value by setting ࢉ࢝࢖= ە ۖ ۔ ۖ ۓ࢕࢖࢚࡯ࢃ࢘࢏ቆ૚ +૛ ή ࢜ࢇ࢒࢛ࢋ(࢈૛࢈૜) + ૚ ૛ࡷ ቇ ࢏ࢌ ࢈૚= ૚ ࢕࢖࢚࡯ࢃ࢘࢏ቆࢻ + (૚ െ ࢻ)(૚ െ૛ ή ࢜ࢇ࢒࢛ࢋ(࢈૛࢈૜) + ૚ ૛ࡷ )ቇ ࢏ࢌ ࢈૚= ૙ where 2·value(b2b3)+1

2K is basically the middle value of two

boundaries that |Edif f| lies between, and α is a weighing factor in the range of [0, 1). The use of α allows us the flexibility of bounding CW tuning within a reasonable range, avoiding too aggressive reduction in CW value. For example, if α = 0.5, the CW reduction quantity will never exceed half of the optimal contention window size (optCWri) at

rate ri. On the other hand, from cwp formulation, we can

observe that the increased CW value will never exceed twice of optCWri. In this manner, we limit the CW adjustment to

avoid too drastic changes.

If, unfortunately, ACK does not return (or DATA packet simply fails to reach the receiver), the transmitter has no receiver feedback to assist in the rate and CW adaptation. In this case, the transmitter compares cwp with optCWri,

and increases cwp to optCWri if cwp < optCWri, letting

rate stay at ri. The design rationale is trying to impose a

larger backoff window on future transmission, hoping the next transmission can succeed without the need to decrease rate. However, if cwp ≥ optCWri, then the transmitter should

decrease rate to the next lower one (or maintain the rate if it is already the lowest). Meanwhile, cwpis set to the optimal

CW value at the lower rate.

Algorithm 2 summarizes EARC operations at the transmit-ter. Note that the feedback from the receiver takes effect on the next DATA packet (including retransmitted packet) to be sent by the transmitter within a certain time interval (timeout). In case the next DATA packet arrives after timeout expires, the corresponding rate and CW settings become invalid, and the transmitter resets transmit rate to the default rate rR (the

highest supported rate) and CW at optCWrR.

Algorithm 2 EARC Algorithm at Transmitter After DATA Has Been Sent to Receiver Using Rate ri

1: Suppose cwp is the current CW setting for this particular

receiver;

2: if (ACK returned) then

3: if (EARC Rate Flag == true) then 4: Obtainb = value(b1b2b3);

5: Setrnext=rb+1;

6: Setcwp=optCWrb+1;

7: else

8: Setrnext=ri;

9: if (EARC CW Flag == true) then 10: switch (b1b2b3)

11: case 100: Setcwp=optCWri×(1 + 12.5%);

12: case 101: Setcwp=optCWri×(1 + 37.5%);

13: case 110: Setcwp=optCWri×(1 + 62.5%);

14: case 111: Setcwp=optCWri×(1 + 87.5%);

15: case 000: Setcwp=optCWri×(α + (1 - α)(1-12.5%));

16: case 001: Setcwp=optCWri×(α + (1 - α)(1-37.5%));

17: case 010: Setcwp=optCWri×(α + (1 - α)(1-62.5%));

18: case 011: Setcwp=optCWri×(α + (1 - α)(1-87.5%));

19: else 20: if (cwp< optCWri) then 21: Setcwp=optCWri; 22: Setrnext=ri; 23: else 24: if (i > 1) then 25: Setrnext=ri−1;

26: Setcwp=optCWri−1;

27: else

28: Setrnext=ri;

29: Setcwp=optCWri;

30: if (next DATA packet destined for this particular receiver arrives

before timeout expires) then

31: Pick up the backoff timer from [0,cwp-1] and starts to count

down;

32: Transmit the DATA packet at raternext;

33: else

34: Pick up the backoff timer from [0, optCWrR-1] and starts to

count down; //rRis the highest supported rate

35: Transmit the DATA packet at raterR;

IV. SIMULATIONRESULTS

In this section, we run simulations in the ns-2 simulator (version 2.34). We add our EARC module in the dei80211mr library that supports 802.11b multi-rate PHY. Four link rates are available: 1, 2, 5.5, and 11 Mbps. Friis radio propagation

(8)

200m 200m 9 10 5 7 6 8 1 3 2 4 19 20 15 17 16 18 11 13 12 14 29 30 25 27 26 28 21 23 22 24 39 40 35 37 36 38 31 33 32 34 49 50 45 47 46 48 41 43 42 44 59 60 55 57 56 58 51 53 52 54 69 70 65 67 66 68 61 63 62 64 79 80 75 77 76 78 71 73 72 74 0 0.5 1 1.5 2 2.5 3 3.5 4 10 15 20 25 30 35 40 Number of Flows Aggregate Throughput (Mbps)

EARC ARC RBAR

BEB (11 Mbps) BEB (5.5 Mbps)

ARF

AC AT

Fig. 6. Performance comparison in a symmetric environment.

model is used. CBR traffic (sending rate = 1 Mbps) is generated with packet size of 1000 bytes. Transmit power is fixed at 9.947e-2 Watt. We let every node randomly start transmission within the time range from 0 to 0.2 seconds to reduce initial collisions. MAC parameters cwmin = 32 and cwmax= 1024 are used. Total simulation time is 20 seconds.

Each statistic is obtained from the average of 20 experiments. For comparison purpose, we also implement BEB (with fixed rate at 11 and 5.5 Mbps respectively), ARF, AT, AC, RBAR, and ARC mechanisms. For BEB, ARF, AT, AC, and RBAR, the default binary exponential backoff is used as the CW adjustment strategy. Except for BEB, which has link rate fixed at 11 and 5.5 Mbps, all mechanisms set their starting link rate at 11 Mbps.

A. Symmetric Environment

Fig. 6 (upper) depicts the simulation environment, where nodes are randomly placed in a 200x200 square-meter rectan-gular area. A maximum of 40 traffic flows are generated with the average communication distance at 80 meters. In this en-vironment, the contention level at the transmitter is consistent with that comprehended by the receiver (most of the time), to which we refer as a symmetric environment. Fig. 6 (lower) shows the system throughput against number of flows for dif-ferent approaches performed in this symmetric environment. We observe that our EARC outperforms other strategies, while BEB (11 Mbps) produces the worst performance. ARF and

ARF-based approaches (AT and AC) perform slightly better than BEB. By jointly adjusting the rate and CW parameters, ARC yields the second best aggregate throughput. Due to its open-loop nature (without receiver feedback), ARC is unable to react to the varying channel as quickly as EARC does. On the other hand, although RBAR incorporates receiver feedback to assist in rate selection, the system throughput achieved by RBAR is not as high as EARC due to the controlling overhead and binary exponential backoff mechanism used by RBAR. This result demonstrates the importance of designing the rate and CW parameters in a unified framework at the cost of moderate controlling overhead (only one extra byte to carry

Etx in our EARC design). Consequently, EARC improves

the performance of ARC and RBAR by 5.7% and 15.6% in average. Compared to ARF (the most commonly implemented rate adaptation mechanism in real devices), EARC produces system throughput around 2.2 times that achieved by ARF-based mechanisms.

In order to have a better understanding of the detailed link rate and CW adaptation process, we provide the link rate utilization and CW statistics, for the case of 40 flows, in Fig. 7. From the statistics, we observe that EARC and ARC use more CW values, while CW used by other strategies only takes on a few values due to binary exponential backoff mechanism. Except for BEB (11 and 5.5 Mbps), all four rates are used. Interestingly, for EARC and RBAR, the largest proportion of rate setting is both at 2 Mbps, despite that the rate selection mechanisms adopted by RBAR and EARC are different. In RBAR, the best rate is selected based on SIN R value, which is obtainable in simulator but not accurately supported by current hardware. In contrast, EARC decides on the best sustainable rate according to the RSR table derived from real reception history, which is practically implementable. This result implies that the RSR table introduced in EARC does good judgement without the need to obtain SIN R, and thus represents a promising option for rate determination. For ARC, the most used rate is 11 Mbps (the highest rate) due to its protocol nature of always tuning CW before rate. For ARF, the majority of rate setting is at 1 Mbps (the lowest rate). Due to the protocol nature of ARF, it is easier to decrease rate (on 2 consecutive failures) than to increase rate (on 10 consecutive successes). Consequently, it becomes harder for ARF to bounce back to a higher rate in heavily contended environment. AT improves this drawback by adaptively using a smaller up-threshold in a contended environment (actually the down-threshold tends to remain larger than up-threshold when the number of contending stations is over 10), leading to the most used rate set at the highest 11 Mbps. However, the improvement over ARF is quite limited, since it is not always advantageous to transmit at fast rates when the contention is high. Instead, by using lower rates and setting appropriate CW values, many collisions between contending stations can be effectively resolved (as in the strategy adopted by our EARC). For AC, the highest 11 Mbps and the lowest 1 Mbps are used with comparatively equal probability. By distinguishing the packet loss causes and taking corresponding actions (tuning CW or rate parameters), AC performs better than ARF but in an insignificant way due to its considerable per-packet diagnosis overhead. Moreover, when the judgement of packet

(9)

100%

100%

CW Statistics

Link Rate Utilization 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% EARC 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% ARC 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% RBAR 1 Mbps 2 Mbps 5.5 Mbps 11 Mbps 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% BEB (11 Mbps) 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% EARC 144 176 191 208 233 240 256 276 299 318 340 433 467 480 499 533 599 637 732 738 866 999 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% ARC 32 42 52 62 72 82 92 102 112 122 132 142 152 162 172 182 192 202 212 222 232 242 252 262 272 282 292 302 312 322 332 342 352 362 372 382 392 402 412 422 432 442 452 462 472 482 492 502 512 522 532 542 552 562 572 582 592 602 612 622 632 642 652 662 672 682 692 702 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% RBAR 1024 512 256 128 64 32 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% BEB (11 Mbps) 1024 512 256 128 64 32 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% BEB (5.5 Mbps) 1024 512 256 128 64 32 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% ARF 1024 512 256 128 64 32 100% 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% AT 1024 512 256 128 64 32 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% AC 1024 512 256 128 64 32 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% AC 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% AT 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% ARF BEB (5.5 Mbps)

Fig. 7. Investigation of CW settings and link rate utilization when 40 flows are randomly generated in a symmetric environment.

loss causes turns out to be incorrect, extra resource penalty paid by AC is costly and cannot be ignored. The above observations reveal that the rate or CW parameter alone is incapable of handling various failure sources. Both parameters should work cooperatively in order to push the system capacity limit.

B. Asymmetric Environment

Now we conduct another set of simulations in an asym-metric environment. Specifically, if hidden terminals exist in the network, the observed contention status at the transmitter is different from that at the receiver, to which we refer as the asymmetric environment. Such inconsistent contention comprehension can invalidate the transmitter-estimated CW setting. In Fig. 8, we create two types of asymmetric environ-ments to reflect different contention levels perceived by the transmitter and receiver. We randomly generate 20 flows in such an environment. With inconsistent views, T20R30 is used to express the perceived numbers of active nodes at the trans-mitter and receiver are 20 and 30, respectively. Six different configurations of the 20 flows are experimented. Fig. 9 shows the system throughput produced by different strategies under the six flow configurations. EARC still performs the best, but ARC degrades due to its inability of properly handling the asymmetric condition, where receiver feedback is essential.

Although having receiver feedback, performance achieved by RBAR is limited by its communication overhead and lack of incorporating appropriate CW adjustment. Collectively, EARC performs better than ARC and RBAR by around 21%, and has the potential to improve the performance of ARF-based approaches by 1.8 times in average.

From the above simulations, we also observe that the joint CW adjustment effectively maintains rate stability, preventing unnecessary rate fluctuations. Specifically, if the medium congestion level can be reduced by imposing a larger backoff window on transmissions, then there may be no need to decrease the link rate. Conversely, if there is extra interference that may be tolerated, a smaller backoff window can be used to encourage more transmission activities while keeping the rate intact.

V. MATHEMATICALANALYSIS

We build a Markov chain model to evaluate the EARC performance4. Similar methodology has been used by [25]–

[29]. However, those works deal with CW and link rate independently. In [25], [28], the authors analyze the fixed rate

4In the current work, we assume a relatively static environment. We will investigate the mobility-incurred channel dynamics issues when developing our future performance enhancement protocols and report possible interesting findings in a subsequent paper.

(10)

R R R R R R R R R R R R R R R R R R R 250m 25 0m R T T T T T T T T T T T T T T T T T T T T 250m 25 0m R T R R R R R R R R R R R R R R R R R R R T T T T T T T T T T T T T T T T T TT

Fig. 8. Asymmetric environments with more contending stations at the transmitter (upper) and more contending stations at the receiver (lower).

802.11 DCF throughput, whereas authors in [26], [27], [29] study the DCF performance under multi-rate environments. Due to the jointly adaptation of link rate and DCF CW size in EARC protocol, we basically extend the Markov chain model from [25] to consider both parameters in transition states. We investigate an IEEE 802.11b network with four rates: 1, 2, 5.5, and 11 Mbps, denoted as r1, r2, r3, and r4 respectively. Suppose n contending stations exist in the network, and each station always has a packet ready for transmission. Define ri, optCWri and ri, cwp as the states with link rate ri (Mbps) using contention window sizes set at optCWri and cwp (where p = 0, 1, . . . , 7 indicating eight CW adjustment

possibilities in EARC) respectively. Fig. 10 illustrates the simplified Markov chain model on EARC operations (with detailed backoff counting down process omitted).

Let bri,optCWri and bri,cwp (where p = 0, 1, . . . , 7) denote

the probabilities of states ri, optCWri and ri, cwp, whereas pri

succ, prf aili , and p ri

timeout denote the transition probabilities

of transmission success, transmission failure, and timeout event when using rate ri, respectively. Then we have

0 0.5 1 1.5 2 2.5 3 3.5 T20R30 T20R35 T20R40 T30R20 T35R20 T40R20 Aggregate Throughput (Mbps)

EARC ARC RBAR

BEB (11 Mbps) BEB (5.5 Mbps)

ARF

AC AT

Fig. 9. Throughput performance in an asymmetric environment.

r2, cwp for pЩ{4, 5, 6, 7}

r1, cwp for pЩ{4, 5, 6, 7}

r1, optCWr1

Rate Flag = true

r3, optCWr

r2, optCWr2

r4, optCWr

Rate Flag = false

Rate Flag = true

4

ACK not returned ACK returned

(Rate Flag = true)

timeout

(invalid rate and CW settings) ACK returned

(Rate Flag = false, CW Flag = true)

Rate Flag = false

Rate Flag = false

Rate Flag = false

3 r4, cwp

for pЩ{0, 1, 2, 3}

r4, cwp for pЩ{4, 5, 6, 7} Rate Flag = true

r1, cwp for pЩ{0, 1, 2, 3}

r2, cwp for pЩ{0, 1, 2, 3}

Rate Flag = false

r3, cwp for pЩ{4, 5, 6, 7}

r3, cwp for pЩ{0, 1, 2, 3}

Fig. 10. EARC operations expressed by the Markov chain model (with detailed backoff counting down process omitted).

܊ܚܑǡܗܘܜ۱܅ܚܑൌ  σ ࢈࢘࢏ǡࢉ࢝࢖ ૜ ܘୀ૙ ൈ ܘ܎܉ܑܔ ܚܑ   ൅ σ ቂቀ࢈ǡ࢕࢖࢚࡯ࢃ࢘࢐൅ σ ࢈࢘࢐ǡࢉ࢝࢖ ૠ ܘୀ૙ ቁ ൈ ૚ ૚૚ൈ ܘܛܝ܋܋ ܚܒ ૝ ࢐ୀ૚ǡ࢐ஷ࢏   ൅ ە ۖ ۔ ۖ ۓ σ ቂቀ࢈࢘࢑ǡ࢕࢖࢚࡯ࢃ࢘࢑൅ σ ࢈࢘࢑ǡࢉ࢝࢖ ૠ ܘୀ૝ ቁ ൈ ܘࢌࢇ࢏࢒ ܚ࢑ ૛ ࢑ୀ૚ ࢌ࢕࢘࢏ ൌ ૚ ቀ࢈࢘࢏శ૚ǡ࢕࢖࢚࡯ࢃ࢘࢏శ૚൅ σ ࢈࢘࢏శ૚ǡࢉ࢝࢖ ૠ ܘୀ૝ ቁ ൈ ܘࢌࢇ࢏࢒ ܚ࢏శ૚ ࢌ࢕࢘࢏ ൌ ૛ǡ ૜ σ ቂቀ࢈࢘࢑ǡ࢕࢖࢚࡯ࢃ࢘࢑൅ σ ࢈࢘࢑ǡࢉ࢝࢖ ૠ ܘୀ૙ ቁ ൈ ܘ࢚࢏࢓ࢋ࢕࢛࢚ ܚ࢑ ૝ ࢑ୀ૚ ࢌ࢕࢘࢏ ൌ ૝ 

(11)

࢈࢘࢏ǡࢉ࢝૙ൌ ࢈࢘࢏ǡࢉ࢝૚ൌ ڮ ൌ ࢈࢘࢏ǡࢉ࢝ૠ  ൌ ቀ࢈࢘࢏ǡ࢕࢖࢚࡯ࢃ࢘࢏൅ σ ࢈࢘࢏ǡࢉ࢝࢖ ૠ ܘୀ૙ ቁ ൈ ૚ ૚૚ൈ ܘܛܝ܋܋ ܚܑ ࢌ࢕࢘࢏ א ሼ૚ǡ ૛ǡ ૜ǡ ૝ሽ  ૚ ൌ σ ࢈࢘࢏ǡ࢕࢖࢚࡯ࢃ࢘࢏ ૝ ࢏ୀ૚ ൅ σ σ ࢈࢘࢏ǡࢉ࢝࢖ ૠ ࢖ୀ૙ ૝ ࢏ୀ૚  

Suppose ptx denotes the probability that a station attempts

transmission and pri

tx denotes the conditional probability that

rate ri is used given the transmission attempt is

commit-ted in an observed time slot. Define ptr as the

probabil-ity that at least one transmission attempt occurs in that slot, which can be expressed as ptr = 1 − (1 − ptx)n

(recall that n contending stations exist). Then we have ܘܛܝ܋܋ ܚܑ ࢔ ൈ ൣ࢖࢚࢞ൈ ܘܜܠ ܚ࢏ൈ ሺ૚ െ ࢖ ࢚࢞ሻ࢔ି૚൧ ࢖࢚࢞ ࢌ࢕࢘࢏ א ሼ૚ǡ ૛ǡ ૜ǡ ૝ሽ ܘܛܝ܋܋ൌ σ૝࢏ୀ૚ܘܛܝ܋܋ܚܑ  

Next, we formulate failure probability pri

f ail

by variables ptx, prtxi, and ptr as follows

ܘ܎܉ܑܔܚ૝ ൌ ૚ ࢖࢚࢘ൈ ෍ ቆ ࢔ ࢏ቇ ࢔ ࢏ୀ૛ ൈ ൫࢖࢚࢞ൈ ࢖࢚࢞࢘૝൯ ࢏ ൈ ሺ૚ െ ࢖࢚࢞ሻ࢔ି࢏ ܘ܎܉ܑܔ ܚ૜ ૚ ࢖࢚࢘ൈ ෍ ቆ ࢔ ࢏ቇ ࢔ ࢏ୀ૛ ൈ ቌ෍ ൭ ࢏ ࢐൱ ࢏ ࢐ୀ૚ ൈ ൫࢖࢚࢞ൈ ࢖࢚࢞ ࢘૜ൈ ൫࢖ ࢚࢞ൈ ࢖࢚࢞࢘૝൯ ࢏ି࢐ ቍ ൈ ሺ૚ െ ࢖࢚࢞ሻ࢔ି࢏ ܘ܎܉ܑܔ ܚ૛ ૚ ࢖࢚࢘ൈ ෍ ቆ ࢔ ࢏ቇ ࢔ ࢏ୀ૛ ൈ ቎෍ ൭ ࢏ ࢐൱ ࢏ ࢐ୀ૛ ൈ ቌ෍ ൭ ࢐ ࢑ ൱ ࢐ ࢑ୀ૚ ൈ ൫࢖࢚࢞ൈ ࢖࢚࢞ ࢘૛ൈ ൫࢖ ࢚࢞ൈ ࢖࢚࢞ ࢘૜࢐ି࢑ቍ ൈ ൫࢖࢚࢞ൈ ࢖࢚࢞࢘૝൯ ࢏ି࢐ ቏ ൈ ሺ૚ െ ࢖࢚࢞ሻ࢔ି࢏ ܘ܎܉ܑܔ ܚ૚ ૚ ࢖࢚࢘ൈ ෍ ቆ ࢔ ࢏ቇ ࢔ ࢏ୀ૛ ൈ ቐ෍ ൭ ࢏ ࢐൱ ࢏ ࢐ୀ૛ ൈ ቎෍ ൭ ࢐ ࢑ ൱ ࢐ ࢑ୀ૛ ൈ ቌ෍ ൭ ࢑ ࢒ ൱ ࢑ ࢒ୀ૚ ൈ ൫࢖࢚࢞ൈ ࢖࢚࢞ ࢘૚ ൈ ൫࢖࢚࢞ൈ ࢖࢚࢞࢘૛൯ ࢑ି࢒ ቍ ൈ ൫࢖࢚࢞ൈ ࢖࢚࢞ ࢘૜࢐ି࢑቏ ൈ ൫࢖ ࢚࢞ൈ ࢖࢚࢞ ࢘૝࢏ି࢐ቑ ൈ ሺ૚ െ ࢖ ࢚࢞ሻ࢔ି࢏

To obtain the equilibrium state probabilities,

we apply the Jacobi Method by initially

set-ting bri,optCWri = optCW

ri 4 i=1  optCWri+7p=0cwrip , bri,cwrip = cwpri 4 i=1  optCWri+7p=0cwpri, and ptx, p ri tx as ܘܜܠൌ ෍ ቌ ࢈࢘࢏ǡ࢕࢖࢚࡯ࢃ࢘࢏ ࢕࢖࢚࡯ࢃ࢘࢏൅ ෍ ࢈࢘࢏ǡࢉ࢝࢖ ࢉ࢝࢖ ࢘࢏ ૠ ࢖ୀ૙ ቍ ૝ ࢏ୀ૚  ܘܜܠ ܚܑ ࢈࢘࢏ǡ࢕࢖࢚࡯ࢃ࢘࢏ ࢕࢖࢚࡯ࢃ ࢘࢏ Τ ൅ σ ࢈࢘࢏ǡࢉ࢝࢖ ࢉ࢝࢖ ࢘࢏ Τ ૠ ࢖ୀ૙ ࢖࢚࢞ ࢌ࢕࢘࢏ א ሼ૚ǡ ૛ǡ ૜ǡ ૝ሽ We assume that user traffic arrives constantly and thus the probability pri

timeout of timeout event approaches zero for all

data rates. During the Jacobi solving process, variables ptx, pri

tx, ptr, prsucci , and prf aili keep being updated in each iteration

until the convergence condition is met.

After solving the equations and obtaining the values for all variables, we can derive the theoretic system capacity

ρ = m¯

tv, where tv is the virtual transmission time andm is the¯

average data bits successfully transmitted in tv. Assume link

propagation delay is negligible. Let tIDLE, tSIF S, tDIF S,

and tP LCP denote the durations of a time slot, SIFS, DIFS,

and physical-layer overhead, whereas LAP P, LMP DU, and LACK indicate the lengths of application payload bits, MAC

protocol data unit, and ACK frame, respectively. Define Tri

succ

as the average time a station spends in a successful

trans-TABLE III

PARAMETER SETTINGS IN OUR ANALYSIS AND COMPARISON OF THEORETIC BOUNDS AND SIMULATIVE RESULTS

Parameter Value r1/r2/r3/r4/rACK 1/2/5.5/11/1 Mbps

tIDLE/tDIFS/tSIFS/tPLCP 20/50/10/192 ȝsec

LAPP/LMPDU/LACK 8000/8448/112 bits

# flows Analytic (Mbps) Simulative (Mbps)

10 3.7974 3.5010 15 3.7801 3.4173 20 3.7691 3.3236 25 3.7710 3.3205 30 3.7707 3.2992 35 3.7657 3.2731 40 3.7661 3.2171

mission using rate ri, whereas Tf ailri as the time spent in a

collision with the slowest station using rate ri. Then we have ܂࢙࢛ࢉࢉ ࢘ ൌ ൬࢚ࡼࡸ࡯ࡼ൅ ࡸࡹࡼࡰࢁ ࢘࢏ ൰ ൅ ࢚ࡿࡵࡲࡿ൅ ൬࢚ࡼࡸ࡯ࡼ൅ ࡸ࡭࡯ࡷ ࢘࡭࡯ࡷ൰ ൅ ࢚ࡰࡵࡲࡿ ܂ࢌࢇ࢏࢒࢘࢏ ൌ ൬࢚ ࡼࡸ࡯ࡼ൅ ࡸࡹࡼࡰࢁ ࢘࢏ ൰ ൅ ࢚ࡰࡵࡲࡿ൅ ࢀ࢕

where rACK is the basic rate used to transmit the ACK

frame and To = tSIF S+ tP LCP + LrACKACK which indicates

the time spent waiting for accessing the channel again. Hence we have Tsucc (duration of a transmission success)

= 4i=1pri

succ × Tsuccri and Tf ail (duration of a failure)

=4i=1pri

f ail× Tf ailri .

Consequently, we obtain the system throughput ρ expressed by ૉ ൌ࢓ഥ ࢚࢜ ൌ ࢖࢚࢘ൈ ࢖࢙࢛ࢉࢉൈ ࡸ࡭ࡼࡼ ሺ૚ െ ࢖࢚࢘ሻ ൈ ࢚ࡵࡰࡸࡱ൅ ࢖࢚࢘ൈ ࢀ࢙࢛ࢉࢉ൅ ࢖࢚࢘ൈ ࢀࢌࢇ࢏࢒  Table III summarizes the parameter settings adopted in our analytic calculations and throughput comparison to the simulative achievements in a symmetric environment (with number of active flows growing from 10 up to 40). The results demonstrate that the simulative data are quite consistent with analytic predictions, hence validating the EARC performance.

VI. CONCLUSION

We propose a practical EARC protocol for tuning the rate and backoff parameters in an IEEE 802.11 multi-rate environment. By utilizing reserved bits in 802.11 PLCP header and one extra byte carried in DATA packet, EARC incurs little communication overhead despite its closed-loop (receiver-assisted) nature. Instead of trying to obtain the SIN R value (which is not practically obtainable), EARC decides on the best rate according to an empirically derived rate selection reference (RSR) table at the receiver. Furthermore, the receiver also assists in tuning the transmitter-estimated optimal con-tention window. With proper interaction of the two parameters,

(12)

our simulation results show that the proposed EARC protocol effectively improves the IEEE 802.11 system performance through its unified design intelligence.

REFERENCES

[1] A. Akella, G. Judd, S. Seshan, and P. Steenkiste, “Self-management in chaotic wireless deployments,” in Proc. 2005 ACM MobiCom. [2] J. C. Bicket, “Bit-rate selection in wireless networks,” Master’s thesis,

Massachusetts Institute of Technology, Feb. 2005.

[3] C.-C. Chen, H. Luo, E. Seo, N. H. Vaidya, and X. Wang, “Rate-adaptive framing for interfered wireless networks,” in Proc. 2007 IEEE

INFOCOM, pp. 1325–1333.

[4] G. Hollan, N. Vaidya, and P. Bahl, “A rate-adaptive MAC protocol for multi-hop wireless networks,” in Proc. 2001 ACM MobiCom, pp. 236– 251.

[5] G. Judd and P. Steenkiste, “Using emulation to understand and improve wireless networks and applications,” in Proc. 2005 USENIX NSDI. [6] A. Kamerman and L. Monteban, “WaveLAN-II: a high-performance

wireless LAN for the unlicensed band,” Bell Labs Tech. J., vol. 2, no. 2, pp. 118–133, 1997.

[7] J. Kim, S. Kim, S. Choi, and D. Qiao, “CARA: collision-aware rate adaptation for IEEE 802.11 WLANs,” in Proc. 2006 IEEE INFOCOM, pp. 1–11.

[8] M. Lacage, M. H. Manshaei, and T. Turletti, “IEEE 802.11 rate adaptation: a practical approach,” in Proc. 2004 ACM MSWiM. [9] T.-Y. Lin and J. C. Hou, “Interplay of spatial reuse and SINR-determined

data rates on CSMA/CA-based, multi-hop, multi-rate wireless net-works,” in Proc. 2007 IEEE INFOCOM, pp. 803–811.

[10] D. Qiao and S. Choi, “Fast-responsive link adaptation for IEEE 802.11 WLANs,” in Proc. 2005 IEEE ICC, pp. 3583–3588.

[11] B. Sadeghi, V. Kanodia, A. Sabharwal, and E. Knightly, “Opportunistic media access for multirate ad hoc networks,” in Proc. 2002 ACM

MobiCom, Sept. 2002.

[12] Y. Xi, B.-S. Kim, J.-B. Wei, and Q.-Y. Huang, “Adaptive multirate auto rate fallback protocol for IEEE 802.11 WLANs,” in Proc. 2006 IEEE

MILCOM, pp. 1–7.

[13] Q. Xia and M. Hamdi, “Smart sender: a practical rate adaptation algorithm for multirate IEEE 802.11 WLANs,” IEEE Trans. Wireless

Commun., vol. 7, no. 5, pp. 1764–1775, May 2008.

[14] H.-Y. Wong, H. Yang, S. Lu, and V. Bharghavan, “Robust rate adaptation for 802.11 wireless networks,” in Proc. 2006 ACM MobiCom, pp. 146– 157.

[15] J. Choi, J. Na, K. Park, and C.-K. Kim, “Adaptive optimization of rate adaptation algorithms in multi-rate WLANs,” in Proc. 2007 IEEE ICNP, pp. 144–153.

[16] S. Rayanchu, A. Mishra, D. Agrawal, S. Saha, and S. Banerjee, “Diagnosing wireless packet losses in 802.11: separating collision from weak signal,” in Proc. 2008 IEEE INFOCOM, pp. 735–743.

[17] A.-C. Li, T.-Y. Lin, and C.-Y. Tsai, “ARC: joint adaptation of link rate and contention window for IEEE 802.11 multi-rate wireless networks,” in Proc. 2009 IEEE SECON, pp. 1–9.

[18] F. Cali, M. Conti, and E. Gregori, “Dynamic tuning of the IEEE 802.11 protocol to achieve a theoretical throughput limit,” IEEE/ACM Trans.

Netw., vol. 8, no. 6, pp. 785–799, Dec. 2000.

[19] D.-J. Deng, C.-H. Ke, H.-H. Chen, and Y.-M. Huang, “Contention window optimization for IEEE 802.11 DCF access control,” IEEE Trans.

Wireless Commun., vol. 7, no. 12, pp. 5129–5135, Dec. 2008.

[20] Y. Kwon, Y. Fang, and H. Latchman, “A novel MAC protocol with fast collision resolution for wireless LANs,” in Proc. 2003 IEEE INFOCOM, pp. 853–862.

[21] C. Wang, B. Li, and L. Li, “A new collision resolution mechanism to enhance the performance of IEEE 802.11 DCF,” IEEE Trans. Veh.

Technol., vol. 53, no. 4, pp. 1235–1246, July 2004.

[22] S.-R. Ye and Y.-C. Tseng, “A multi-chain backoff mechanism for IEEE 802.11 WLANs,” IEEE Trans. Veh. Technol., vol. 55, no. 5, pp. 1613– 1620, Sep. 2006.

[23] D. Aguayo, J. Bicket, S. Biswas, G. Judd, and R. Morris, “Link-level measurements from an 802.11b mesh network,” ACM SIGCOMM

Comput. Commun. Rev., vol. 34, no. 4, pp. 121–132, Aug. 2004.

[24] A. Vlavianos, L. Law, I. Broustis, S. Krishnamurthy, and M. Faloutsos, “Assessing link quality in IEEE 802.11 wireless networks: which is the right metric?” in Proc. 2008 IEEE PIMRC, pp. 1–6.

[25] G. Bianchi, “Performance analysis of the IEEE 802.11 distributed coordination function,” IEEE J. Sel. Areas Commun., vol. 18, no. 3, pp. 535–547, Mar. 2000.

[26] W. Chu and Y.-C. Tseng, “Performance analysis of IEEE 802.11 DCF in a multi-rate WLAN,” IEICE Trans. Commun., vol. E90-B, no. 10, pp. 2836–2844, Oct. 2007.

[27] H. Park and C.-K. Kim, “Performance analysis of multi-rate IEEE 802.11 WLANs with channel error,” in Proc. 2007 IEEE ICACT, pp. 1479–1481.

[28] D. Qiao, S. Choi, and K. G. Shin, “Goodput analysis and link adaptation for IEEE 802.11a wireless LANs,” IEEE Trans. Mobile Comput., vol. 1, pp. 278–292, Oct. 2002.

[29] G. Sharma, A. Ganesh, and P. Key, “Performance analysis of contention based medium access control protocols,” IEEE Trans. Inf. Theory, vol. 55, no. 4, pp. 1665–1682, Apr. 2009.

Ting-Yu Lin ([email protected]) obtained her

Ph.D. degree in Computer Science and Information Engineering (CSIE) from the National Chiao Tung University, Taiwan. When she graduated, she was recipient of The Phi Tau Phi Scholastic Honor award. From Jun. 2003 to Feb. 2004, Dr. Lin was affiliated with Massachusetts Institute of Technol-ogy (MIT) as a research scientist. She worked for Industrial Technology Research Institute of Taiwan from Mar. 2004 to Aug. 2005 as a software engineer. Afterwards, she joined the University of Illinois at Urbana-Champaign (UIUC) as a postdoctoral research associate in the period of Sept. 2005 to Aug. 2006 under both the government and university sponsorship. She is currently an assistant professor with the Department of Electrical Engineering, Institute of Communications Engineering, National Chiao Tung University of Taiwan. Her research interests include wireless communications, mobile computing, WLANs/WPANs, wireless sensor/mesh networking, and green computing. Dr. Lin is a member of ACM and IEEE.

Ching-Yi Tsai ([email protected]) re-ceived her M.S. degree in Communications Engi-neering from the National Chiao Tung University, Hsinchu, Taiwan, in October 2010. She is currently working as a software engineer at Wistron NeWeb Corporation. Her research interests include wireless networking and performance optimization.

Kun-Ru Wu ([email protected]) received

his B.S. degree in Electrical Engineering from the National Chung Hsing University, Taichung, Taiwan, in June 2007. He is currently a Ph.D. student with the Institute of Communications Engineering at Na-tional Chiao Tung University, Hsinchu, Taiwan. His research interests include wireless mesh networks and linux-based system prototyping. He is a student member of IEEE.

數據

Fig. 1. IEEE 802.11 MAC mechanism.
Fig. 2. DATA and ACK packet formats used in our EARC protocol (the shaded areas are specifically utilized by the EARC algorithm).
Fig. 4. Illustration of obtaining sensed energy level Erx and the empirically derived rate selection reference (RSR) table (subject to changes as channel condition varies) at the receiver.
Fig. 5. Relationship of FER against environmental energy level (left) and identifying corresponding energy thresholds in RSR table (right).
+6

參考文獻

相關文件

– Taking any node in the tree as the current state induces a binomial interest rate tree and, again, a term structure.... Binomial Interest Rate

– Local miss rate— misses in this cache divided by the total number of memory accesses to this cache (Miss rate L2 ). – Global miss rate—misses in this cache divided by the total

In contrast, FARA exploits this frequency diversity via a frequency-aware rate adaptation scheme that picks different bitrates for different frequencies depending on their SNRs. 6.1

• Extension risk is due to the slowdown of prepayments when interest rates climb, making the investor earn the security’s lower coupon rate rather than the market’s higher rate.

• Extension risk is due to the slowdown of prepayments when interest rates climb, making the investor earn the security’s lower coupon rate rather than the market’s higher rate..

• However, these studies did not capture the full scope of human expansion, which may be due to the models not allowing for a recent acceleration in growth

• A put gives its holder the right to sell a number of the underlying asset for the strike price.. • An embedded option has to be traded along with the

a) Visitor arrivals is growing at a compound annual growth rate. The number of visitors fluctuates from 2012 to 2018 and does not increase in compound growth rate in reality.