Text this: Distributed sensing and resource allocation for cognitive radio networks