Here's my theory on events in TDKR.
Bane's initial attack is to purely draw out Batman, break him, break his image, and capture him for more punishment. I think the final dare will be wounding Gordon. Whether you know who Batman is or not, it is quite public that Gordon was on his side. I think Gordon broken in bed is what it'll take to bring Batman out of retirement, starting with a dramatic escape from the window, mirroring the birth of Batman in Begins, with Wayne more casual, though mostly in batsuit, with a hood over his head.
While it doesn't necessarily make sense, I feel the cane is going to be a factor before the Bane fight, because all indications are, Bruce is hauled off to that pit prison after getting his ass kicked and so it makes no sense for him to come back to things all quite. So the talk of letting Gordon go, especially since it mentions the Mayor and presumably the one from TDK that continues into this film, but eventually dies, takes place before Bane sets off his plan, the masquerade party all comes before that. I really think early on is going to be a bit of setup, where's Bruce Wayne at these days not begin Batman, and perhaps his cane is from an injury during his time as Batman on the run, we all just assumed it would be from Bane's attack, but based on trailers and all, I think after Bane hurts him, we don't see him back in Gotham except healed as i climbs out of the pit.
With Batman out of the city, Bane then goes back to carry out the big plot to take down Gotham and Batman returns to Fox waiting some new toys to fight Bane and works in secret with Gordon and Catwoman to orchestrate a fight against Bane.