towerops/priv/antennas/ubiquiti-am-m522-45-ac-hpol.msi
Graham McIntire 3273312f6a feat: 198 real vendor .msi antenna patterns + Leaflet auto-load
Sourced 198 vendor-published MSI Planet pattern files via the
wireless-planning.com aggregator (data1.mlinkplanner.com). Real
patterns now ship for: Cambium (6), Ubiquiti (154), RF Elements
(27), MARS (5), MTI Wireless (1), Tarana (2), Ruckus (1), RFE (2).
Files dropped into priv/antennas/<vendor>-<part>.msi; the existing
boot loader picks them up and they override the synthesized catalog
entries by slug where the slugs match.

Parser improvements to handle real-world MSI file quirks:
- File-extension filter now accepts .ant/.msi (case-insensitive).
- Slug normalisation: spaces, +, and other non-alnum collapse to
  hyphens.
- Header parser splits on whitespace runs (tab or space) — different
  vendor tools produce different delimiters.
- New parse_frequency_mhz/1 handles "5500", "5 GHz", "5GHz",
  "5.6GHz", "5500 MHz", "5150-5850" (centre frequency), and
  "5.45 - 5.85 GHz" formats. Replaces the old integer-only parse.
- 2 MARS files with non-360 angular resolution and 1 with
  angle-less pattern lines were excluded; the rest parse cleanly.

Total registry now 305 antennas: 198 real vendor patterns + 107
synthesized catalog entries (used as fallback for SKUs without
public .msi files: Cambium ePMP/PMP variants, Tarana G1/G2,
ALPHA, ITELITE, KP Performance, RADWIN, Mimosa, etc.).

Leaflet auto-load fix:
- The location-picker map wasn't appearing because the form page
  didn't have the inline <script> tag the existing site map uses
  to load Leaflet. AGENTS.md forbids inline <script> in templates,
  so I added an ensureLeaflet() helper in app.ts that lazy-loads
  /vendor/leaflet/leaflet.{js,css} on first hook mount and caches
  the promise. SitesMap, CoverageMap, and CoverageLocationPicker
  all use it now — no inline scripts needed.
2026-05-06 15:09:29 -05:00

732 lines
6.8 KiB
Text

