Federer booked his spot in the last eight by beating Gael Monfils 6-3, 4-6, 6-4, 6-1 on Monday after their match was suspended due to bad light on Sunday.
Federer, who has a 16-2 head-to-head advantage over Wawrinka,said that win or lose he will have a reason to cheer in the semi-finals.
"It [will be] a special match," Federer told the official ATP website. "It is not a traditional match. There aren't too many Swiss players in the draw…It's always special to play each other.
"There will be a Swiss guy in the semi-final. That's positive. I hope I will reach the semi-final of a tournament. I will pull out all the stops to advance to the next round. If I will not make it, I will be very happy for Stan."
Speaking about his match against Monfils, Federer admitted that he felt confident about beating the Frenchman even after their match was postponed on Sunday.
"I wanted to get off to a good start, because you never know how he will be playing," he said. "So I felt good. I was calm yesterday. I was calm this morning. So we (Stefan Edberg and I) adopted the right game plan and the right tactical approach. I'm very happy."