Wireless "gaming" adapter with PC?

like internet sharing through the PC?

INTERNET ---- PC ----- Xbox

or

INTERNET ----- Xbox via wireless.??

the first one i know is possible… the second one… I’m not familiar with xbox but i’m sure its do able