towerops/priv/antennas/ubiquiti-am-m522-45-ac-vpol.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 V-pol
MAKE Ubiquiti
FREQUENCY 5500
H_WIDTH 38
V_WIDTH 4
FRONT_TO_BACK 30
GAIN 22 dBi
TILT 2
POLARIZATION VERTICAL
COMMENT AirMax AC Base Station
HORIZONTAL 360
0 0
1 0
2 0.1
3 0.1
4 0.2
5 0.3
6 0.4
7 0.5
8 0.6
9 0.8
10 0.9
11 1.1
12 1.3
13 1.5
14 1.8
15 2
16 2.3
17 2.6
18 3
19 3.3
20 3.7
21 4.1
22 4.5
23 5
24 5.5
25 6
26 6.5
27 7.1
28 7.7
29 8.3
30 9
31 9.7
32 10.4
33 11.1
34 11.9
35 12.8
36 13.6
37 14.6
38 15.5
39 16.5
40 17.6
41 18.7
42 19.8
43 21
44 22.2
45 23.4
46 24.7
47 25.9
48 27.1
49 28.2
50 29.2
51 29.9
52 30.4
53 30.7
54 30.8
55 30.8
56 30.8
57 30.8
58 30.7
59 30.7
60 30.7
61 30.7
62 30.8
63 30.9
64 31
65 31.1
66 31.3
67 31.5
68 31.7
69 31.9
70 32.1
71 32.4
72 32.6
73 32.9
74 33.2
75 33.5
76 33.8
77 34.2
78 34.5
79 34.8
80 35.2
81 35.6
82 35.9
83 36.3
84 36.7
85 37.1
86 37.5
87 38
88 38.4
89 38.8
90 39.3
91 39.7
92 40.2
93 40.6
94 41.1
95 41.6
96 42
97 42.5
98 42.9
99 43.4
100 43.8
101 44.2
102 44.6
103 45
104 45.4
105 45.8
106 46.2
107 46.6
108 47
109 47.5
110 48
111 48.6
112 49.3
113 50.1
114 51
115 52
116 53.3
117 54.8
118 56.7
119 59.2
120 62.5
121 67.4
122 73.6
123 69.1
124 64
125 60.6
126 58.1
127 55.9
128 53.9
129 52
130 50.2
131 48.4
132 46.7
133 45
134 43.5
135 42.1
136 40.8
137 39.6
138 38.5
139 37.5
140 36.6
141 35.8
142 35.1
143 34.4
144 33.9
145 33.4
146 33
147 32.7
148 32.4
149 32.2
150 32.1
151 32
152 32
153 32
154 32
155 32.1
156 32.2
157 32.3
158 32.5
159 32.7
160 32.9
161 33.2
162 33.5
163 33.9
164 34.3
165 34.9
166 35.5
167 36.2
168 37
169 37.9
170 38.9
171 40.1
172 41.3
173 42.7
174 44.1
175 45.5
176 46.8
177 47.9
178 48.6
179 48.8
180 48.6
181 47.9
182 46.8
183 45.5
184 44.1
185 42.7
186 41.3
187 40.1
188 38.9
189 37.9
190 37
191 36.2
192 35.5
193 34.9
194 34.3
195 33.9
196 33.5
197 33.2
198 32.9
199 32.7
200 32.5
201 32.3
202 32.2
203 32.1
204 32
205 32
206 32
207 32
208 32.1
209 32.2
210 32.4
211 32.7
212 33
213 33.4
214 33.9
215 34.4
216 35.1
217 35.8
218 36.6
219 37.5
220 38.5
221 39.6
222 40.8
223 42.1
224 43.5
225 45
226 46.7
227 48.4
228 50.2
229 52
230 53.9
231 55.9
232 58.1
233 60.6
234 64
235 69.1
236 73.6
237 67.4
238 62.5
239 59.2
240 56.7
241 54.8
242 53.3
243 52
244 51
245 50.1
246 49.3
247 48.6
248 48
249 47.5
250 47
251 46.6
252 46.2
253 45.8
254 45.4
255 45
256 44.6
257 44.2
258 43.8
259 43.4
260 42.9
261 42.5
262 42
263 41.6
264 41.1
265 40.6
266 40.2
267 39.7
268 39.3
269 38.8
270 38.4
271 38
272 37.5
273 37.1
274 36.7
275 36.3
276 35.9
277 35.6
278 35.2
279 34.8
280 34.5
281 34.2
282 33.8
283 33.5
284 33.2
285 32.9
286 32.6
287 32.4
288 32.1
289 31.9
290 31.7
291 31.5
292 31.3
293 31.1
294 31
295 30.9
296 30.8
297 30.7
298 30.7
299 30.7
300 30.7
301 30.8
302 30.8
303 30.8
304 30.8
305 30.7
306 30.4
307 29.9
308 29.2
309 28.2
310 27.1
311 25.9
312 24.7
313 23.4
314 22.2
315 21
316 19.8
317 18.7
318 17.6
319 16.5
320 15.5
321 14.6
322 13.6
323 12.8
324 11.9
325 11.1
326 10.4
327 9.7
328 9
329 8.3
330 7.7
331 7.1
332 6.5
333 6
334 5.5
335 5
336 4.5
337 4.1
338 3.7
339 3.3
340 3
341 2.6
342 2.3
343 2
344 1.8
345 1.5
346 1.3
347 1.1
348 0.9
349 0.8
350 0.6
351 0.5
352 0.4
353 0.3
354 0.2
355 0.1
356 0.1
357 0
358 0
359 0
VERTICAL 360
0 1.5
1 0.1
2 0
3 1.4
4 4.5
5 11
6 29.8
7 13.1
8 10.1
9 10.7
10 14.2
11 23.1
12 25.6
13 19.5
14 19.7
15 25.1
16 40.1
17 23.7
18 20.8
19 21.7
20 25.3
21 26.7
22 23.3
23 22.1
24 23.6
25 28.2
26 27.6
27 22.5
28 20
29 19.5
30 20.7
31 23.5
32 28.5
33 37.3
34 41.2
35 37.6
36 38.4
37 41.7
38 46.9
39 55.7
40 38.4
41 31.3
42 27.1
43 24.6
44 23.2
45 23
46 24.6
47 26
48 27.3
49 28.6
50 29.8
51 31
52 32.1
53 33.1
54 34.1
55 35.1
56 36
57 36.8
58 37.4
59 37.8
60 37.9
61 37.8
62 37.3
63 36.5
64 35.7
65 34.5
66 33.3
67 32.3
68 31.5
69 30.9
70 30.5
71 30.2
72 30
73 29.9
74 29.7
75 29.7
76 29.6
77 29.6
78 29.6
79 29.6
80 29.7
81 29.7
82 29.7
83 29.8
84 29.8
85 29.9
86 29.9
87 29.9
88 29.9
89 29.9
90 29.9
91 29.9
92 29.9
93 29.8
94 29.7
95 29.7
96 29.6
97 29.5
98 29.4
99 29.3
100 29.1
101 29
102 28.9
103 28.9
104 28.8
105 28.7
106 28.7
107 28.8
108 28.9
109 29
110 29.2
111 29.5
112 29.8
113 30.1
114 30.5
115 30.9
116 31.1
117 31.3
118 31.3
119 31
120 30.6
121 30.2
122 29.6
123 29.2
124 28.8
125 28.5
126 28.4
127 28.5
128 28.7
129 29.2
130 29.8
131 30.6
132 31.5
133 32.2
134 32.6
135 32.4
136 31.7
137 30.9
138 30.3
139 29.8
140 29.6
141 29.8
142 30.2
143 31
144 32
145 32.8
146 32.8
147 32
148 30.8
149 29.7
150 28.8
151 28.4
152 28.4
153 28.9
154 30
155 31.8
156 34.2
157 36.3
158 35.4
159 32.7
160 30.5
161 29
162 28.2
163 28.1
164 28.6
165 29.9
166 32.1
167 34.1
168 33.8
169 33.6
170 32.6
171 31.4
172 30.4
173 29.7
174 29.2
175 29.1
176 29.1
177 29.1
178 29.2
179 29.2
180 32.6
181 31.1
182 29.7
183 28.7
184 28.2
185 28
186 27.9
187 27.8
188 28.3
189 31.7
190 37.7
191 38.6
192 32.2
193 28.6
194 26.6
195 25.5
196 25.3
197 25.8
198 27
199 29.3
200 33.1
201 37.6
202 35.2
203 30.8
204 27.9
205 26.2
206 25.3
207 25
208 25.3
209 26.2
210 27.6
211 29.8
212 32.5
213 34.4
214 33.3
215 30.9
216 28.9
217 27.6
218 26.9
219 26.6
220 26.8
221 27.5
222 28.7
223 30.3
224 32.4
225 34.3
226 34.6
227 33
228 31
229 29.3
230 28
231 27.1
232 26.5
233 26.2
234 26.1
235 26.3
236 26.6
237 27
238 27.6
239 28.2
240 28.8
241 29.3
242 29.5
243 29.5
244 29.3
245 29
246 28.5
247 28.1
248 27.7
249 27.3
250 27
251 26.7
252 26.5
253 26.4
254 26.3
255 26.3
256 26.3
257 26.3
258 26.3
259 26.4
260 26.5
261 26.5
262 26.6
263 26.7
264 26.8
265 26.8
266 26.9
267 26.9
268 26.9
269 26.9
270 26.9
271 26.9
272 26.8
273 26.8
274 26.7
275 26.7
276 26.6
277 26.6
278 26.5
279 26.5
280 26.4
281 26.4
282 26.4
283 26.5
284 26.6
285 26.7
286 26.9
287 27.2
288 27.5
289 28
290 28.6
291 29.5
292 30.7
293 32.2
294 33.8
295 35.2
296 36.6
297 37.7
298 38.6
299 39.2
300 39.6
301 39.8
302 39.8
303 39.7
304 39.7
305 39.7
306 39.7
307 39.8
308 40
309 40.2
310 40.5
311 40.9
312 41.3
313 41.9
314 39.8
315 40.6
316 43.3
317 47.8
318 56.3
319 38.3
320 30.5
321 25.5
322 22.4
323 20.6
324 20.3
325 21.6
326 25.8
327 40.8
328 26.2
329 20.5
330 18.3
331 18.2
332 20
333 24.7
334 34.9
335 29.8
336 27
337 30.2
338 44.8
339 26.8
340 22.4
341 21.9
342 24.9
343 31.2
344 24.9
345 21.5
346 22.3
347 25.6
348 19.6
349 14.6
350 12.4
351 12.6
352 15.9
353 27.6
354 21.9
355 16.2
356 16.5
357 17
358 9.7
359 4.5