What I did:
Added new wireless network in wireless network settings and gave it SSID
Gave laptop the IP like 192.168.0.1, mask: 255.255.255.0, gateway: 192.168.0.2
Gave the telephone with wifi the same mask but IP and gateway rewersed
If my steps are wrong please tell me the correct way to establish this connection via Wi-Fi.
Update:
The thing is that I want to connect these 2 devices (laptop and telephone) like you would connect 2 computers to transfer data without using internet. In that case you can use crossover cable, setup IPs like I did but I want to do this wirelessly.
And I did it this way because of this article but in my case 2nd device should be telephone.
It should be 2-way communication.