Those martyred include seven personnel who were critically injured in the attack. It also raised the number of troops wounded in the attack to 13.
The incident has created concerns among the residents of the area as it reminded them the terror wave in the valley that had eventually resulted in their displacement in 2009.
At least two militants were killed during a search operation in December past year.
Security forces and police have cordoned off the area and a search operation was started to arrest the terrorists.
Donald Trump could create 5G network in fight against Chinese phone-tapping
A spokesperson for AT&T said that the USA is already working on a 5G network - with AT&T's set to be switched on later this year. Currently, US wireless carriers are planning to launch their own 5G networks in 2019 or 2020, which they would not share.
Meanwhile, Prime Minister Shahid Khaqan Abbasi has strongly condemned the suicide attack, the prime minister's office said.
"No cowardly attack can deter us in pursuing our struggle against the menace of terrorism to its logical conclusion".
"Swat in northwest Pakistan referred to by some as the 'Switzerland of Pakistan", is known for its stunning natural beauty.
An officer was among those who died in the bombing, which was claimed by the Pakistani Taliban in an email to journalists.
The military launched Operation Rah-e-Haq in Swat and Shangla district in 2007, 2008 and 2009 respectively.