When several independent terminals need to access a limited resource, a Medium Access Control (MAC) protocol is needed in order to manage and assign the resource. If no type of protocol is considered, conflicts could occur if more than one terminal wants to access the resource at the same time. Therefore, this work reports the analysis of MAC protocols. In addition to, we propose a protocol that handles transmission rates to maximize the transmission success rate. This proposed protocol is based on CSMA (Carrier Sense Multiple Access)-CDMA (Code Division Multiple Access). Simulations show that the protocol improves traffic transmission in the network, as compared with fixed rate mechanisms used to access the wireless medium.