Abstract
Cooperative communication has been recently proposed as a way to mitigate fading in wireless networks. A cross-layer adaptive cooperative MAC (CAC-MAC) protocol for IEEE 802.11 DCF-based wireless ad hoc networks is proposed. The novel aspect and core idea of our proposal is a cross-layer adaptive data transmission algorithm considering both the length of data frame at the MAC layer and instantaneous wireless channel conditions. Under this algorithm, direct transmission mode or proper cooperative transmission mode will be adaptively selected for data packets according to both MAC layer and physical layer information. Analytical results demonstrate the effectiveness of the adaptive data transmission algorithm. Simulation studies based on NS2 show that the CAC-MAC protocol can significantly improve network throughput and reduce packet delay compared with legacy IEEE 802.11 protocol, which illustrate a new paradigm for realistic cross-layer cooperative MAC protocol design for next-generation wireless ad hoc networks.
1. Introduction
Cooperative communication, which can achieve spatial diversity by exploiting distributed virtual antennas of cooperative nodes, has attracted much attention recently due to its ability to mitigate fading in wireless networks. The main feature of cooperative communication is the involvement of neighboring nodes in data transmissions. As depicted in Figure 1, the source has an inferior channel with destination and meanwhile no less than one neighboring node has a good channel with both the source and the destination. And hence, the source can transmit data packets via neighbor node(s) to the destination at a higher data rate instead of a direct transmission to the destination at a lower data rate.

