convert wifi frequencies into channel numbers in measurement storage