A discrete event simulation model to study the behavior of an IEEE 802.x  based Network