08_ResourceManager_2004
UL scrambling codes are mobile specific and are allocated in connection establishment.
The codes are indexed from 0 to 224(16,777,216). Different UEswithin the same cell should use different UL scrambling codes RM allocates UL scrambling code from a list of codes inside a single RNC.
For example RNC_123 can allocate codes from 1000000 to 1999999 and in the end it starts from 1000000 again.
This allocation unit saves all used codes in a table and checks if allocated code is used or not Since different RNCs allocate their own codes there is a possibility that two mobiles get the same code. With code planning and Iur signaling (negotiating within RNCs) the above problem is avoided.