# A novel cross-layer mesh router placement scheme for wireless mesh networks

- Tein-Yaw Chung
^{1}Email author, - Hao-Chieh Chang
^{1}and - Hsiao-Chih George Lee
^{2}

**2011**:134

https://doi.org/10.1186/1687-1499-2011-134

© Chung et al; licensee Springer. 2011

**Received: **1 March 2011

**Accepted: **14 October 2011

**Published: **14 October 2011

## Abstract

Wireless mesh networks (WMNs) offer a great promise in supporting ubiquitous multimedia Internet access for mobile or fixed mesh clients (MCs). In WMNs, Internet traffic from MCs is aggregated by serving mesh router (MR) and forwarded hop-by-hop by MRs to an internet gateway (IGW) or vice versa. While deploying MRs and IGWs, intricate relationships among antenna types, wireless links with adaptive modulation and coding, MAC scheduling, routing, and equipment cost render the network planning an extremely complex problem. This article presents a novel cross-layer MR placement (CMRP) scheme that can cope up with this issue. CMRP encapsulates the cross-layer metrics into three underlying attributes: *Local Coverage* (*LC*), *Backbone Residual Capacity* (*BRC*), and *Deployment Cost* (*DC*), and are used to minimize the network deployment cost. Coupled with our proposed novel tree-based minimal cost routing scheme and weight-based link assignment for user coverage, we are able to plan the design of WMNs efficiently. Extensive simulations have been performed to examine the performance and feasibility of CMRP and compared with existing design schemes based on coverage, connectivity, and combination of the two. The result demonstrates that our approach outperforms existing schemes both in the cost performance ratio and potential implementation feasibility.

## Keywords

## 1 Introduction

In the near future, broadband wireless mesh networks (WMNs) [1, 2] are expected to be widely deployed for providing Internet connectivity to users in residential areas and offices and supplementing existing wired infrastructure. WMNs are characterized by self-organizing and self-configuring capabilities, and hence are easy to be deployed. In 3G and Wi-Fi networks, each access point (AP) is connected through extensive wired infrastructure to access the backhaul network, which is often expensive and time consuming to be built. On the other hand, WMNs only use a subset of APs, called internet gateways (IGWs), to access the wired network, while the rest of the APs, called mesh routers (MRs), are connected to the IGWs in multi-hop wireless fashion. Thus, they are easy to be built and can provide an economical alternative to broadband wireless Internet connectivity.

Although WMN products are available in the market [3–6], their deployment has faced tremendous challenges [1, 2] because of some inherent problems, such as interference and high bit error rate (BER). One of the biggest challenge in deploying a WMN is to meet users' requirements with minimal cost. Usually, we have only a limited number of selected places that may have ac power and many locations may not be appropriate for MR deployment. Thus, the problem is to choose some of the locations for MR deployment so as to achieve the best cost performance ratio (CPR). A good location of MRs not only can provide high network throughput but also can lead to minimum number of MRs for meeting users' demand in the WMN design.

In the past, various schemes in various layers [7–17] have been used in placing MRs and IGWs so as to enhance the performance. Intricate relationships among antenna type used, wireless links with adaptive modulation and coding (AMC) scheme, MAC scheduling, routing, and equipment cost render the problem of optimal WMN planning extremely complex to address. Similar to the IEEE 802.16j scheme, some researchers [7, 8] develop schemes to place MRs so as to improve the WMN throughput, while others discuss the problem of MR placement (MRP) either without considering the wireless backbone network specifications for users' demand [9] or just focusing on the user coverage while ignoring users' demand [10, 12–16], not to mention the wireless backbone network support. The authors in [11] present an MRP algorithm without considering the cost for various antenna types. To simplify the problem, these works only consider a part of the design parameters associated with the MRP. Therefore, a more sophisticated MRP scheme is desirable to design a cost effective WMN that can meet users' demand both at the local level and at the backbone, with various technical options, such as antenna types, MAC scheduling, and routing.

This article proposes a cross-layer MRP (CMRP) scheme for a comprehensive MRP problem. Many researchers have proved the cross-layer approach [18–21] to be an effective scheme in improving the network performance. Our new CMRP iteratively adjusts the user coverage by each MR while new MRs are being added. As the residual backbone capacity is being evaluated with respect to the incurred interference, additional demand can be satisfied by each newly added MR. Based on a minimal interference routing scheme and the concept of bottleneck collision domain (BCD) [22], the backbone capacity is also evaluated to see if it can really meet the users' demand. To design a WMN with minimal cost, CMRP deploys a pair of directional antennas whenever it is observed to be cost effective. Therefore, CMRP offers a powerful MR deployment scheme in planning a WMN.

In CMRP, the cross-layer metrics are encapsulated into three attributes: *Local Coverage* (*LC*), *Backbone Residual Capacity* (*BRC*), and *Deployment Cost* (*DC*), which are evaluated throughout the MR addition process. *LC* specifies the contribution of a new MR in offering additional access capacity to the local users, *BRC* indicates the contribution of MRs to the backhaul capacity, and *DC* represents the ratio of the cost of deploying an MR using directional antennas to the cost of deploying an MR using an omni-directional antenna. *DC* enables selection of antenna types, such as omni-directional or directional antenna, based on the CPR while a WMN is being planned. CPR is taken as the ratio of the total deployment cost to the aggregate throughput in IGW. To maximize the objective function (*LC × BRC/DC*), CMRP selects MRs one by one among all the MR candidate locations. In this way, the objective function picks MR candidate locations that largely adds to the backbone capacity, more users' demand coverage, and lower deployment cost.

Extensive simulations have been performed to examine the performance and feasibility of our approach. We also compare CMRP with existing WMN planning schemes that consider only either coverage, or connectivity, or a combination of both. The result illustrates that CMRP outperforms existing schemes both in terms of CPR and its deployment feasibility. In addition, CMRP can help determine the users' demand and the size of a WMN that can achieve the best CPR. This information can help in deciding how many IGWs are needed when a large WMN is being planned.

The remainder of this article is organized as follows. Section 2 describes the related work. Section 3 presents the network model and problem formulation. Section 4 describes our heuristic algorithm. Section 5 summarizes the simulation results. Finally, Section 6 concludes the article and discusses our future work.