Illustration of cooperative communication.
The studies in [1–3] show that significant benefit is obtained through cooperative communication in terms of reliability, throughput, coverage range, and energy efficiency. Although cooperative communication originates from the physical layer, from the system point of view, in order to realize a fully cooperative network, researches at the physical layer should be coupled with those at the higher network layers, for example, MAC layer. However, so far no standard on cooperative MAC design has been achieved, and hence leave it an open research topic.
The neighboring nodes participating in the cooperative communication are called relay nodes or helpers. The relay nodes can operate on decode-and-forward (DF), amplify-and-forward (AF) or coded cooperation (CC) strategies. For further details readers are referred to [4, 5]. Generally, employing more relay nodes for a given source-destination pair may obtain more cooperative diversity gain, but the resultant lower spectrum efficiency and higher computational complexity may not lead to a beneficial performance-complexity tradeoff [6]. Therefore, this paper focuses on selecting no more than one relay node for each source-destination pair whenever cooperative communication is desirable.
There have been exiting literatures on cooperative MAC design utilizing just one relay node for IEEE 802.11 DCF-based wireless networks. rDCF [7] and CoopMAC [8] are two similar cooperative MAC protocols that take advantage of the multirate capability of the IEEE 802.11 in which high-data-rate nodes assist low-data-rate nodes to transmit data. In these two protocols, each node promiscuously listens to ongoing transmissions to establish and maintain a relay table. Therefore, the relay selection cannot adapt to dynamic channel conditions and network topology in wireless networks just as it is based on the observation of historical transmissions. Furthermore, in these researches, the cooperative diversity is not exploited and only one copy of a packet coming from the source or the relay node is processed at the destination. Hence, more specifically, rate adaptation is the main focus in data transmissions in these two protocols. Considering that CoopMAC is a cooperative protocol for infrastructure-based wireless LANs, Korakis et al. [9] extend it to the ad hoc network environment. Based on CoopMAC, Liu et al. [10] further propose a cross-layer cooperative protocol for wireless ad hoc networks to leverage cooperation in both MAC and PHY layers where the relay node adopts coded cooperation strategy [5]. Actually, for a cooperative MAC protocol, the data transmission mode should be dynamically selected according to both the length of data frame at the MAC layer and the time-varying channel status between source, relay, and destination, which is not considered in the above-mentioned studies [7–10].
In order to reap more benefit of cooperation, in this paper, a cross-layer adaptive cooperative MAC (CAC-MAC) protocol for IEEE 802.11 DCF-based wireless ad hoc networks is proposed, which forms a cross-layer approach to cooperation involving interaction between MAC layer and physical layer. The novel aspect and core idea of our proposal is a cross-layer adaptive data transmission algorithm considering both the length of data frame at the MAC layer and instantaneous wireless channel conditions. Under this algorithm, direct transmission mode or proper cooperative transmission mode will be adaptively selected for data packets according to both MAC layer and physical layer information. The key features of our proposal are as follows.
First, only when a data frame at the MAC layer is longer than a specified length, CAC-MAC initiates a RTS/CTS handshake, which brings down the overhead of network.
Second, for long data frames, RTS/CTS direct transmission or proper cooperative transmission will be selected according to the wireless channel conditions. Moreover, the cooperative transmission is divided into either “source-relay-destination” transmission scheme or receiver maximal ratio combining scheme according to the channel conditions between source, relay, and destination.
Third, the selection of the best relay node for a given source-destination pair is based on instantaneous wireless channel measurements instead of a relay table, which has the added cost to be created and maintained based on the observation of historical transmissions.
The remainder of this paper is organized as follows. Section 2 introduces the system model. Section 3 proposes a cross-layer adaptive cooperative MAC (CAC-MAC) protocol for IEEE 802.11 DCF-based wireless ad hoc networks. Section 4 analyzes the cross-layer adaptive data transmission algorithm. Section 5 evaluates the performance of CAC-MAC protocol based on NS2, and Section 4 concludes this paper.
2. System Model
We consider a wireless ad hoc network based on IEEE 802.11a that supports transmission rates of 6, 12, 24, and 54 Mbps. A single physical channel is available for wireless transmissions. We assume a slow fading channel that the channel conditions do not change within the duration of a MAC frame transmission. We assume that each node has constant transmission power and that the wireless channels are symmetric. It is also assumed that a relay node works on the decode-and-forward (DF) strategy [4]. The terms relay node and helper are of the same meaning in this paper.
Due to the broadcast nature of the channel, the destination will receive the signals transmitted by both the source and the relay node. Receiver combining technique [11], not supported by any existing wireless hardware, can be implemented in the next-generation wireless baseband chip. Hence, it is reasonable to assume that the destination can adopt maximal ratio combining diversity technique at the physical layer to combine the signals coming from the source and the relay node if the independent copies are in the same modulation scheme, enabling higher transmission rates and robustness against channel variations due to fading.
3. The Proposed CAC-MAC Protocol
In our proposal, each data transmission is based on two planes: control plane and data plane. The control plane is to determine the data transmission mode, in which the main issues include relay selection and the cross-layer adaptive data transmission algorithm. The data plane is in charge of transmitting, receiving, or forwarding data packets according to the transmission mode.
3.1. Relay Selection
In CAC-MAC protocol, for long data frames, the RTS/CTS handshake is initiated, so the neighbor nodes can measure the instantaneous channel conditions toward source and destination via overhearing RTS and CTS frames. In addition, the neighbor nodes can extract the channel conditions between source and destination from the extended CTS frame. The extended CTS frame format will be described later in Section 3.3. With the channel quality information, by checking the threshold value, which is pre-calculated and guarantees a certain bit error rate for each modulation scheme, we can obtain the achievable transmission rate between source and relay, relay and destination, and source and destination, denoted by
We assume the length of a data frame is
If a cooperative transmission via node i is adopted, the transmission time would include two parts: the time consumed between the source and the relay and that consumed between the relay and the destination, namely,
For a neighbor node j, if it satisfies
it becomes a candidate relay node. And the candidate relay node
In practice, to select the best relay node for a given source-destination pair, each candidate relay node r will start a timer
3.2. Cross-Layer Adaptive Data Transmission Algorithm
In CAC-MAC protocol, the data transmission modes are divided into four schemes, that is, basic access scheme, RTS/CTS direct transmission scheme, “source-relay-destination” transmission scheme, and receiver maximal ratio combining scheme, according to both the length of data frame at the MAC layer and the time-varying channel status between source, relay, and destination. The cross-layer adaptive data transmission algorithm is briefly summarized in Algorithm 1.
(1) if L < RTSThreshold (2) mode = basic access scheme; rate = 6 Mbps (3) (4) (5) (6) mode = RTS/CTS direct transmission scheme; rate = (7)
(8) (to initiate cooperative transmission) (9) (10) mode = relay transmission scheme; rate = (11) (12) mode = maximal ratio combining scheme; rate = (13) (14) (15)
It is well known that there are two access schemes defined in IEEE 802.11 DCF, namely, the basic access scheme and the RTS/CTS scheme. Similarly, under our proposed algorithm, when a data frame is shorter than RTS threshold, the source transmits it directly to the destination by the basic access scheme. Otherwise, the source will initiate a RTS/CTS handshake. If the source has a good channel with the destination where the sustainable rate is equal to or larger than 24 Mbps, or in the case that the channels between source and destination, source and relay, relay and destination are inferior where all the sustainable rates are equal to or less than 12 Mbps, the source transmits the data frame by the RTS/CTS direct transmission scheme.
On the other hand, if the source has an inferior channel with the destination and meanwhile no less than one relay node has a good channel with both the source and the destination, therefore the source can transmit the data packet via the relay node to the destination. Once the source initiates one cooperative transmission via a relay node, it will transmit a data packet at a rate of
Since the destination has an inferior channel with the source, it will not be able to solely decode the data packet with the rate of
3.3. Details of the CAC-MAC Protocol
To support CAC-MAC protocol, some minor modifications to the IEEE 802.11 frames format are required, and meanwhile the RTS/CTS handshake defined in IEEE 802.11 is further extended to an RTS/CTS/HTS handshake. The modified CTS, HTS, and DATA frames format and the exchange of messages are shown in Figures 2 and 3, respectively.

