Dynamic resource allocation for time-varying channels in next generation cellular networks : Part I: A mathematical framework