## 2 Related work

The inherent drawbacks of WMNs, such as interference, power limitation, and high BER, significantly limit the performance of WMNs. In the past, many researches [18–21, 23, 24] have presented algorithms to improve the throughput in channel utilization, radio power setting, and time slots allocation of WMNs. However, these works do not consider the service point placement problem, which has been experimentally shown to have a great impact on the performance by Bicket et al. [25].

The service point can be divided into two types of placement: IGW and MRs. The IGW placement [26–33] focuses on the wide area WMN planning, wherein many service points are clustered, and an IGW is assigned to each cluster. The MRP [7–17] deploys MRs to cover all users' demand. MRs may interfere with one another. Thus, if one of the MR wants to improve its throughput or service range using power control, then the nearby MRs may adversely suffer serious interference. So, how to optimize the MRP is an important problem that dictates the overall performance in a WMN system. In this article, we only consider the MRP, while the IGW placement is left as our future work.

So and Liang [7] place a fixed number of tetherless relay points (TRPs) to improve the throughput of a wireless LAN. They present a rate adaptation scheme to estimate the link rate and analyze how various parameters, such as path loss exponent, power ratio of AP and TRP over the power of mobile host (MH), and the number of TRPs, affect the performance and TRP placement. Lin et al. [8] analyze the placement of a single relay node (RN) in the IEEE 802.16j point-to-multi-point (PMP) networks so as to extend the coverage and improve the throughput/capacity of the network. They use a cooperative relay strategy to improve spatial diversity. Wang et al. [9] use a distributed clustering scheme to place a minimum number of MRs on candidate locations. Although they ensure connectivity between MRs, users' demand and users' coverage are met. But, they do not consider the link scheduling at the WMN backbone, and thus they cannot guarantee users' demand to be supported by the wireless backbone. San and Raman [10] define a complex objective function to minimize the total cost of MR deployment. Their design considers the number of antennas, the type of antenna, and the height of the IGW which do affect the line-of-sight transmission. Although they have considered the user coverage and the interference problem, they do not take users' demand into account. Moreover, they limit their design to only two-hop networks.

To cover users' need, So and Liang [11] address the MRP problem by constructing a fixed power of local and backbone links. However, they do not consider the cost of different types of antennas. Robinson and Kinghtly [12] analyze the throughput of WMNs with various types of topology, such as triangle, rectangle, hexagon, and random, and then compare the coverage performance. But, they only consider the users' coverage, not the users' demand. Franklin and Murphy [13] consider both the network backbone connectivity and the local coverage problem and use signal strength to represent the connectivity. But, they do not incorporate users' demand, which limits the usefulness of their approach. Xhafa et al. [14–16] use several search methods to solve the MRP problem. They take both the network connectivity and the user coverage. However, they do not consider users' demand, antenna cost, link capacity, or interference issues. Wang et al. [17] minimize the number of MRs deployed, with the objectives of the network connectivity, the users coverage, and users' demand. They consider MRs with multiple rates, which influence both the transmission range and the link capacity. However, they consider only fixed number of antennas on an MR and thus fixed cost per MR.

Selecting network service points with the minimum cost is a challenging task. Although the above researches have worked on this issue, they do not consider comprehensive metrics, such as users' demand, signal interference, MR deployment cost, and antenna type. This article presents a CMRP scheme to minimize the cost of MR deployment by taking users' demand, MAC scheduling, routing, and costs of MR and antenna into consideration.

## 3 MRP Modeling and solution

This article focuses on IEEE 802.16d-based WMNs, in which a set of MRs are connected with multi-hop wireless links to form a wireless backbone, which is then connected to the Internet through an IGW.

### 3.1 Network model

Given *n* randomly generated user locations *V* = [*v*_{1},..., *v*_{
n
}], and *m* randomly generated MR candidate locations ${V}^{\prime}=\left[{v}_{1}^{\prime},...,{v}_{m}^{\prime}\right]$, according to the IEEE 802.16d mesh networking standard, assume that all the MC nodes are fixed and only one IGW is selected from these candidate locations. Assume that the user locations and the MR candidate locations satisfy the geographic and RF constraints.

We assume that the 802.16 OFDM modulation scheme is used between an MR and its local MCs. Thus, each MR employs omni-directional antenna for serving its local MCs. We assume the presence of single channel modulation scheme for the backbone. Thus, an MR uses either omni-directional or directional antenna for the backbone of the WMN. A directional antenna (also called a sectored antenna) is different from an omni-directional antenna in that it only transmits the signal in the range of a sector. Because it can concentrate on transmitting power in only a given direction, it can cover a longer range while the interference is limited to a smaller area than that of an omni-directional antenna. Let *Pl* be the maximum power of all the antennas used in the local network, and *PO* and *Pd*, respectively, be the maximum power of an omni-directional and a directional antenna used in the backbone network. In general, the local service antenna has a smaller transmission range, and the backbone service antenna has a larger transmission range, i.e., *P*_{
L
}< *P*_{
O
}< *P*_{
D
}.

In the MAC layer, we assume the TDMA scheme as specified by the 802.16d mesh mode, and is used for both the local and the backbone WMNs, and the link rate is set by the AMC scheme. In the TDMA scheme, time is partitioned into synchronized frames, which are composed of several equal duration time slots. Links are scheduled to maximize spatial reuse of the link bandwidth while avoiding any collision.

In a WMN, every MR aggregates traffic load from the local MCs. Then, the traffic is relayed between MRs in a multi-hop wireless fashion. As MCs do not communicate directly with each other, MRs form the backbone of a WMN. Unlike ad hoc networks where traffic is randomly distributed between peer nodes, the traffic in a WMN is predominantly directed from MRs toward IGW or from IGW to MRs, i.e., so-called internetwork traffic. We assume that every MC *i* has a maximum internetwork demand *q*_{
i
}. We consider maximum users' demand because the ultimate goal of network planning is to satisfy whatever a user may need. We also assume that a symmetric scheme is used in the transmission system, i.e., both downlink and uplink flows interfere in the same way. Thus, we only consider uplink flow demand, as it is easy to extend the system to the downlink flow demand.

