1. A method for operating a communication device for scheduling transmission of data packets, the method comprising: receiving data packets from a communication network; classifying the data packets; segregating the data packets into scheduling groups based on the classifying, each of the scheduling groups associated with at least one data queue; inserting each of the data packets into one of the data queues associated with the corresponding scheduling group; determining applications associated with the data packets; determining weights for the data queues, the weights based at least in part on the applications associated with the data packets in the corresponding data queues; scheduling the data packets from the data queues to an output queue taking into account the weights; and transmitting the data packets from the output queue to the communication network.