A big-name tennis player will be missing the rest of the season.

FOX's Chris Hoenig reports:

Roger Federer, the third-ranked tennis player in the world, withdrawing from next month's Rio Olympics and this summer's U.S. Open, telling fans on Facebook that he needs 'more extensive rehab' on his surgically-repaired knee.

Federer made the semifinals at Wimbledon, telling reporters there how he hurt himself while running a bath for his twin daughters, ultimately forcing him to go under the knife in February:

(Federer) "One stupid move and the seasons been completely different than what I expected it to be."

Federer saying his doctors told him that he wants to play a few more injury-free years, he needs to allow his knee and his body to recover, so he's ending his season early.

The 17-time Grand Slam champ turns 35 during the Olympic Games. He holds an Olympic gold in men's doubles and a silver in singles.

Chris Hoenig, FOX News.

Follow Chris Hoenig on Twitter: @Chris_Hoenig