Patent ID: 8249555

Claim:
A method of enabling a mobile station to perform initialization to a base station in a wireless communication system, the method comprising: synchronizing, by the mobile station, with the base station; obtaining, by the mobile station, an uplink parameter based on the synchronization; performing, by the mobile station, an initial ranging the uplink parameter; and establishing, by the mobile station, a security association between the mobile station and the base station while performing the initial ranging, wherein the initial ranging comprises: transmitting a first ranging request message including a randomly selected code division multiple access (CDMA) code to the base station; in response to the first ranging request message, receiving at least one first ranging response message from the base station, the at least one first ranging response message including an indication that a ranging status is successful and a session key when the ranging status is successful, the session key being a shared key for ciphering a message between the base station and the mobile station until authentication is completed; after receiving the first ranging response message, transmitting a second ranging request message, including a ciphered unique identifier of the mobile station, to the base station; and in response to the second ranging request message, receiving a second ranging response message including a ciphered primary management connection identifier (CID) from the base station, the ciphered primary management CID indicating a CID for a connection established during the initial ranging, the CID indicating a value for confirming the connection between the base station and the mobile station in a media access control (MAC) layer, and wherein the security association is established when the first ranging response message including the session key is received from the base station.