A Comparative Study of MAC Layer Protocols for Mobile Ad-Hoc Networks