Applying of WLAN ad hoc network