Dynamic discovery in wireless networks