Patent ID: 8514703

Claim:
A method for wireless communication, comprising: determining a plurality of logical channels available for sending data, each logical channel being associated with a particular priority and a particular data buffer size indicative of amount of data to send on the logical channel; maintaining a token bucket for each of the plurality of logical channels; determining a bucket level for each of the plurality of logical channels, the bucket level for each logical channel being a positive value indicative of tokens available for use to send data on the logical channel, or zero, or a negative value indicative of data having been sent on the logical channel when there are no tokens in the token bucket for the logical channel; ascertaining logical channels with bucket levels of same polarity among the plurality of logical channels; identifying logical channels of same priority among all logical channels with bucket levels of the same polarity, the identified logical channels having the same priority and the same bucket level polarity; and selecting at least one of the identified logical channels for scheduling based on the data buffer size, or the bucket level, or both for each of the identified logical channels.