by default android does not support ad-hoc wifi connection(ad-hoc network is one where 2 devices directly connect to each other with no 3rd device allowed to connect).you have to make your laptop wifi a hotspot(kinda like wifi tower to which many devices can simultaneously connect).download & install connectify free version(there is a paid pro version too but you will only need that to share 3g usb modem net connection from laptop).free version will allow you to share data between your phone & laptop.
Connect Android to Ad-Hoc Wifi Network | Silly Clone