An increasing interest has been observed in Wirless Sensor Network that can be explained by wide range of WSN applications as well as by the challenges involving the constraints of this type of networks. The IEEE 802.15.4 standard has been proposed with the objective of standardizing the physical and MAC layers. In this work, we have firstly proposed an alternative multichannel scheme for the IEEE 802.15.4 standard. It is able to solve the problem of superframe collisions based on a cluster-tree topology approach in which each cluster uses a different channel allowing the reduction of the interference and increased network capacity. We have also difined a novel mechanism for topology construction, channel allocation, and superframe scheduling. Secondly, we have analyzed the impact of different parameters on the medium access control. We have shown the weakness of the medium access method proposed in the standard. For instance, we have observed a decrease in performance when the standard is applied in large networks. Motivated by the analysis and its results we have then proposed auto-adaptive mechanisms for the medium access control. They allow to dynamically adapt the size of the contention window according to the observed traffic conditions. Each coordinator computes the optimal values to avoid deafness. The proposed mechanisms rapidly converge even in the case of bursty traffic.