Beruflich Dokumente
Kultur Dokumente
I. I NTRODUCTION Fig. 1. A mixed-mode wireless LAN (M2 -WLAN) integrating ad hoc and
infrastructure modes.
IEEE 802.11-based wireless network (the so-called “WiFi”) has
become ubiquitous in our homes, offices, and even cafes to provide
broadband Internet access to users [1]. Most wireless networks
are less contention and collisions in the WLAN channel, increasing
installed today make use of the “infrastructure” mode, where an
the system throughput for both ad hoc and WLAN users.
access point (AP) provides an interface to wireless users in its
coverage so that they can access the Internet. An IEEE 802.11b Indeed, IEEE 802.11 standard specifies an “ad hoc” mode, which
WLAN AP provides a bandwidth up to 11 Mbps, which is shared by allows users to spontaneously form a wireless network without the
all users in the network. When the number of users increases in the need of access point and cables. In ad hoc mode, users communicate
cell, the contention for the channel leads to a degradation in system directly with each other in a peer-to-peer manner. Certainly, for those
throughput. In a wireless LAN, there is no direct connection between users accessing data outside the cell, WLAN infrastructure mode is
any two hosts, since the AP always serves as one of the intermediate the only choice.
nodes. For communications among the hosts within the same cell As we can see from above, if the infrastructure and ad hoc modes
(e.g., the case of conferencing or accessing a file nearby), using the can be integrated to run simultaneously in a network the system
AP is not effective because not only the traffic load in the cell is performance can be improved. However, the ad hoc mode is not
increased, but also the throughput would not be so high as if they designed to work simultaneously with the infrastructure mode. In this
were connected by a direct wireless connection. A better way would paper, we consider the integration of these two modes to form a so-
be setting up ad hoc connections among the hosts. For example, called “mixed-mode wireless LAN (M2 -WLAN).” We illustrate the
for those who are holding a conference in a room, they can form system in Fig. 1. In the network, users can not only communicate with
a small wireless ad hoc network within their meeting room to share an AP, but also set up ad hoc connections under the administration
documents without going through the AP. Moreover, the small ad hoc of the AP. A host (or node) in an M2 -WLAN can dynamically
network can use a different channel from that of the AP. Hence, there switch between infrastructure mode and ad hoc mode depending
on the traffic condition in the cell. Localized communication groups
This work was supported, in part, by the Areas of Excellence (AoE) Scheme (e.g., the four users in Fig. 1), may set up a small ad hoc network
on Information Technology funded by the University Grant Council in Hong to communicate with each other until they need to switch back to
Kong (AoE/E-01/99), and by the Competitive Earmarked Research Grant of
Research Grant Council in Hong Kong (HKUST6199/02E). infrastructure mode.
†Correspondence author: Jiancong Chen There are several strengths of this system:
AR, CR
Receive a TABLE II
message F RAME FORMAT OF THE CONTROL MESSAGES .
AR CR AR: node id purpose
MSN: bssid mode channel alive-timer
Request to No Local traffic? Yes
I-Mode?
Yes Incoming? Switch them which mode the communication should use. If the communication is
Yes to A-Mode?
No non-local, the participants must run in I-Mode since they have to
Switch them
to I-Mode? use the AP. If the traffic is local and the AP decides to switch the
No mode of the nodes, it sends a Mode Switching Notification (MSN)
Yes Dst in A- No Run in I-Mode Yes
Yes Mode? to control the node’s access mode. The frame format of the MSN is
shown in Table II. It is similar to the status table in a node. When the
Switch them to Allocate a channel;
I-Mode; MSN MSN Switch them to AP switches a node to A-Mode, it allocates a channel and assigns
Reclaim channel A-Mode; bssid and alive-timer in the MSN. Upon receiving a MSN, a node
switches its mode and updates its status table accordingly.
Update mode
table A node works in I-Mode until the AP switches it to A-Mode. Once
a node is in A-Mode, it has the right to determine whether it requests
Fig. 2. The flowcharts of mode switching algorithms in AP. to switch back or not, if the does not send data to them. A node in
the A-Mode has to send alive request (AR) to AP periodically so that
the AP knows about its existence. Otherwise, the AP will assume that
the ad hoc communication is over and reclaim the assigned channel.
If the A-Mode nodes have very bad performance (nodes move out of
transmission range, high loss rate, etc), they may request to switch
BEGIN back to I-Mode in the AR. The AR frame contains the information
that a node need to report to the AP. Its format is shown in Table
II. The “node id” identifies the node who sends the request. The
Run in I-Mode
“purpose” field specifies the request purpose. If the frame is a regular
alive notification to AP, it is set to zero. If the node requests to switch
the mode, the reason is set to “out-of-range” or “low-performance”
communication as shown in Algorithm 2.
request CR
As discussed in the MSA of the nodes, a node in A-Mode sends
AR periodically. Upon receiving such an AR, the AP responds to the
MSN Receive a MSN
request and updates its mode table accordingly. The mode table in
an AP contains the information of all nodes in the network. Each
node has an entry in the table. The entry format is shown in Table
III. It basically consists of the same information as the status table in
Yes Switch to No a node. In addition, traffic information is also maintained by traffic
A-Mode? monitoring module. If the node requests to switch back to I-Mode
with the reason of “out-of-range”, the AP will turn the nodes in
In A-Mode? Yes In I-Mode? the communication session back to I-Mode. If the reason is “low-
performance”, the AP accepts it only if traffic load is light.
No ERROR No The access point not only controls the modes of the nodes, but also
Yes manages the channel usage and monitors the traffic condition in the
Switch back to
Switch to A-Mode I-Mode network. The channel management module keeps track of the usage
of each channel. Algorithm 3 shows the basic idea of CMM the in
the AP. It assigns a channel when it gets a request from the MSA
Update status Update status and reclaims channels when they are released. If one end of a new
table table
communication is already in A-Mode and the AP decides that the
communication will run in A-Mode, then it uses the same channel
Run in A-Mode assigned already.
In order to distribute the traffic load in different channels, a traffic
monitoring module is implemented as shown in Algorithm 4. When
500
MM-WLAN UDP
Use I-Mode to associate to AP;
500
450 Get I-Mode channel;
400 450 Start communication requests (CR);
350
WLAN TCP
loop
400
300 WLAN UDP
if (Receiving a MSN) then
250 350 if (MSN to A-Mode) then
10 15 20 25 30 35 40 45 50 10 15 20 25 30 35 40 45 50
Number of Flows Number of Flows if (Not in A-Mode) then
(a) TCP flows. (b) UDP flows. Switch to A-Mode using the given channel;
Fig. 4. Throughput comparison in different networks. Set alive-timer;
end if
Update status table;
the traffic load through the AP is too heavy, it searches in the mode else if (Not in I-Mode) then
table to find some local communications and tries to turn them into Switch back to I-Mode;
A-Mode such that the traffic crossing the AP can be reduced. When else
traffic is light, it accepts some return to I-Mode requests from nodes. ERROR;
How to measure traffic load precisely is worth studying. However, it end if
is out of scope of this paper. Hence, we don’t discuss it here in details. end if
Currently, we use both the number of flows and channel utilization if (This is a sender) then
to measure traffic load. In our simulations, if the number of active if (Cannot reach destination) then
flows is larger than a specific number and the AP channel is fully Set reason as “out-of-range”;
utilized, the traffic is treated as heavy. Send alive request (AR) to AP;
end if
Algorithm 1 Mode Switching Algorithm — nodes if (Performance is not good) then
if (Receive communication request (CR)) then Set reason as “low-performance”;
if Communication request is local) then end if
if (traffic load > threshold) then end if
Allocate a channel; if (alive-timer = 0) then
Send MSN to switch the src and dst to A-Mode; Send alive request (AR) to AP;
Modify entry in mode table; end if
else end loop
Let them run in I-Mode;
Modify entry in mode table;
end if Algorithm 3 Channel Management Algorithm — AP
else if (Outing communication) then {non-local traffic}
if (Channel request) then
Let it run in I-Mode;
if (Free channel is available) then
else if (The dsts are in A-Mode) then {Incoming traffic}
Assign a free channel;
Send MSN;
else
Turn nodes back to I-Mode;
Assign the best channel;
Modify entry in mode table;
end if
end if
Update the channel usage table;
end if
end if
if (Receive alive request (AR)) then
if (Channel reclaim) then
if (Request to switch back) then
if (No users in the channel) then
if (Reason is out-of-range) then
Reclaim the channel;
Send MSN;
end if
Turn the nodes back to I-Mode;
Update the channel usage table;
else if (traffic load > threshold) then
end if
if (Need to update alive-timer) then
Send a new alive-timer;
end if
else Algorithm 4 Traffic Monitoring Algorithm — AP
Send MSN; Monitor traffic load in access point dynamically;
Turn the nodes back to I-Mode; if (Current traffic load > threshold) then
end if if (Possible to turn some connections to A-Mode) then
end if Find the best connections in mode table;
Update the corresponding entry in mode table; Allocate a channel;
end if Send MSN;
Switch the corresponding nodes to A-Mode;
Update mode table;
III. I LLUSTRATIVE N UMERICAL R ESULTS end if
In this section, we present the performance evaluation of the end if
framework using NS2 (ns-2.1b9a) with the CMU wireless extension.
70
System Throughput (Kbps)
800
60
M2 -WLAN can lead to significant performance improvement.
50
40 MM-WLAN TCP
600
30
IV. C ONCLUSIONS
400 WLAN TCP 20
WLAN TCP
In this paper, we have studied the integration of infrastructure
10
mode and ad hoc mode in a wireless network named mixed wireless
200
10 15 20 25 30 35 40 45 50
0
10 15 20 25 30 35 40 45 50 LAN (M2 -WLAN). We have proposed a framework to switch some
Number of Flows Number of Flows
local connections to form small ad hoc networks using available
(a) System throughput. (b) Per-flow throughput.
channels. In this framework, a node in a WLAN can dynamically
Fig. 6. TCP throughput in different networks with two channels available. switch between infrastructure mode and ad hoc mode under the
control of an access point. The M2 -WLAN is useful for companies
looking for fully wireless solutions for office area, where many
We use 2 Mbps for channel and MAC bitrate to simulate IEEE users need to exchange data among themselves as well as to get
802.11 WLAN environment. Packet size is 512 bytes unless otherwise access to the Internet. We have implemented the framework in NS2.
specified. For the radio propagation model, a two-ray path loss model Via simulations, we show that M2 -WLAN has substantially better
is used. We do not consider fading and mobility in our simulations. performance in terms of system throughput than traditional wireless
We assume the transmission range of all nodes including the access LAN.
point is 250 m. All simulation results are the average of 10 runs and In our upcoming work, we will study power control to enable
each simulation runs for 20 seconds of simulation time. We use the more spacial channel reuse to further improve the performance of the
pure WLAN performance as the baseline to compare with. network. We will also study a network with multiple access points
We consider a network with a single AP and a number of and develop a framework in which mobile nodes roaming around
nodes (from 10 nodes to 50 nodes) uniformly distributed within its may connect to the nearby nodes by ad hoc connections or access
transmission range. A TCP or UDP flows is assigned to each node points to get their demanding information.
with a random destination. We use total system throughput and per-
flow throughput as the performance metrics to study the network. We R EFERENCES
study the performance of M2 -WLAN with both single channel and [1] IEEE Standards Board, “Wireless LAN Medium Access Control (MAC)
multiple channels. and Physical Layer (PHY) Specifications.” IEEE Std 802.11-1997, Nov
1997.
Note that the 802.11 protocol is known to exhibit some form [2] G. Bianchi, “Performance analysis of the IEEE 802.11 distributed coor-
of instability [2]. In particular, as the offered load increases, the dination function,” IEEE Journal on Selected Areas in Communications,
throughput goes up to a maximum value. However, further increase vol. 18, no. 3, pp. 535–547, March 2000.
of the offered load leads to an eventually significant decrease in the [3] J. Q. Bai, , and T. Lang, “A performance comparison between ad hoc
and centrally controlled CDMA wireless LANs,” IEEE Transactions on
system throughput. Therefore, we have to specify a total offered Wireless Communications, vol. 1, no. 4, pp. 829–841, Oct 2002.
load for UDP simulation runs. Based on the observation on TCP [4] Y.-D. Lin, Y.-C. Hsu, K.-W. Oyang, T.-C. Tsai, and D.-S. Yang, “Multihop
throughput, we use 600 Kbps as the offered load, i.e., when there are wireless IEEE 802.11 LANs: a prototype implementation,” in Proceedings
n UDP flows, the assigned bitrate of each flow is 600/n Kbps. of IEEE International Conference on Communications, 1999, pp. 1568 –
1572, IEEE, 1999.
We show in Fig. 4 the total system throughput versus the number [5] H. Wu, C. Qiao, S. De, and O. Tonguz, “Integrated cellular and ad hoc
of flows in the networks with TCP and UDP traffic, respectively. relaying systems: iCAR,” IEEE Journal on Selected Areas in Communi-
From the figures, we see that for both TCP and UDP, M2 -WLAN cations, vol. 19, no. 10, pp. 2105–2115, Oct 2001.
achieves substantially higher system throughput than WLAN under [6] E. Y. amd O Tonguz, S. Mishra, H. Wu, and C. Qiao, “Efficient dynamic
all traffic loads (number of flows). For WLAN, its throughput is load balancing algorithms using iCAR systems: a generalized framework,”
in Proceedings of Vehicular Technology Conference, VTC2002, pp. 586–
limited by the AP and channel capacity. As long as the offered load 590, IEEE, Fall 2002.
is larger than this limit, it can achieve a constant throughput. For [7] E. H.-K. Wu, Y.-Z. Huang, and J.-H. Chiang, “Dynamic adaptive routing
M2 -WLAN, in contrast, its throughput decreases as the traffic load for heterogeneous wireless network,” in Proceedings of Global Telecom-
increases. This is because the performance of the ad hoc connections munications Conference, 2001, pp. 3608–3612, IEEE, 2001.