Fault diagnosis in a wireless network