A method of communication includes assigning at least one channelization code to a data packet. A portion of power available for communicating is assigned to the channelization code based on a channel quality metric. A system includes a transmitter, and an allocation unit. The transmitter is adapted to communicate data packets. The allocation unit is adapted to assign at least one channelization code to a data packet and assign a portion of power available for communicating to the channelization code based on a channel quality metric associated with the data packet.