Channel adaptive real-time medium access control protocols for industrial wireless networks