Indoor communication over TV gray spaces based on spectrum measurements