Skip to Main Content
In this paper, we examine the problem of optimal spreading code assignment in an ad hoc DS-CDMA wireless network. The problem is formulated in two ways, with the optimization criteria being minimizing the congestion measure, and minimizing the total consumed power, respectively. Either formulation is converted to an optimization of the weighted total squared cross-correlation (WTSC), after some mathematical simplification. We then devise algorithms to reach some local minima of the optimization. Simulation results show significant reduction in the network congestion measure and power consumption, compared with random code allocation.