physical layer functions and protocols