Channel Characterization and Delay Optimization for Industrial Wireless Control Systems