You are totally wrong , operations in North and south Waziristan were outstanding from army point of view but people and parties like IK and JI, ANP never worked to have a political setup, even if IK blame ANP for not taking SWAT and define political setup so army can leave and failed to do when he is in power as well ...
In SWAT its people demand that army stays, they do not have any trust on IK or any other political party ... that is why recently Army was ordered by Gov to establish Swat Cantt ...
North and south Waziristan is totally a different issue, they have boundary with Afghanistan, where as Swat does not.. so these people TTP always ran into afghanistan when army does the operation like last time, but peace only came for short time and army was in talks with NATO and USA to not allow these people back in Pakistan but Nato and USA didn't helped much,
So finally now Pakistan army have posts on the border and now in case of operation these TTP rats wont be able to run into Afghanistan ... hence the whole drama from their side of talks just after the attack on army post ...