Both players went into the match undefeated in 2011 but 19th seed Wawrinka was unable to reproduce the fantastic form that had helped him defeat Andy Roddick and Gael Monfils in straight sets earlier in the tournament.
Federer, however, was back to his best and playing some exhibition tennis. “The scoreline suggests maybe it was easier than it looked like,” said Federer. “I thought it was a pretty tough match.
“He really got into the match, especially in the second set. But I was able to mix it up well and just keep him on his toes.
“I’ve been in so many quarter-finals, in this situation so many times before, that I have the experience and I have the game to be tricky for him.”
Federer will play Novak Djokovic in the semi-finals following the Serb’s impressive annihilation of sixth seed Tomas Berdych in straight sets.
The world No3’s forehand and remarkable defence work were particularly potent as he powered to a 6-1, 7-6, 6-1 victory.
“Today has been a real test, because he [Berdych] is a very difficult opponent,” said Djokovic afterwards. “In a lot of points I was trying to change the pace because when he is in his comfort zone he is very difficult. I needed to put some variety into my game and it worked.”
Federer holds a 13Ã¢â‚¬â€6 head-to-head record against Djokovic, having won their previous three encounters – but the third seed is in confident mood. “I have nothing to lose playing Federer, who’s the title defender here,” said Djokovic.
“We all know everything about him and that heÃ¢â‚¬â„¢s the best player of all time. I have to believe in myself in order to win that match.”
World No1 Rafael Nadal plays his Spanish compatriot David Ferrer on Wednesday for a place in the semi-finals before Andy Murray takes on Ukrainian Aleksandr Dolgopolov.
MORE: The latest football news
MORE: The latest tennis news
BIOGRAPHY: Marcus Rashford