I think the Samsung galaxy S5 is one of the first to support a feature like this, my galaxy S4 only supports internet/wireless tethering from mobile data, you should have a look on XDA dev forums, there could be a mod which would allow this. http://www.xda-developers.com/
you may go to a site www.mypublicwifi.com and instal the aplication they offer. (its for free) and then install that app on your PC.
then just start wifi of your mobile and when it gets connected you need to select appropriate options shown, like the source of internet connceted to pc like dongle or broadband connection, etc and then when you select enable internet sharing its done.
you could go to browser from your mobile and check the net connection/