I'd suggest installing a wireless router and have both devices share that for internet service.
Not that I am aware of that a TV can share a internet connection with other devices on its own. Look in the features of your Smart TV and see if it offers Wireless Access Point or Hot spot features to share its internet with other devices.