COSMOS: Learning from the next generation wireless network