Designing and simulation of a distributed algorithm for quality of service in wireless sensor networks | IEEE Conference Publication | IEEE Xplore