### 3.2 MRP problem

*q*

_{ i }, ∀

*i*∈

*V*, MR candidate locations

*V*

^{ ' }, and the price of an MR and the price of a pair of directional antennas, the goal of MRP is to deploy MRs and directional antennas to meet users' traffic demand with minimum cost. Assume that the default cost of an MR includes two omni-directional antennas: one for local traffic and another for backbone traffic. The MRP problem can be defined as a mixed integer linear programming (MILP) as follows when a routing tree rooted on IGW is employed.

where

*α*: cost of an MR using omni-directional antenna;

*β*: cost increase of an MR using directional antennas;

*q*_{i}: maximum traffic demand of user *i*;

*r*_{
ij
}: transmission rate between user *i* and MR *j*;

*C*_{max}: maximum link capacity of a local access antenna;

*R*_{j}: local coverage of MR *j*;

*R*_{
max
}: maximum local coverage of an MR;

*k*, where

*Q*_{
k
}: locally generated traffic of MR *k*;

*k*because of interference from other MRs, where

where Γ_{
k
}is the set of links that interfere MR *k* and MR *l* is the uplink MR of MR *k*;

*Ĉ*_{
k
}: backbone uplink capacity ofaggregate backbone traffic MR *k*;

*Ĉ*_{max}: maximum backbone link capacity of a backbone access antenna with AMC.

Equation 1 is our objective function that minimizes the total cost of MRs and additional directional antennas deployed. Equations 2 and 3 guarantee that each MC *i* can be served by one MR, and its demand *q*_{
i
}can be supported by the transmission rate *r*_{
ij
}that is smaller than the maximum link capacity *C*_{
L
}with AMC between MC *i* and MR *j*. Equation 4 guarantees that all locally generated users' demand could be fully covered by the MRs deployed. Equation 5 guarantees that every MR j can relay inter-MR traffic and support locally generated traffic through its backbone capacity *Ĉ*_{
k
}with interference from other nearby MRs. This constraint of Equation 5 is highly related to the locations of MRs, how a routing path is selected for relaying traffic between MRs and IGW, and the MAC layer scheduling with spatial reuse constraint. *Ĉ*_{
k
}, the uplink capacity of MR *k*, is determined by the distance between MR *k* and its uplink MR based on AMC. As expressed in Equation 6, ${\widehat{Q}}_{k}$, the aggregate traffic of MR k, i.e., the sum of all the transit traffic and locally generated traffic, depends on the routing algorithm, which determines the value of *h*_{
jk
}. Finally, $\widehat{{C}_{k}^{\prime}}$, the wasted capacity of MR *k*, is determined by the MAC layer scheduling scheme based on the spatial reuse according to the routing tree constructed by the routing algorithm.

The MRP problem as defined in Equation 1 is a cross-layer design problem, which involves equipment cost, antenna type used, wireless AMC, network routing and MAC scheduling. Such an interrelated MILP problem is NP hard [17]. This motivates us to find an effective approach to handle this problem.

In order to solve the MRP problem, we use three novel performance metrics to capture the multi-layer design consideration for the local network and the backbone network: *Local Coverage* (*LC*), *Backbone Residual Capacity* (*BRC*), and *Deployment Cost* (*DC*). *LC* denotes the users' demand that can be covered by an MR with an AMC wireless link, which can be used to evaluate the contribution of an MR to fulfill Equation 4. *BRC* calculates the residual backbone capacity that can support more users' demand originated from a newly deployed MR. Since the internetwork traffic must be routed hop-by-hop to the IGW, it consumes bandwidth of many links and cause interference among links. *BRC* captures the effect of Equation 5 as it considers the synergy effect of AMC, MAC scheduling, and routing because the chosen location for placing an MR determines the link rate with AMC, while the routing path between the MR and IGW consumes the capacities of the path links, which further interferes with links in its neighborhood, and thus the MAC layer must schedule the links to prevent transmission collision. *DC* can help us evaluate the tradeoff between using directional antennas that increase the backbone capacity or just deploying an MR using omni-directional antenna to save cost while deploying MR. It provides us a vehicle to optimize the cost of the MRP problem indicated in Equation 1.

With these three metrics, we develop a heuristic algorithm to resolve the MRP. First, given a user demand vector, we can use some existing IGW selection scheme, such as the one given in [9], to place an IGW at one of MR candidate locations. Second, with or without directional antennas, we deploy an MR at a selected location with a maximal utility value. Then, we check if all users' demand have been met. If not, add an additional MR that can meet the residual users' demand. The process is repeated until either all users' demand is met or the algorithm fails.

### 3.3 Cross-layer design

Our cross-layer design contains two major parts: the local network and the backbone network. In the local network, we try to satisfy all local users' demand with a minimal number of MRs. In the backbone network, we must ensure all the MRs have sufficient bandwidth to forward their traffic hop-by-hop to the IGW through a MAC scheduling algorithm and a good routing tree. This subsection first discusses the AMC model in the physical layer and a tree-based minimum cost routing (TMCR) in the network layer. Then, we do the MAC layer scheduling based on the AMC and TMCR.

#### • Physical layer

*P*

_{ dBm }(

*d*

_{ 0 }) at distance

*d*

_{ 0 }, the RSS at distance

*d*is given as

where γ is the path loss exponent, and *ε* is the shadowing term.

With a given transmission power, higher rate modulation requires a higher RSS or a shorter transmission distance between two nodes. In order to increase the link capacity while maintaining transmission quality, the AMC technique is used at the physical layer that improves the data transmission rate. To estimate the link rates of the local and the backbone networks, we apply the distance between two nodes using Equation 8 to obtain the RSS first. Then, the RSS is applied into the 802.16 AMC table given in [34] to select an appropriate modulation scheme and thus the corresponding raw bit rate.

#### • Network layer

A multi-hop wireless network must have a routing scheme that selects a path to relay packets between IGW and MRs. The shortest path routing and the minimum hop routing (e.g., AODV) are two popular routing schemes. However, different routing schemes are suitable for different networks, such as ad hoc networks, sensor networks, and stationary networks, such as WMNs. Routing has been primarily designed to maintain connectivity for ad hoc networks or sensor networks, whereas it is more important to maximize the network throughput for WMNs.

