This function is called from init block for allocating the channel to each BTS if the
user choice is FCA (Fixed Carreir allocation).
This function first calculate the bandwidth allocated for the GSM
Bandwidth = Maximum frequency - Minimum frequency;
After that, calculate the total no of the channel.
Total no of channel = Bandwidth * 8 * (1000/200);
Calculate no of channel per BTS.
no of channel per BTS = (Total no of channel/no of BTS).
Initiallize the channel list.
Allocate channel to the BTS.
Set, no of busy channel = 0;
set, no of
free channel = No of channel per BTS.
set, Total no of channel = No of channel per BTS.
NOTE: In netSim we have only two type of channel:
1. Random Access Channel (RACH) First channel of each BTS.
2. Traffic Channel.
------------------------------ Input parameters -----------------------------------------------
This function takes three parameters as input,
1. Minimum value of down link frequency
2. Maximum value of up link frequency.
3. No of BTS.
All these parameters are user input.
------------------------------ Output Parameters ----------------------------------------------
This function return 1 on successfull completion