A suicide bomber detonated his explosive-laden vehicle at a police station's main gate in northwest Pakistan early Tuesday, killing at least 23 troops and wounding 32 others, and causing a part of the building to collapse upon impact, the military and officials said.