*l*

_{ jk }and

*l*

_{ lm }are

*d*(

*j*,

*l*),

*d*(

*j*,

*m*),

*d*(

*k*,

*l*), and

*d*(

*k*,

*m*). Then, in this case, the distance between links

*l*

_{ jk }and

*l*

_{ lm }equals to

*d*(

*k*,

*m*), i.e., the shortest among the four. Interference occurs when the distance between two links is smaller than the transmission range of an MR. Next, we define the degree of interference for link

*l*

_{ jk }, denoted as

*I*

_{ jk }, as the number of links that are restrained from transmitting because of the interference caused by the transmitting of link

*l*

_{ jk }. As shown in Figure 2, the degree of interference for link

*l*

_{1,2}is 5, since there are five links, i.e.,

*l*

_{3,4},

*l*

_{5,6},

*l*

_{7,8},

*l*

_{9,10}, and

*l*

_{11,12}, are interfered by the transmission of link

*l*

_{1,2}and thus are restrained from transmission. In Figure 2, the transparent and shaded circles show the transmission ranges of MR 1 and MR 2, respectively. Conversely, link

*l*

_{1,2}is restrained from transmission when any one of the interfered links, i.e.,

*l*

_{3,4},

*l*

_{5,6},

*l*

_{7,8},

*l*

_{9,10}, or

*l*

_{11,12}, is transmitting.

*j*and MR

*k*as

where *I*_{
jk
}is the degree of interference that interfere link *l*_{
jk
}and *r*_{
jk
}is its link rate. Thus, *Cost*_{
jk
}represents the time duration of interference incurred when transmitting a unit of data over the link *l*_{
jk
}. The larger *r*_{
jk
}is, the shorter will be the transmission time for a data packet, and hence, the shorter the blocking time will be for other links in link *l*_{
jk
}'s collision domain. Also, the smaller *I*_{
jk
}is, the fewer number of links is interfered by the link *l*_{
jk
}, and the shorter will be the aggregate blocking time.

*l*as

where *P*_{
l
}represents the routing path from MR *l* all the way to IGW. Thus, *COST*_{
l
}represents the backbone capacity consumed when a unit of data is transmitted on *P*_{
l
}.

**Algorithm 1** shows the TMCR algorithm. TMCR is a variant of the Prim's algorithm. It finds a minimum spanning tree using a greedy strategy based on *COST*_{
l
}. After TMCR terminates, a routing tree *T* is obtained.

#### • MAC layer

It is important to handle all users' demand evenly by nearby MRs. However, since all the internetwork traffic goes through the IGW, MRs closer to the IGW have shorter paths to the IGW and therefore consume less network resource than MRs farer away from the IGW. Thus, we shall give higher priority to MRs closer to the IGW when we assign users' demand to MRs. To achieve this goal, we define a weight-based link assignment (WLA) at the MAC layer. In WLA, we first sort MRs in an increasing order based on their routing cost, as defined in Equation 10. Then, we assign users' demand to MRs according to their order by the nearest neighborhood scheme, i.e., we assign user demand *q*_{
i
}to MR *j* whose *r*_{
ij
}is the largest while guaranteeing such an allocation is supported by the backbone. If the backbone cannot support such a user demand, then WLA terminates, which implies that the scheduling fails. **Algorithm 2** shows the procedure for WLA.

As MR is deployed incrementally, the routing tree also changes accordingly. Thus, WLA must be repeated for every MR added. With such a dynamic allocation, we are able to achieve close-to-optimal assignment while ensuring the feasibility of the MRP.

### 3.4 Performance metrics

On the MRP problem, it is hard to solve Equation 1 while satisfying Equations 4 and 5 because of interference. In this subsection, based on the concept of collision domain, we first consider the upper bound for the capacity of a WMN. Then, we introduce two performance metrics: local coverage (*LC*) and backbone residual capacity (*BRC*). Using these two metrics, we can quantify the degree of their contribution when deploying an MR both in the users' demand coverage and in the backbone. Then, we present a novel heuristic algorithm based on the metrics for MRP.

#### • WMN capacity upper bound

Evaluating the upper bound *C*_{
wmn
}for the capacity in a WMN is important for the network planning. It indicates how well users' demand can be satisfied. To estimate *C*_{
wmn
}, this study utilizes the heuristic of [22] which utilizes the concept of collision domain (CD), and then the most congested CD, called BCD, is identified and used to compute *C*_{
wmn
}.

*C*

_{ wmn }of a WMN is computed, a chain topology of Figure 3, taken from [22], is used as an example. Here, every node has a demand of 1

*G*to gateway. The CD centered at link 2-3 contains links 1-2, 2-3, 3-4, and 4-5. When the link 2-3 is activated, the links in the 2-3 CD cannot be active at the same time. With similar arguments, we can readily find out CDs of all the links, out of which the CD of link 2-3 contains the most link flows (4 + 5 + 6 + 7 + 8)

*G*and hence is the BCD of the WMN. If each link in the collision domain of 2-3 cannot forward more than the nominal MAC layer capacity

*B*, then the maximal throughput cannot exceed

*C*

_{ wmn }=

*B*/(4 + 5 + 6 + 7 + 8)

*G*=

*B*/30

*G*.

Because all the traffic must be forwarded toward/from the IGW, IGW is the most heavily loaded CD in the network and often becomes the BCD of a WMN [36]. By analyzing the capacity of BCD, we can compute *C*_{
wmn
}of a WMN, by which we can decide if the backbone capacity is sufficient to support all the users. The BCD concept holds true for single channel. For multiple channel case, it is easy to iterate for *C*_{
wmn
}in a WMN. If each channel has the same characteristics, then it is simply *c* × *C*_{
wmn
}for *c* subchannels. However, for simplicity, we assume a single channel case, thereby enabling the use of only *C*_{
wmn
}.

#### • Local coverage

