tuner_r820t: refactor, simplify code