Fairness and resource allocation in device-to-device wireless regional area network