The location of an MR is very important for serving MCs. A user demand is satisfied when both the local and the backbone networks have sufficient capacities to handle. As per PHY layer property, if the distance between two nodes is shorter, then the transmission rate becomes large with AMC. Thus, if we want to enhance the backbone link quality, then we must reduce the transmission distance between the MRs. On the contrary, if we want to serve more MCs, then we should place an MR close to as many uncovered MCs as possible, i.e., extending the transmission distance between MRs. However, the local coverage metric (*LC*) simply considers serving as many MCs as it can.

where *Q*_{
IGW
}and *Q*_{
j
}are the local demands of IGW and MR *j*, respectively. Equation 11 computes the total throughput of the mesh network Θ, which must be smaller than or equal to the network capacity *C*_{
wmn
}.

*Local Coverage (LC)*metric is used to represent the contribution of an MR in enhancing the network throughput. We define

*R*

_{(}

_{ n }

_{)}as an increment to the network throughput when

*n*

^{ th }MR is deployed:

where Θ_{(n)}denotes the throughput of the WMN after the nth MR has been deployed. To determine the *n* th MR, the local coverage of every MR, denoted by Equation 4 as *R*_{
j
}for MR *j*, is calculated first. Apparently, it is beneficial to select the MR with the largest LC.

#### • Backbone residual capacity

Transmitting data in a wireless multi-hop network consumes substantial resources because of interference among the links. Thus, we must try to cover more users' demand while reducing resource consumption. Because we place MR one by one, it is necessary to compute how much residual resource is available for other unserved users. We define the *Backbone Residual Capacity* (*BRC*) metric that estimates the amount of backbone capacity available to serve un-assigned users' demand after placing an MR. *BRC* computes the residual capacity of all the links in the BCD, i.e., the CD of the IGW. Because all the data flows must be transmitted through the BCD, the resource in the BCD will be exhausted first. Thus, if *BRC* is larger, then more MCs far away from the IGW can be served.

**Algorithm 3**presents the

*BRC*computation algorithm. The residual capacity of link

*l*

_{ jk }, denoted as ${\u0108}_{jk}^{r}$, is its link capacity minus its current aggregated traffic load:

*Ĉ*

^{ r }, is the sum of the residual capacity of each link in the BCD:

where *l*_{
jk
}means MR *k* is the uplink node of MR *j*. We denote ${\u0108}_{j}^{r}$ as the total residual capacity if MR *j* is deployed.

When *Ĉ*^{
r
}is zero while some users' demand are still un-assigned, the WMN design either fails or omni-directional antennas for some MRs must be replaced by directional antennas so as to reduce the interference, and thus the link rate could be increased.

## 4 Cross-layer MRP

*k*to maximize the objective function

*OF*

_{ 1 }as follows:

Instead of selecting MR with a maximal *BRC* or a maximal *LC*, we select MR with the maximum product of *BRC* and *LC* first. The reason we select *BRC* × *LC* is to maximize the backbone capacity while covering more users' demand. If only *LC* is used, then the MR deployment will always select an MR with maximal user demand coverage, which can cover substantial users' demand initially, but completely consume the backbone resource soon, resulting in a non-optimal placement. Thus, the product of *BRC* and *LC* can allow us to balance the effectiveness between the coverage of users' demand and improvement in the backbone capacity.

Based on *OF*_{1}, **Algorithm 4** contains three main parts. The first part is to select an IGW location, the second part is to deploy an MR, and the last part is to deploy directional antennas for backbone links.

Step 1 initializes the routing tree *T* using TMRC as given in the **Algorithm 1**. Step 3 determines the IGW location. The IGW deployment problem is beyond the scope of this article. So, we use an existing approach given in [9] to select the IGW location. In Step 6, we calculate all the candidate MR locations to find a location with the maximum *OF*_{
1
}and deploy it. In Steps 10 and 11, we reconstruct the scheduling routing tree and re-allocate users' demand with TMRC and WLA, respectively. If we cannot find an MR location with *OF*_{
1
}> 0, then it implies that the backbone capacity is exhausted and cannot satisfy any more demand. However, there may be some links that could be split by another MR to enhance their link rates and hence increase the backbone throughput. Thus, we temporarily ignore *LC* and select an MR with a maximal average *BRC*, denoted as *Max_R*, larger than a threshold and deploy it. If no such MR exists, then Step 20 finds a link that interferes with other links for the longest time period and replaces it with a pair of directional antennas. This algorithm will be terminated either when all the users' demands are satisfied or when we cannot deploy an MR at a new location to increase the backbone throughput any further.

In CMRP-1, directional antennas are used only when the WMN topology cannot meet all users' demand and the MR locations are not changed when directional antennas are added. Because using directional antennas not only reduces the interference, but also enhances the transmission range, such a deployment scheme may not be optimal. Furthermore, CMRP-1 does not consider the deployment cost of an MR and an antenna and cannot optimize the cost of the WMN deployment.

*Deployment Cost (DC)*metric as an index to estimate the cost of using directional antennas. The cost of deploying MR

*j*using directional antennas, denoted as

*DC*

_{ j }, is defined as

*β*

_{ jk }is the cost increase of using a pair of directional antennas between MR

*j*and its uplink MR

*k*, and

*α*

_{ j }is the cost of deploying MR

*j*using omni-directional antenna only. Then, the second objective function is defined as

*k*where

If MR *k* is selected and its *OF*_{
2
}is larger than its *OF*_{
1
}, then MR *k* will use a pair of directional antennas on the link between itself and its parent node in the routing tree. We denote *β/α* in Equation 17 as the cost ratio (CR). Lower cost of directional antenna means smaller CR, i.e., *DC* is closer to unity and *OF*_{1} ≈ *OF*_{
2
}, and thus CMRP-2 performs nearly as CMRP-1. The cost of deploying a new MR is always there. What we consider in CR is the difference between the cost of adopting directional antenna and omni-directional antenna. We show how CR affects CMRP-2 in Section 5.

The complexities of TMCR, WLA, and BRC are *O* (*m*^{2}), *O* (*m*^{2}) + *O* (*m* × *n* log *n*), and *O* (*m*^{2}), respectively. The complexity of CMRP is thus *O* (*m*^{3}) + *O (m*^{
2
} × *n* log *n*).

## 5 The algorithm simulation and analysis

The setting of parameters in the PHY layer

Local power | 0.01 W |
---|---|

