Optimization of Switched Linear Systems Over NonStationary Wireless Channels