Frames format for CAC-MAC.

The exchange of messages.
We now give a detailed description of CAC-MAC protocol from the views of source node, destination node, and relay node, respectively, as follows.
Source Node
When the length of a data frame is less than the RTS threshold, the source will transmit it directly to the destination by the basic access scheme of IEEE 802.11 DCF, which brings down the overhead in the network; otherwise, the source will send an RTS frame and wait for a CTS frame from the destination. If the source receives a CTS frame but does not receive any HTS frame from neighbor nodes in a certain interval, it will transmit the data packet by RTS/CTS direct transmission scheme. If both CTS and HTS frames are received in sequence, the source transmits the data packet according to the “transfer mode” piggybacked in the HTS frame. If an ACK is not received after an ACK timeout, the source should perform random backoff; otherwise, the source will handle the next data packet in its queue.
Destination Node
If the destination receives an RTS frame from the source, it sends a CTS frame including the measured channel conditions information between source and destination and waits for HTS frames from neighbor nodes. If any HTS frame is not received before receiving data packet, indicating that the source transmits data packet by RTS/CTS direct transmission scheme, the destination processes the unique data packet. If the destination receives an HTS frame before receiving data packet, it will process the received data packet according to the “transfer mode” piggybacked in HTS and then sends an ACK to the source.
Neighbor Node
The neighbor node judges whether itself is a candidate relay node for a given source-destination pair according to (1)–(3) in Section 3.1. If it is, it will wait for the timer When overhearing a data packet, a candidate relay node extracts the “relay address” information to judge whether it is the relay node for the given source-destination pair. If it is, the node will decode and forward the data packet to the destination.
4. Analysis of Adaptive Data Transmission Algorithm
In this section, we analyze the saturation throughput and average packet delay of the cross-layer adaptive data transmission algorithm based on a Markov chain model, taking finite retry limits into account. For simplicity, it is assumed that there are no hidden nodes or capture effect in the network.
4.1. Markov Chain Model
IEEE 802.11 DCF adopts a binary exponential backoff scheme. At each packet transmission, the backoff time is uniformly chosen in the range
Let

Markov chain model.
Let
From (6), we can see that the transmission probability
Therefore, (6) and (8) form a nonlinear system with two unknowns τ and p, which can be solved by the numerical method. Note that
4.2. Saturation Throughput
Let
The probability
Considering that a random slot is empty with probability
4.3. Average Packet Delay
A packet is dropped when it reaches the last backoff stage and experiences another collision. Let
The average packet delay for a successfully transmitted packet is defined as the duration from the time the packet is at the head of its MAC queue ready to be transmitted until an acknowledgement is received. So the average packet delay
and
4.4. Numerical Results
According to (11) and (13), we compare the saturation throughput and average packet delay achieved by our proposed adaptive data transmission scheme (adaptive) with the basic access scheme (basic access), RTS/CTS direct transmission scheme (rts/cts), “source-relay-destination” transmission scheme (s-r-d), and receiver maximal ratio combing scheme (mrc), through 1000 times Monte Carlo simulations. The main parameters are listed in Table 1 based on IEEE 802.11a standard.
Parameters used in simulations.
Figure 5 reveals the relation between the saturation throughput and the number of nodes. It is shown that the throughput of all schemes deteriorate the number of nodes increases; however, the throughput of the adaptive data transmission scheme performs significantly better than that of the other schemes.