Backbone omni-directional antenna power | 0.5 W |

Backbone directional antenna power | 0.8 W |

Backbone directional antenna angle | 30° |

Local path loss | 3.8 |

Backbone path loss | 3.6 |

Local transmission range | 1050 m |

Backbone transmission range | 2100 m |

Backbone transmission range with directional antenna | 2500 m |

Local link bandwidth | 10 Mbps |

Backbone link bandwidth | 30 Mbps |

### 5.1 Comparing with another algorithm

We compare our algorithms, CMRP-1 and CMRP-2, with another Probability algorithm proposed in [13], which is similar to our approach among other related works, i.e., it also uses a heuristic algorithm that places mesh nodes one by one while keeping an eye on the local coverage and the backbone connectivity probability. In our simulation, 180 users and 180 candidate MR locations are configured in a square of 6 km. Each user has 1.0 Mbps uplink flow demand.

*CR*= 0.3. Then, Figure 5 shows the CPR vs. network throughput. When the network throughput is low (e.g., below 65 Mbps), all the three algorithms perform equally well. But, when a larger network throughput (e.g., over 65 Mbps) is desirable, the CPR for the

*Probability*reduces rapidly. When the network throughput is increased further (e.g., over 140 Mbps), the CPR for CMRP-1 becomes worse than CMRP-2. Thus, we conclude that CMRP-2 has the best CPR for all the ranges of the network throughput.

### 5.2 Comparing CMRP with fair scheduling, shortest path routing, and greedy MR selection method

In order to show the merit of CMRP-1 and CMRP-2, we first compare the simulation results of the CMRP framework with various existing schemes, such as the fair user demand allocation, the shortest path routing, and a greedy MR selection scheme, denoted as CMRP-1/Fair, CMRP-1/SP, and CMRP/Greedy, respectively. The fair user demand allocation scheme assigns users' demand to MRs solely based on the nearest neighborhood scheme, without considering the locations of MRs relative to the IGW. The shortest path routing scheme constructs the smallest hop count routing paths between IGW and MRs without considering the link rate and the interference. The greedy MR selection scheme always chooses an MR with the best throughput based on the *LC* only.

Percentage of simulation failure by different schemes

Demand | CMRP-2 (%) | CMRP-1 (%) | CMRP-1/Fair (%) | CMRP-1/SP (%) | CMRP/Greedy (%) |
---|---|---|---|---|---|

0.6 | 0 | 0 | 0 | 0 | 0 |

0.7 | 7 | 0 | 0 | 19 | 0 |

0.8 | 5 | 0 | 0 | 89 | 0 |

0.9 | 12 | 0 | 0 | 97 | 0 |

1.0 | 18 | 0 | 0 | 98 | 0 |

1.1 | 19 | 0 | 7 | 99 | 0 |

1.2 | 21 | 6 | 12 | 100 | 4 |

1.3 | 23 | 9 | 30 | 100 | 12 |

1.4 | 46 | 17 | 36 | 100 | 15 |

1.5 | 61 | 38 | 60 | 100 | 32 |

Figures 6 and 7 show the number of MRs and the number of pairs of directional antennas deployed by each scheme. Figure 6 shows that CMRP-2 deploys the fewest MRs and the number of MRs deployed by CMRP-2 is relatively independent of the users' demand. Figure 7 shows that the number of pairs of directional antennas increases as users' demand increases for all the schemes. However, the number of pairs of directional antennas deployed by CMRP-2 is linearly dependent on the demand. This shows that taking the antenna type into account while deploying MRs is an efficient way to minimize deployment cost.

### 5.3 Analyzing the cost of constructing a WMN

As the cost is an important index to determine how good an MR deployment algorithm is for service providers, we discuss the cost of constructing a WMN. Figure 8 shows the no rmalized cost of all the schemes relative to CMRP/Greedy. It is shown that CMRP-2 achieves the lowest deployment cost among all the schemes, and the CPR is the lowest as the user demand increases up to 1.0 Mbps. The result also shows that the deployment schemes without considering cost converge as the user demand increases. Figure 9 shows that CMRP-2 provides the least CPR and is nearly constant for all the ranges of user demand, while the CPR of other schemes increases as the user demand increases. This shows that CMRP-2 is much more cost effective and efficient in the MR deployment.

## 6 Conclusion and future work

In this article, we present a CMRP scheme for IEEE 802.16d WMNs. CMRP integrates the AMC technology and the antenna type at the PHY layer, TMCR at the network layer, MAC scheduling and WLA at the data link layer to derive a cost effective WMN design. CMRP encapsulates the complex design metrics into three design attributes: the local coverage, the backbone residual capacity, and the deployment cost. Numeric results show that CMRP works well, and provides a good CPR in the WMN network planning. Simulation results also confirm that our novel TMCR and WLA schemes can effectively improve the performance of CMRP. Moreover, by incorporating the cost ratio of directional antenna to MR in the network planning, a WMN with a low CPR can be obtained.

From the simulation results, we also see that the CPR increases substantially as a WMN covers larger users' demand. Based on this observation, we plan to develop an IGW placement algorithm based on CMRP to achieve low CPR in the large-scale WMN planning.

## Algorithm 1 TMCR

*Input:* backbone topology *G = (V',E)*, link rates *r*_{jk|jk∈E}, and *IGW*.

*Output:* a routing tree *T*.

*//M*_{
c
}: the set of MR candidates that have not yet been

// included in a routing tree.

//*M*_{
r
}: the set of MR candidates that have been

// included in a routing tree.

1: *M*_{
c
}= *V* - {*IGW*};

2: *M*_{
r
}= {*IGW*}; *T* = {*IGW*}*; COST*_{
IGw
}= 0;

3: for *j* ∈ *M*_{
c
}

4: if *r*_{
j,IGW
} ≠ 0

5: *Cost*_{
j,IGW
}= *I*_{
j,IGW/rj,IGW
}_{;}

6: *uplink*(*j*) = *IGW*;

7: else

8: *Cost*_{
j,IGW
}= ∞;

9: *uplink(j) = ϕ*;

10: endif

11: *COST*_{
j
}= *Cost*_{
j,IGW
};

