If your simulation doesn't contain any energy model, the transmission range is a constant. In mac/channel.cc, you can find WirelessChannel::getAffectedNodes(), which is responsible for that.