A Modular Architecture for QoS Provisioning over Wireless Links