Estimating the transmission quality in a wireless network