12: endfor

13: while *M*_{
c
}≠ *ϕ*

14: $k=\mathrm{arg}{\mathrm{min}}_{j\in {M}_{c}}$*COST*_{
j
}; *l* = *uplink*(*k*);

15: *M*_{
c
}- {*k*}; *M*_{
r
}∪ {*k*}; *T* ∪ {*l*_{
kl
}};

16: for *j* ∈ *M*_{
c
}

17: if (*Cost*_{
jk
}+ *COST*_{
k
}) < *COST*_{
j
}

18: *COST*_{
j
}= *Cost*_{
jk
}+ *COST*_{
k
};

19: *uplink*(*j*) = *k*;

20: endif

21: endfor

22: endwhile

## Algorithm 2 WLA

*Input:* a routing tree *T*, MR routing costs $COS{T}_{j|j\in {M}_{r}}$, users' demand *q*_{
i
}*|*_{
i∈V
}.

*Output*: the user's demand allocation *A*.

1: *S = M*_{
r
}*; D = {q*_{
i
}*|i* ∈ *V}*;

2: *flag* = 1;

3: while *S* ≠ *ϕ* && *flag* == 1

4: *k* = arg min_{j∈S}*COST*_{
j
};

5: sort *q*_{
i
}in *D* in a descending order of *r*_{
ik
};

6: *R*_{
k
}= *R*_{
L
};

7: while *D* ≠ *ϕ* and *R*_{
k
}is not exhausted

8: assign the first *q*_{
i
}in *D* to *A(k)*;

9: *D* - {*q*_{
i
}}; *R*_{
k
}= *R*_{
k
}- *q*_{
i
};

10: allocate backbone resource to *q*_{
i
};

11: if backbone resource is exhausted

12: *flag* = 0; break;

13: endif

14: endwhile

15: *S* - {*k*};

16: endwhile

## Algorithm 3 Backbone Residual Capacity (BRC) computation

*Input:* the set of scheduled backbone links *L*_{
B
}.

*Output:* the backbone residual capacity *Ĉ*^{
r
}.

//${\u0108}_{jk}^{r}$: the residual capacity of link *l*_{
jk
}

1: *U* = *L*_{
B
};

2: *Ĉ*^{
r
}= 0;

3: while *U* ≠ *ϕ*

4: select a link *l*_{
jk
}from *U*;

5: *U - {l*_{
jk
}*}*;

6: if *l*_{
jk
}is in the BCD

7: ${\u0108}_{jk}^{r}={r}_{jk}-{\widehat{Q}}_{j};$

8: ${\u0108}^{r}={\u0108}^{r}+{\u0108}_{jk}^{r};$

9: endif

10: endwhile

## Algorithm 4 CMRP-1

*Input*: user location *V*, demand *q*_{
i
}_{|}_{
i
}_{∈}_{
V
}, MR candidate locations *M*_{
c
}, and IGW location *IGW*.

*Output*: the number of selected MRs and their respective locations *M*_{
r
}.

1: initialize the routing tree *T* by TMCR;

2: *M*_{
r
}= {*IGW*};

3: set up IGW location;

4: *M*_{
c
}- {*IGW*};

5: while $\Theta <{\sum}_{i=1}^{n}{q}_{i}$

6: j = arg max_{
Mc
}{*OF*_{1} > 0};

7: if *j* ≠ - 1//current backbone capacity

// is large enough

8: *M*_{
c
}- {*j*};

9: *M*_{
r
}∪ {*j*};

10: update the routing tree *T* by TMCR;

11: reallocate users' demand by WLA;

12: else //*j* = -1

13: find a location *k* ∈ *M*_{
c
}

with $Max\_R={\mathrm{max}}_{k\in {M}_{r}}\{BR{C}_{k}/|{M}_{r}\left|\right\}$;

14: if(*Max_R* > *ω*)//ω is a threshold

15: *M*_{c} - {*k*};

16: *M*_{r} ∪ {*k*};

17: update the routing tree *T* by TMCR;

18: reallocate users' demand by WLA;

19: else// no MR can be selected from *M*_{
c
}

//with *Max_R* > ω

20: find a link *l*_{
ij
}∈ *BCD*

with maximal $\frac{{Q}_{i}}{{r}_{ij}}\times {I}_{ij}$

21: if no such a link is found

22: break;

23: endif

24: replace *l*_{
ij
}by a pair of directional antennas;

25: update the routing tree *T* by TMCR;

26: reallocate users' demand by WLA;

27: endif

28: endif

29: endwhile

## Declarations

### Acknowledgements

The authors would like to thank the National Science Council, Taiwan, ROC, for financially supporting this research under Contract No. NSC100-2221-E-155-040. The authors would also like to thank Prof. Dharma P. Agrawal for his precious comment and suggestion on this research work.

## Authors’ Affiliations

## References