Throughput versus number of nodes (
Figure 6 depicts the saturation throughput of five transmission schemes as the length of data frame at the MAC layer increases. When the data frame length is less than the RTS threshold, the saturation throughput of the adaptive data transmission scheme is equal to that of the basic access scheme. As the data frame length increases, the adaptive transmission scheme apparently outperforms the other four transmission schemes.

Throughput versus data frame length (
Figure 7 gives the packet delay varying with the number of nodes. It can be seen that the packet delay of the adaptive data transmission scheme is lower than that of the other schemes as the number of nodes increases.

Packet delay versus number of nodes (
Figure 8 describes the packet delay adopting different transmission schemes. Similarly, when the data frame length is less than the RTS threshold, the packet delay of the adaptive transmission scheme is equal to that of the basic access scheme. As the data frame length increases, the adaptive data transmission scheme outperforms the other schemes.

Packet delay versus data frame length (
Analytical results shown in Figures 5–8 demonstrate the effectiveness of the adaptive data transmission algorithm. This is due to the fact that the adaptive data transmission scheme considers both the length of data frame at the MAC layer and instantaneous wireless channel conditions compared with the other transmission schemes when data packets are transmitted.
5. Evaluation of CAC-MAC Protocol
In this section, we evaluate the performance of the CAC-MAC protocol compared with the legacy IEEE 802.11 protocol based on NS2 [15, 16].
We consider a wireless ad hoc network based on IEEE 802.11a where 15 nodes are randomly deployed in the area of 300 m × 300 m. In this network, there exits three source-destination pairs that are selected randomly and the remaining nodes can be exploited as relay nodes. Each of the three source nodes generates traffic at the constant bit rate (CBR) of x bps with a packet length of 1500 bytes and the relay nodes work on the decode-and-forward (DF) mode. We change the value of “x” to reflect the scenarios of different node traffic loads. We adopt Rayleigh fading model in the simulations.
We compare CAC-MAC protocol (CAC-MAC) with legacy IEEE 802.11 protocol (802.11) in terms of network throughput and packet delay.
Figure 9 reveals the network throughput varying with source nodes traffic load, that is, the value of x. As each node traffic load increases, the network throughputs adopting CAC-MAC protocol and IEEE 802.11 protocol both increase up to saturation; however, the CAC-MAC protocol always significantly outperforms IEEE 802.11 protocol.

Network throughput versus node traffic load.
Figure 10 depicts the relation between packet delay and source nodes traffic load. It is evident that data packets in CAC-MAC protocol experience significantly less delay than in legacy IEEE 802.11 protocol as the source nodes traffic load increases.

Packet delay versus node traffic load.
As demonstrated in Figures 9 and 10, CAC-MAC protocol can achieve a much higher network performance than the legacy IEEE 802.11 protocol in terms of network throughput and packet delay. These improvements primarily stem from the novel cross-layer adaptive approach to design the cooperative MAC, which involves interaction of both MAC layer and physical layer.
6. Conclusions
In this paper, we propose a cross-layer adaptive cooperative MAC (CAC-MAC) protocol for IEEE 802.11 DCF-based wireless ad hoc networks, which consists of a realistic cooperative framework to exploit both MAC layer and PHY layer information. In CAC-MAC protocol, each data transmission is based on two planes: control plane and data plane. The control plane is to determine the data transmission mode, in which the main issues include relay selection and the cross-layer adaptive data transmission algorithm. The data plane is in charge of transmitting, receiving, or forwarding data packets according to the transmission mode. Simulation results based on NS2 show that our proposal can significantly improve network throughput and reduce packet delay compared with legacy IEEE 802.11 protocol.
Footnotes
Acknowledgments
The authors would like to thank the Editor Shukui Zhang and the anonymous reviewers for their constructive comments and valuable suggestions. This work was supported by the National Natural Science Foundation of China (no. 61002032) and the Doctoral Fund of Ministry of Education of China (no. 20094307110004).
