[tpcw] Fix calculation of average WIPS