• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{ "_description": "This is test configuration file for Coex KPI Test.",
2"testbed":
3[
4{
5"_description": "A testbed with single android devices.",
6"name": "Coexkpi",
7"AndroidDevice": "<Android device serail number> ex: [HT76N1A00106]",
8//Access point info
9"AccessPoint": [{"ssh_config" : {"user":"root","host" : "<IP address of AP"}}],
10// Iperf client controller, this specifies where you want to run the iperf client
11// If local, specify it as "type":"local".
12"IPerfClient":[{"ssh_config":{"user":"<user name>","host":"<IP address of the client", "port":"<int>"}}],
13"RelayDevice":"<Path to relay.json file to fetch the information of relay device"
14}
15],
16
17"logpath": "logs/",
18"testpaths": "<Path of the test suite>",
19
20// Iperf related parameters
21"iperf":{
22	"port_1":"",
23	//port_2 should be specified for bidirectional cases.
24    "port_2":"",
25	//iperf duration
26	"duration": "<int>",
27	"tcp_window_size":"",
28	"udp_bandwidth":""},
29
30//Attenuation related parameters
31"test_params":{
32	"attenuation_start": "<int>",
33	"attenuation_stop": "<int>",
34	"attenuation_step": "<int>",
35	//fixed attenuation values for respective channels.
36	"fixed_attenuation": {"Channel": "<int Fixed attenuation>"},
37	"performance_result_path":"<Path to baseline values (.json file)>",
38	"failure_count_tolerance":1,
39    "pct_tolerance": "<int>",
40    "abs_tolerance": "<int>"
41},
42
43//Audio related paramters
44"audio_params":{
45	"channel": "<Int denoting mono/streo>",
46	"sample_rate":"<Int denoting smaple rate of audio>",
47	"chunk": "<Int>",
48	//Music record duration in seconds,
49	//this should be +5 seconds 'music play time'.
50	"record_duration": "<Int>",
51	//Duration for how many seconds music should be played,
52	//this should be +5 seconds of iperf_duration.
53	"music_play_time": "<Int>",
54	"input_device":"<input device name>"
55},
56
57//Access point related parameters
58"network":{
59	"SSID":"",
60	"password":"",
61	"security":"",
62	"channel":"<Int Channel>"},
63
64//Number of times a test case should run.
65"iterations":1,
66"required_devices":{"Relay_device":"<path for relay.json file>", "Android_device":["<list of Android device serial numbers>"]},
67"music_file":"<list of music file names>",
68"headset_mac_address" : "",
69"sim_conf_file":"simcard_list.json"
70}
71