[PATCH v3 3/3] cec-compliance: refactor tuner control tests

2019-09-29 Thread Jiunn Chang
Tests refactored for new features added to cec-collower. Analog tuner control tests combined into tuner_ctl_test(): - give analog tuner status - select tuner analog service - analog tuner step features Signed-off-by: Jiunn Chang --- utils/cec-compliance/cec-test.cpp | 184 +---

[PATCH v3 1/3] cec-follower: fix bugs for tuner emulation

2019-09-29 Thread Jiunn Chang
Fix some typos for tuner emulation: - analog_tuner_init() store ana_freq in hex - analog_get_nearest_freq() temp variable check Signed-off-by: Jiunn Chang --- utils/cec-follower/cec-tuner.cpp | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/utils/cec-follower/cec-t

[PATCH v3 2/3] cec-follower: add tuner step increment/decrement

2019-09-29 Thread Jiunn Chang
Tuner step increment/decrement will select the next highest or next lowest service frequency. There are a total of three possible frequencies given a broadcast type and system for a total of 81 analog channels. Opcodes implemented: - - Signed-off-by: Jiunn Chang --- utils/cec-follower/ce

[PATCH v3 0/3] cec-compliance: tuner control

2019-09-29 Thread Jiunn Chang
This patch series implements analog tuner step increment/decrement as well as performs cec-compliance tests. Tests where refactored into a single function, tuner_ctl_test(), to test all tuner features. --- Changes made since v2: - Fix bugs for tuner emulation - Add freq_idx to cec-follower s