• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2019 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5""" Attenuator hostnames with fixed loss overhead on a given antenna line. """
6
7# This map represents the fixed loss overhead on a given antenna line.
8# The map maps from:
9#     attenuator hostname -> attenuator number -> frequency -> loss in dB.
10HOST_FIXED_ATTENUATIONS = {
11        'chromeos1-dev-host4-attenuator': {
12                0: {2437: 53, 5220: 59, 5765: 59},
13                1: {2437: 56, 5220: 56, 5765: 56},
14                2: {2437: 53, 5220: 59, 5765: 59},
15                3: {2437: 57, 5220: 56, 5765: 56}},
16        'chromeos1-dev-host15-attenuator': {
17                0: {2437: 32, 5220: 36, 5765: 38},
18                1: {2437: 35, 5220: 34, 5765: 36},
19                2: {2437: 32, 5220: 36, 5765: 38},
20                3: {2437: 35, 5220: 34, 5765: 36}},
21        'chromeos1-dev-host16-attenuator': {
22                0: {2437: 32, 5220: 37, 5765: 39},
23                1: {2437: 35, 5220: 34, 5765: 36},
24                2: {2437: 32, 5220: 37, 5765: 39},
25                3: {2437: 35, 5220: 34, 5765: 36}},
26        'chromeos1-dev-host17-attenuator': {
27                0: {2437: 33, 5220: 36, 5765: 38},
28                1: {2437: 35, 5220: 34, 5765: 36},
29                2: {2437: 33, 5220: 36, 5765: 38},
30                3: {2437: 35, 5220: 34, 5765: 36}},
31        'chromeos1-dev-host18-attenuator': {
32                0: {2437: 32, 5220: 36, 5765: 37},
33                1: {2437: 35, 5220: 34, 5765: 35},
34                2: {2437: 32, 5220: 36, 5765: 37},
35                3: {2437: 35, 5220: 34, 5765: 35}},
36        'chromeos1-dev-host19-attenuator': {
37                0: {2437: 52, 5220: 57, 5765: 60},
38                1: {2437: 55, 5220: 54, 5765: 56},
39                2: {2437: 52, 5220: 57, 5765: 60},
40                3: {2437: 55, 5220: 54, 5765: 55}},
41        'chromeos1-dev-host20-attenuator': {
42                0: {2437: 53, 5220: 57, 5765: 62},
43                1: {2437: 57, 5220: 55, 5765: 55},
44                2: {2437: 53, 5220: 57, 5765: 61},
45                3: {2437: 57, 5220: 55, 5765: 55}},
46        'chromeos1-test-host2-attenuator': {
47                0: {2437: 53, 5220: 59, 5765: 58},
48                1: {2437: 57, 5220: 57, 5765: 59},
49                2: {2437: 53, 5220: 59, 5765: 58},
50                3: {2437: 57, 5220: 57, 5765: 59}},
51        # Row 3 rack 7 is conductive grover setups
52        'chromeos15-row3-rack7-host1-attenuator': {
53                0: {2437: 53, 5220: 59, 5765: 59},
54                1: {2437: 56, 5220: 56, 5765: 58},
55                2: {2437: 53, 5220: 58, 5765: 60},
56                3: {2437: 56, 5220: 56, 5765: 57}},
57        'chromeos15-row3-rack7-host2-attenuator': {
58                0: {2437: 53, 5220: 59, 5765: 59},
59                1: {2437: 56, 5220: 57, 5765: 58},
60                2: {2437: 53, 5220: 58, 5765: 60},
61                3: {2437: 56, 5220: 57, 5765: 56}},
62        'chromeos15-row3-rack7-host3-attenuator': {
63                0: {2437: 53, 5220: 58, 5765: 60},
64                1: {2437: 56, 5220: 56, 5765: 56},
65                2: {2437: 53, 5220: 58, 5765: 60},
66                3: {2437: 56, 5220: 56, 5765: 56}},
67        'chromeos15-row3-rack7-host4-attenuator': {
68                0: {2437: 53, 5220: 59, 5765: 60},
69                1: {2437: 57, 5220: 56, 5765: 58},
70                2: {2437: 53, 5220: 59, 5765: 60},
71                3: {2437: 57, 5220: 56, 5765: 58}},
72        'chromeos15-row3-rack7-host5-attenuator': {
73                0: {2437: 53, 5220: 59, 5765: 59},
74                1: {2437: 56, 5220: 56, 5765: 57},
75                2: {2437: 52, 5220: 59, 5765: 58},
76                3: {2437: 56, 5220: 56, 5765: 57}},
77        'chromeos15-row3-rack7-host6-attenuator': {
78                0: {2437: 53, 5220: 58, 5765: 59},
79                1: {2437: 56, 5220: 57, 5765: 57},
80                2: {2437: 52, 5220: 58, 5765: 58},
81                3: {2437: 56, 5220: 56, 5765: 56}},
82        # Row 3 rack 8 is conductive grover setups
83        'chromeos15-row3-rack8-host1-attenuator': {
84                0: {2437: 53, 5220: 59, 5765: 58},
85                1: {2437: 56, 5220: 57, 5765: 59},
86                2: {2437: 52, 5220: 59, 5765: 58},
87                3: {2437: 56, 5220: 57, 5765: 59}},
88        'chromeos15-row3-rack8-host2-attenuator': {
89                0: {2437: 52, 5220: 59, 5765: 59},
90                1: {2437: 56, 5220: 56, 5765: 60},
91                2: {2437: 52, 5220: 58, 5765: 60},
92                3: {2437: 56, 5220: 56, 5765: 59}},
93        'chromeos15-row3-rack8-host3-attenuator': {
94                0: {2437: 52, 5220: 58, 5765: 59},
95                1: {2437: 56, 5220: 56, 5765: 60},
96                2: {2437: 52, 5220: 58, 5765: 59},
97                3: {2437: 56, 5220: 56, 5765: 57}},
98        'chromeos15-row3-rack8-host4-attenuator': {
99                0: {2437: 52, 5220: 58, 5765: 60},
100                1: {2437: 56, 5220: 56, 5765: 58},
101                2: {2437: 52, 5220: 58, 5765: 58},
102                3: {2437: 56, 5220: 56, 5765: 56}},
103        'chromeos15-row3-rack8-host5-attenuator': {
104                0: {2437: 53, 5220: 58, 5765: 58},
105                1: {2437: 56, 5220: 56, 5765: 57},
106                2: {2437: 53, 5220: 59, 5765: 58},
107                3: {2437: 56, 5220: 56, 5765: 60}},
108        'chromeos15-row3-rack8-host6-attenuator': {
109                0: {2437: 53, 5220: 59, 5765: 59},
110                1: {2437: 56, 5220: 56, 5765: 57},
111                2: {2437: 53, 5220: 60, 5765: 59},
112                3: {2437: 56, 5220: 58, 5765: 58}},
113        # Row 3 racks 9 to 14 are conductive grover setups
114        'chromeos15-row3-rack9-host1-attenuator': {
115                0: {2437: 53, 5220: 60, 5765: 59},
116                1: {2437: 57, 5220: 57, 5765: 58},
117                2: {2437: 53, 5220: 59, 5765: 60},
118                3: {2437: 57, 5220: 57, 5765: 60}},
119        'chromeos15-row3-rack9-host2-attenuator': {
120                0: {2437: 53, 5220: 59, 5765: 59},
121                1: {2437: 57, 5220: 58, 5765: 60},
122                2: {2437: 53, 5220: 58, 5765: 58},
123                3: {2437: 57, 5220: 58, 5765: 61}},
124        'chromeos15-row3-rack9-host3-attenuator': {
125                0: {2437: 53, 5220: 59, 5765: 59},
126                1: {2437: 57, 5220: 58, 5765: 59},
127                2: {2437: 53, 5220: 58, 5765: 59},
128                3: {2437: 57, 5220: 58, 5765: 60}},
129        'chromeos15-row3-rack9-host4-attenuator': {
130                0: {2437: 53, 5220: 59, 5765: 59},
131                1: {2437: 57, 5220: 58, 5765: 60},
132                2: {2437: 53, 5220: 58, 5765: 59},
133                3: {2437: 57, 5220: 57, 5765: 60}},
134        'chromeos15-row3-rack9-host5-attenuator': {
135                0: {2437: 53, 5220: 59, 5765: 59},
136                1: {2437: 57, 5220: 58, 5765: 59},
137                2: {2437: 53, 5220: 58, 5765: 60},
138                3: {2437: 57, 5220: 58, 5765: 60}},
139        'chromeos15-row3-rack9-host6-attenuator': {
140                0: {2437: 53, 5220: 59, 5765: 59},
141                1: {2437: 57, 5220: 57, 5765: 60},
142                2: {2437: 53, 5220: 59, 5765: 60},
143                3: {2437: 57, 5220: 58, 5765: 58}},
144        'chromeos15-row3-rack10-host1-attenuator': {
145                0: {2437: 52, 5220: 55, 5765: 56},
146                1: {2437: 55, 5220: 53, 5765: 57},
147                2: {2437: 52, 5220: 55, 5765: 57},
148                3: {2437: 55, 5220: 53, 5765: 57}},
149        'chromeos15-row3-rack10-host2-attenuator': {
150                0: {2437: 52, 5220: 56, 5765: 58},
151                1: {2437: 55, 5220: 54, 5765: 58},
152                2: {2437: 52, 5220: 56, 5765: 58},
153                3: {2437: 55, 5220: 54, 5765: 57}},
154        'chromeos15-row3-rack10-host3-attenuator': {
155                0: {2437: 52, 5220: 55, 5765: 60},
156                1: {2437: 55, 5220: 54, 5765: 59},
157                2: {2437: 52, 5220: 55, 5765: 61},
158                3: {2437: 55, 5220: 53, 5765: 59}},
159        'chromeos15-row3-rack10-host4-attenuator': {
160                0: {2437: 51, 5220: 55, 5765: 59},
161                1: {2437: 55, 5220: 53, 5765: 58},
162                2: {2437: 51, 5220: 54, 5765: 59},
163                3: {2437: 55, 5220: 53, 5765: 58}},
164        'chromeos15-row3-rack10-host5-attenuator': {
165                0: {2437: 51, 5220: 55, 5765: 60},
166                1: {2437: 55, 5220: 53, 5765: 58},
167                2: {2437: 51, 5220: 55, 5765: 60},
168                3: {2437: 55, 5220: 53, 5765: 58}},
169        'chromeos15-row3-rack10-host6-attenuator': {
170                0: {2437: 52, 5220: 55, 5765: 57},
171                1: {2437: 55, 5220: 54, 5765: 59},
172                2: {2437: 52, 5220: 55, 5765: 57},
173                3: {2437: 55, 5220: 54, 5765: 57}},
174        'chromeos15-row3-rack11-host1-attenuator': {
175                0: {2437: 53, 5220: 58, 5765: 57},
176                1: {2437: 56, 5220: 56, 5765: 58},
177                2: {2437: 53, 5220: 58, 5765: 57},
178                3: {2437: 56, 5220: 56, 5765: 57}},
179        'chromeos15-row3-rack11-host2-attenuator': {
180                0: {2437: 53, 5220: 58, 5765: 56},
181                1: {2437: 56, 5220: 56, 5765: 58},
182                2: {2437: 53, 5220: 59, 5765: 56},
183                3: {2437: 56, 5220: 56, 5765: 56}},
184        'chromeos15-row3-rack11-host3-attenuator': {
185                0: {2437: 52, 5220: 57, 5765: 59},
186                1: {2437: 55, 5220: 55, 5765: 54},
187                2: {2437: 52, 5220: 57, 5765: 59},
188                3: {2437: 55, 5220: 55, 5765: 54}},
189        'chromeos15-row3-rack11-host4-attenuator': {
190                0: {2437: 52, 5220: 58, 5765: 59},
191                1: {2437: 56, 5220: 56, 5765: 55},
192                2: {2437: 52, 5220: 57, 5765: 59},
193                3: {2437: 56, 5220: 56, 5765: 55}},
194        'chromeos15-row3-rack11-host5-attenuator': {
195                0: {2437: 53, 5220: 58, 5765: 58},
196                1: {2437: 55, 5220: 56, 5765: 55},
197                2: {2437: 53, 5220: 58, 5765: 59},
198                3: {2437: 56, 5220: 55, 5765: 55}},
199        'chromeos15-row3-rack11-host6-attenuator': {
200                0: {2437: 52, 5220: 58, 5765: 59},
201                1: {2437: 55, 5220: 55, 5765: 54},
202                2: {2437: 52, 5220: 57, 5765: 59},
203                3: {2437: 55, 5220: 55, 5765: 54}},
204        'chromeos15-row3-rack12-host1-attenuator': {
205                0: {2437: 53, 5220: 59, 5765: 58},
206                1: {2437: 55, 5220: 57, 5765: 55},
207                2: {2437: 57, 5220: 59, 5765: 58},
208                3: {2437: 55, 5220: 56, 5765: 55}},
209        'chromeos15-row3-rack12-host2-attenuator': {
210                0: {2437: 52, 5220: 59, 5765: 56},
211                1: {2437: 55, 5220: 56, 5765: 55},
212                2: {2437: 52, 5220: 59, 5765: 57},
213                3: {2437: 55, 5220: 56, 5765: 55}},
214        'chromeos15-row3-rack12-host3-attenuator': {
215                0: {2437: 52, 5220: 58, 5765: 57},
216                1: {2437: 55, 5220: 57, 5765: 55},
217                2: {2437: 52, 5220: 59, 5765: 59},
218                3: {2437: 55, 5220: 59, 5765: 55}},
219        'chromeos15-row3-rack12-host4-attenuator': {
220                0: {2437: 52, 5220: 58, 5765: 56},
221                1: {2437: 55, 5220: 56, 5765: 55},
222                2: {2437: 52, 5220: 58, 5765: 56},
223                3: {2437: 55, 5220: 56, 5765: 56}},
224        'chromeos15-row3-rack12-host5-attenuator': {
225                0: {2437: 53, 5220: 59, 5765: 58},
226                1: {2437: 55, 5220: 56, 5765: 55},
227                2: {2437: 52, 5220: 59, 5765: 59},
228                3: {2437: 55, 5220: 56, 5765: 55}},
229        'chromeos15-row3-rack12-host6-attenuator': {
230                0: {2437: 52, 5220: 59, 5765: 57},
231                1: {2437: 55, 5220: 56, 5765: 55},
232                2: {2437: 52, 5220: 58, 5765: 56},
233                3: {2437: 55, 5220: 56, 5765: 55}},
234        'chromeos15-row3-rack13-host1-attenuator': {
235                0: {2437: 59, 5220: 59, 5765: 59},
236                1: {2437: 52, 5220: 54, 5765: 54},
237                2: {2437: 59, 5220: 59, 5765: 59},
238                3: {2437: 52, 5220: 54, 5765: 54}},
239        'chromeos15-row3-rack13-host2-attenuator': {
240                0: {2437: 64, 5220: 62, 5765: 62},
241                1: {2437: 58, 5220: 57, 5765: 57},
242                2: {2437: 64, 5220: 62, 5765: 62},
243                3: {2437: 58, 5220: 57, 5765: 57}},
244        'chromeos15-row3-rack13-host3-attenuator': {
245                0: {2437: 60, 5220: 58, 5765: 58},
246                1: {2437: 52, 5220: 57, 5765: 57},
247                2: {2437: 60, 5220: 58, 5765: 58},
248                3: {2437: 52, 5220: 57, 5765: 57}},
249        'chromeos15-row3-rack13-host4-attenuator': {
250                0: {2437: 52, 5220: 58, 5765: 58},
251                1: {2437: 59, 5220: 60, 5765: 60},
252                2: {2437: 52, 5220: 58, 5765: 58},
253                3: {2437: 59, 5220: 60, 5765: 60}},
254        'chromeos15-row3-rack13-host5-attenuator': {
255                0: {2437: 58, 5220: 60, 5765: 60},
256                1: {2437: 53, 5220: 58, 5765: 58},
257                2: {2437: 58, 5220: 60, 5765: 60},
258                3: {2437: 53, 5220: 58, 5765: 58}},
259        'chromeos15-row3-rack13-host6-attenuator': {
260                0: {2437: 52, 5220: 56, 5765: 58},
261                1: {2437: 53, 5220: 56, 5765: 57},
262                2: {2437: 52, 5220: 56, 5765: 58},
263                3: {2437: 53, 5220: 56, 5765: 57}},
264        'chromeos15-row3-rack14-host1-attenuator': {
265                0: {2437: 53, 5220: 56, 5765: 56},
266                1: {2437: 52, 5220: 56, 5765: 56},
267                2: {2437: 53, 5220: 56, 5765: 56},
268                3: {2437: 52, 5220: 56, 5765: 56}},
269        'chromeos15-row3-rack14-host2-attenuator': {
270                0: {2437: 59, 5220: 59, 5765: 59},
271                1: {2437: 59, 5220: 60, 5765: 60},
272                2: {2437: 59, 5220: 59, 5765: 59},
273                3: {2437: 59, 5220: 60, 5765: 60}},
274        'chromeos15-row3-rack14-host3-attenuator': {
275                0: {2437: 52, 5220: 56, 5765: 56},
276                1: {2437: 64, 5220: 63, 5765: 63},
277                2: {2437: 52, 5220: 56, 5765: 56},
278                3: {2437: 64, 5220: 63, 5765: 63}},
279        'chromeos15-row3-rack14-host4-attenuator': {
280                0: {2437: 52, 5220: 55, 5765: 55},
281                1: {2437: 58, 5220: 58, 5765: 58},
282                2: {2437: 52, 5220: 55, 5765: 55},
283                3: {2437: 58, 5220: 58, 5765: 58}},
284        'chromeos15-row3-rack14-host5-attenuator': {
285                0: {2437: 57, 5220: 58, 5765: 58},
286                1: {2437: 52, 5220: 55, 5765: 55},
287                2: {2437: 57, 5220: 58, 5765: 58},
288                3: {2437: 52, 5220: 55, 5765: 55}},
289        'chromeos15-row3-rack14-host6-attenuator': {
290                0: {2437: 57, 5220: 57, 5765: 57},
291                1: {2437: 52, 5220: 55, 5765: 55},
292                2: {2437: 57, 5220: 57, 5765: 57},
293                3: {2437: 52, 5220: 55, 5765: 55}},
294}
295