1. Replace the router to somewhere in between (if it's not included in modem)
2. Don't use the wireless built into the modem, but buy a router, connect with an Ethernet cable and put it somewhere in the middle.
3. A powerline extender. Connect with the modem/router on one side, with your TV (via an Ethernet cable, or another router if it needs to be wireless) on the other side.