Text this: A Joint Channel Allocation and Power Control Scheme for D2D Communication in UAV-Based Networks