Improved Cross-layer Optimization Model for Data Packet Transmission over Fading Channels