MAC layer assisted localization in wireless environments with multiple sensors and multiple emitters