Comment: xxxxxxxxxxxxB<>Method: slot_allot (int ms_, int &freq, int &slot)Comment: A slot has to be alloted to the mobile from the pool of GPRS
and GSM slots depending on which type the mobile is.
Action: Check if this is a GPRS mobile
If it is a GPRS MS
Find the first available GPRS slot in the vlr_.up_table
Refuse connection if no GPRS slot- frequency available
Else if it is a GSM MS
Find the first available GSM slot in the vlr_.up_table
Refuse connection if no GSM slot- frequency available
Enter the MS' MAC index_ into the vlr_.up_table and vlr_.down_table
Return the value of the frequency and slot to the caller
This completes the description of the psuedocode for packet processing at the MAC.