Gateway Placement And Fault Tolerance In Qos Aware Wireless Mesh Networks