There are a couple of ways to use your Android device as a wifi receiver.
Android setting
Some Android roms have a setting that allows for sharing the internet via USB. This setting doesn't care where the internet is coming from, even though the setting is usually in the "tethering" menu, if you are connected to WiFi, it will share the wifi with whatever is connected to the "USB" port, even if it is an Ethernet dongle.
PDA.net APP
PDA.net (Also known as the companion app foxfi which still works on legacy devices) is a good choice. But that requires an app to be installed on your other device before you can use it. I use it all the time to give my PC internet from my android phone.
Your other option is to use software that shares the internet across the USB port via ADB.
Gnirehtet
This free open source project called (gnirehtet) will allow you to do all kinds of tethering of your android phone to a Mac, Linux or Windows computer! The minimum version of android is 5.0 (Lollipop)