- Akyildiz IF, Wang X: A survey on wireless mesh networks.
*IEEE Commun Mag*2005, 43(9):S23-S30.View ArticleGoogle Scholar - Nandiraju N, Nandiraju D, Santhanam L, B He, Wang J, Agrawal DP: Wireless mesh network: current challenges and future directions of web-in-the-sky.
*IEEE Wireless Commun Mag*2007, 14(4):79-89.View ArticleGoogle Scholar - Nortel [Online][http://www.nortel.com]
- Tropos Networks [Online][http://www.tropos.com]
- Strix Systems [Online][http://www.strixsystems.com]
- BelAir Networks [Online][http://www.belairnetworks.com]
- So A, Liang B: Enhancing WLAN capacity by strategic placement of tetherless relay points.
*IEEE Trans Mobile Comput*2007, 6(5):474-487.View ArticleGoogle Scholar - Souryal MR, Geissbuehler J, Miller LE, Moayeri N: Real-time deployment of multihop relays for range extension.
*Proceedings of the ACM International Conference on Mobile Systems, Applications, and Services*2007, 85-98.Google Scholar - Wang J, Xie B, Cai K, Agrawal DP: Efficient mesh router placement in wireless mesh network.
*Proceedings of the IEEE International Conference on Mobile Adhoc and Sensor Systems*2007.Google Scholar - Sen S, Raman B: Long distance wireless mesh network planning: problem formulation and solution.
*Proceedings of the ACM International Conference on World Wide Web*2007, 893-902.View ArticleGoogle Scholar - So A, Liang B: Optimal placement of relay infrastructure in heterogeneous wireless mesh networks by Bender's decomposition.
*Proceedings of the ACM International Conference on Heterogeneous Networking for Quality, Reliability, Security and Robustness*2006, a20-a23.Google Scholar - Robinson J, Knightly EW: A performance study of deployment factors in wireless mesh networks.
*Proceedings of the IEEE International Conference on Computer Communications*2007, 2054-2062.Google Scholar - Franklin AA, Murthy CSR: Node placement algorithm for deployment of two-tier wireless mesh networks.
*Proceedings of the IEEE Global Communications Conference*2007, 4823-4827.Google Scholar - Xhafa F, Sanchez C, Barolli L: Locals search algorithms for efficient router nodes placement in wireless mesh networks.
*Proceedings of the IEEE International Conference on Network-Based Information Systems*2009, 572-579.Google Scholar - Xhafa F, Sanchez C, Barolli L: Genetic algorithms for efficient placement of router nodes in wireless mesh networks.
*Proceedings of the IEEE International Conference on Advanced Information Networking and Applications*2010, 465-472.Google Scholar - Xhafa F, Sanchez C, Barolli L, Miho R: An annealing approach to router nodes placement problem in wireless mesh networks.
*Proceedings of the IEEE International Conference on Complex, Intelligent and Software Intensive Systems*2010, 245-252.Google Scholar - Wang J, Cai K, Agrawal DP: A multi-rate based router placement scheme for wireless mesh networks.
*Proceedings of the IEEE International Conference on Mobile Adhoc and Sensor Systems*2009, 100-109.Google Scholar - Yuan J, Li Z, Yu W, Li B: A cross-layer optimization framework for multihop multicast in wireless mesh networks.
*IEEE J Sel Areas Commun*2006, 24(11):2092-2103.View ArticleGoogle Scholar - Kim S, Wang X, Madihian M: Cross-layer design of wireless multihop backhaul networks with multiantenna beamforming.
*IEEE Trans Mobile Comput*2007, 6(11):1259-1269.View ArticleGoogle Scholar - Cao M, Wang X, Kim S-J, Madihian M: Multi-hop wireless backhaul networks: a cross-layer design paradigm.
*IEEE J Sel Areas Commun*2007, 25(4):738-748.View ArticleGoogle Scholar - Ali SH, Lee KD, Leung VCM: Dynamic resource allocation in OFDMA wireless metropolitan area networks [Radio Resource Management and Protocol Engineering for IEEE 802.16].
*IEEE Wireless Commun Mag*2007, 14(1):6-13.View ArticleGoogle Scholar - Jun J, Sichitiu ML: The nominal capacity of wireless mesh networks.
*IEEE Wireless Commun Mag*2003, 10(5):8-14. 10.1109/MWC.2003.1241089View ArticleGoogle Scholar - Lee KD, Leung VCM: Fair allocation of subcarrier and power in an OFDMA wireless mesh network.
*IEEE J Sel Areas Commun*2006, 24(11):2051-2060.View ArticleGoogle Scholar - Tang J, Xue G, Chandler C, Zhang W: Link scheduling with power control for throughput enhancement in multihop wireless networks.
*IEEE Trans Vehicular Technol*2006, 55(3):733-742. 10.1109/TVT.2006.873836View ArticleGoogle Scholar - Bicket J, Bicket J, Aguayo D, Biswas S, Morri R: Architecture and evaluation of an unplanned 802.11b mesh network.
*Proceedings of the ACM International Conference on Mobile Computing and Networking*2005, 31-42.Google Scholar - Amis AD, Prakash R, Vuong THP, Huynh DT: Max-min D-cluster formation in wireless ad hoc networks.
*Proceedings of the IEEE International Conference on Computer Communications*2000, 32-41.Google Scholar - Banerjee S, Khuller S: A clustering scheme for hierarchical control in multi-hop wireless networks.
*Proceedings of the IEEE International Conference on Computer Communications*2001, 1028-1037.Google Scholar - Wong JL, Jafari R, Potkonjak M: Gateway placement for latency and energy efficient data aggregation.
*Proceedings of the IEEE Conference on Local Computer Networks*2004, 490-497.Google Scholar - Bejerano Y: Efficient integration of multihop wireless and wired networks with QoS constraints.
*IEEE/ACM Trans Networking*2004, 12(6):1064-1078. 10.1109/TNET.2004.838599View ArticleGoogle Scholar - Chandra R, Qiu L, Jain K, Mahdian M: Optimizing the placement of internet TAPs in wireless neighborhood networks.
*Proceedings of the IEEE International Conference on Network Protocols*2004, 271-282.Google Scholar - Aoun B, Boutaba R, Iraqi Y, Kenward G: Gateway placement optimization in wireless mesh networks with QoS constraints.
*IEEE J Sel Areas Commun*2006, 24(11):2127-2136.View ArticleGoogle Scholar - He B, Xie B, Agrawal DP: Optimizing the internet gateway deployment in a wireless mesh network, in.
*Proceedings of the IEEE International Conference on Mobile Adhoc and Sensor Systems*2007.Google Scholar - Talay AC: A gateway access-point selection problem and traffic balancing in wireless mesh networks.
*Springer Lect Notes Comput Sci*2007, 4448: 161-168. 10.1007/978-3-540-71805-5_18View ArticleGoogle Scholar - IEEE 802.16 - Standard for local and metropolitan area networks, Part 16: Air Interface for Broadband Wireless Access Systems 2004.Google Scholar
- Wei H-Y, Ganguly S, Izmailov R, Haas ZJ: Interference-aware IEEE 802.16 WiMax mesh networks.
*Proceedings of the IEEE Vehicular Technology Conference*2005, 3102-3106.Google Scholar - Chung T-YD, Lee K-C, Lee H-CG: A novel capacity analysis for wireless backhaul mesh networks.
*Proceedings of the IEEE Wireless Communication and Networking Conference*2008, 2343-2348.Google Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.