NAME AM-M522-45-AC H-pol
MAKE Ubiquiti
FREQUENCY 5500
H_WIDTH 33
V_WIDTH 4
FRONT_TO_BACK 29
GAIN 22 dBi
TILT 2
POLARIZATION HORIZONTAL
COMMENT AirMax AC Base Station
HORIZONTAL 360
0 0
1 0
2 0.1
3 0.2
4 0.3
5 0.4
6 0.5
7 0.7
8 0.8
9 1
10 1.3
11 1.5
12 1.8
13 2.1
14 2.4
15 2.7
16 3.1
17 3.5
18 3.9
19 4.4
20 4.9
21 5.4
22 5.9
23 6.5
24 7.1
25 7.7
26 8.3
27 9
28 9.7
29 10.5
30 11.3
31 12.1
32 12.9
33 13.8
34 14.6
35 15.6
36 16.5
37 17.5
38 18.5
39 19.6
40 20.7
41 21.8
42 23
43 24.2
44 25.4
45 26.6
46 27.8
47 29
48 30.2
49 31.2
50 32
51 32.6
52 33
53 33.3
54 33.4
55 33.4
56 33.3
57 33.3
58 33.3
59 33.3
60 33.4
61 33.5
62 33.6
63 33.8
64 34.1
65 34.3
66 34.6
67 34.9
68 35.3
69 35.7
70 36.1
71 36.5
72 36.9
73 37.3
74 37.7
75 38
76 38.4
77 38.8
78 39.1
79 39.4
80 39.7
81 39.9
82 40.1
83 40.3
84 40.5
85 40.6
86 40.7
87 40.8
88 40.9
89 41
90 41.1
91 41.2
92 41.3
93 41.5
94 41.6
95 41.8
96 42.1
97 42.4
98 42.8
99 43.2
100 43.7
101 44.2
102 44.7
103 45.2
104 45.6
105 45.9
106 46
107 45.7
108 45.3
109 44.6
110 43.9
111 43.2
112 42.5
113 41.8
114 41.3
115 40.9
116 40.5
117 40.3
118 40.2
119 40.2
120 40.3
121 40.5
122 40.8
123 41.2
124 41.7
125 42.2
126 42.7
127 43.1
128 43.4
129 43.4
130 43.1
131 42.6
132 42
133 41.3
134 40.6
135 40
136 39.4
137 38.9
138 38.4
139 38
140 37.7
141 37.4
142 37.2
143 37
144 36.9
145 36.8
146 36.7
147 36.7
148 36.7
149 36.8
150 36.8
151 36.8
152 36.8
153 36.6
154 36.4
155 36.1
156 35.8
157 35.4
158 35
159 34.7
160 34.5
161 34.3
162 34.3
163 34.5
164 34.8
165 35.4
166 36.2
167 37.3
168 38.9
169 41
170 44.1
171 49.2
172 63.1
173 54
174 47
175 43.6
176 41.5
177 40.2
178 39.5
179 39.3
180 39.5
181 40.2
182 41.5
183 43.6
184 47
185 54
186 63.1
187 49.2
188 44.1
189 41
190 38.9
191 37.3
192 36.2
193 35.4
194 34.8
195 34.5
196 34.3
197 34.3
198 34.5
199 34.7
200 35
201 35.4
202 35.8
203 36.1
204 36.4
205 36.6
206 36.8
207 36.8
208 36.8
209 36.8
210 36.7
211 36.7
212 36.7
213 36.8
214 36.9
215 37
216 37.2
217 37.4
218 37.7
219 38
220 38.4
221 38.9
222 39.4
223 40
224 40.6
225 41.3
226 42
227 42.6
228 43.1
229 43.4
230 43.4
231 43.1
232 42.7
233 42.2
234 41.7
235 41.2
236 40.8
237 40.5
238 40.3
239 40.2
240 40.2
241 40.3
242 40.5
243 40.9
244 41.3
245 41.8
246 42.5
247 43.2
248 43.9
249 44.6
250 45.3
251 45.7
252 46
253 45.9
254 45.6
255 45.2
256 44.7
257 44.2
258 43.7
259 43.2
260 42.8
261 42.4
262 42.1
263 41.8
264 41.6
265 41.5
266 41.3
267 41.2
268 41.1
269 41
270 40.9
271 40.8
272 40.7
273 40.6
274 40.5
275 40.3
276 40.1
277 39.9
278 39.7
279 39.4
280 39.1
281 38.8
282 38.4
283 38
284 37.7
285 37.3
286 36.9
287 36.5
288 36.1
289 35.7
290 35.3
291 34.9
292 34.6
293 34.3
294 34.1
295 33.8
296 33.6
297 33.5
298 33.4
299 33.3
300 33.3
301 33.3
302 33.3
303 33.4
304 33.4
305 33.3
306 33
307 32.6
308 32
309 31.2
310 30.2
311 29
312 27.8
313 26.6
314 25.4
315 24.2
316 23
317 21.8
318 20.7
319 19.6
320 18.5
321 17.5
322 16.5
323 15.6
324 14.6
325 13.8
326 12.9
327 12.1
328 11.3
329 10.5
330 9.7
331 9
332 8.3
333 7.7
334 7.1
335 6.5
336 5.9
337 5.4
338 4.9
339 4.4
340 3.9
341 3.5
342 3.1
343 2.7
344 2.4
345 2.1
346 1.8
347 1.5
348 1.3
349 1
350 0.8
351 0.7
352 0.5
353 0.4
354 0.3
355 0.2
356 0.1
357 0
358 0
359 0
VERTICAL 360
0 1.1
1 0
2 0.3
3 2.1
4 5.8
5 13.7
6 22.3
7 12.4
8 10.7
9 12.4
10 17.8
11 28.8
12 19.8
13 17.3
14 18.9
15 23.8
16 23.6
17 19.3
18 18
19 19.3
20 22.9
21 26
22 24.2
23 23.2
24 25.2
25 30.9
26 29.6
27 24.4
28 22.5
29 22.9
30 25.6
31 31.6
32 38.2
33 32.1
34 30.1
35 31
36 33.4
37 34
38 32.6
39 32.7
40 36.1
41 50.2
42 35.6
43 29.6
44 26.9
45 26
46 26.5
47 28.5
48 33
49 43.6
50 41.9
51 40.3
52 38.8
53 37.4
54 36.1
55 35
56 34
57 33.2
58 32.5
59 32
60 31.7
61 31.5
62 31.5
63 31.6
64 31.8
65 32.1
66 32.6
67 33.1
68 33.7
69 34.3
70 35.1
71 35.9
72 36.8
73 37.7
74 38.5
75 39.2
76 39.7
77 39.9
78 40
79 39.9
80 39.7
81 39.4
82 39
83 38.7
84 38.4
85 38.1
86 37.8
87 37.5
88 37.3
89 37.1
90 36.9
91 36.7
92 36.6
93 36.4
94 36.3
95 36.2
96 36.1
97 36
98 36
99 36
100 36
101 36
102 36.1
103 36.2
104 36.3
105 36.5
106 36.8
107 37.2
108 37.7
109 38.2
110 38.9
111 39.7
112 40.6
113 41.7
114 42.7
115 43.7
116 44.2
117 44.1
118 43.4
119 42.4
120 41.4
121 40.5
122 39.7
123 39.2
124 38.9
125 38.9
126 39.2
127 39.7
128 40.7
129 42.1
130 44.1
131 47.1
132 51.2
133 53.7
134 50.3
135 46.9
136 44.6
137 43.3
138 42.7
139 42.8
140 43.5
141 44.9
142 46.6
143 47.3
144 45.6
145 42.9
146 40.6
147 38.9
148 37.8
149 37.2
150 37.2
151 37.7
152 38.9
153 40.8
154 43.1
155 43.9
156 41.5
157 38.6
158 36.3
159 34.7
160 33.7
161 33.2
162 33.2
163 33.7
164 34.6
165 36
166 37.5
167 38.2
168 37.5
169 35.9
170 34.3
171 33.5
172 32.8
173 32.2
174 31.8
175 31.5
176 31.3
177 31.3
178 31.4
179 31.8
180 29.6
181 28.7
182 27.8
183 27.7
184 27.7
185 28.1
186 28.5
187 29
188 29.6
189 30.9
190 32.1
191 32.4
192 31.4
193 29.9
194 28.5
195 27.5
196 27
197 27
198 27.4
199 28.4
200 30
201 32.4
202 35.3
203 37.4
204 36.1
205 33.7
206 31.8
207 30.7
208 30.2
209 30.2
210 30.8
211 31.9
212 33.7
213 36.2
214 39.3
215 41.4
216 40.4
217 38.3
218 36.6
219 35.8
220 35.6
221 36.1
222 37.4
223 39.6
224 43.2
225 47.5
226 45.1
227 40.5
228 37.3
229 35.1
230 33.6
231 32.6
232 32
233 31.7
234 31.7
235 32
236 32.6
237 33.4
238 34.4
239 35.7
240 37.2
241 38.6
242 39.4
243 39
244 37.9
245 36.5
246 35.1
247 33.9
248 32.9
249 32.1
250 31.4
251 30.9
252 30.5
253 30.1
254 29.8
255 29.6
256 29.5
257 29.4
258 29.3
259 29.3
260 29.3
261 29.4
262 29.4
263 29.5
264 29.6
265 29.8
266 29.9
267 30
268 30.2
269 30.4
270 30.6
271 30.9
272 31.1
273 31.4
274 31.7
275 32
276 32.3
277 32.6
278 32.9
279 33.1
280 33.1
281 33.1
282 32.8
283 32.3
284 31.7
285 31
286 30.2
287 29.4
288 28.7
289 28
290 27.5
291 27
292 26.6
293 26.3
294 26.2
295 26.2
296 26.4
297 26.9
298 27.5
299 28.4
300 29.3
301 30.4
302 31.4
303 32.4
304 33.4
305 34.4
306 35.3
307 36.2
308 37.1
309 38
310 42.7
311 37.1
312 33.8
313 33
314 33.9
315 35.5
316 35.2
317 33.3
318 32.9
319 35.8
320 49.7
321 33.6
322 27.1
323 24
324 23
325 24.1
326 28.4
327 41.2
328 27.6
329 22.4
330 20.7
331 21.1
332 24
333 30
334 29.2
335 25.1
336 24.7
337 27.7
338 28.6
339 23.3
340 20.4
341 20.2
342 22.6
343 27.4
344 26.2
345 23.7
346 25.4
347 32.2
348 22.8
349 17.8
350 16.6
351 19.2
352 29.3
353 18.8
354 13.4
355 12
356 13.8
357 14.7
358 8.4
359 3.7