The Impact of Edge Effects on the Performance of MAC Protocols in Ad Hoc Networks With Fading