towerops/priv/antennas/ubiquiti-am-m521-60-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-M521-60-AC H-pol
MAKE Ubiquiti
FREQUENCY 5500
H_WIDTH 48
V_WIDTH 4
FRONT_TO_BACK 29
GAIN 21 dBi
TILT 2
POLARIZATION HORIZONTAL
COMMENT AirMax AC Base Station
HORIZONTAL 360
0 0
1 0.1
2 0.1
3 0.2
4 0.3
5 0.4
6 0.6
7 0.7
8 0.9
9 1
10 1.2
11 1.3
12 1.5
13 1.6
14 1.7
15 1.8
16 1.9
17 2
18 2.1
19 2.3
20 2.4
21 2.6
22 2.8
23 3
24 3.2
25 3.5
26 3.8
27 4.2
28 4.6
29 5
30 5.4
31 5.9
32 6.4
33 7
34 7.6
35 8.2
36 8.8
37 9.5
38 10.1
39 10.8
40 11.4
41 12.1
42 12.7
43 13.3
44 14
45 14.5
46 15.1
47 15.7
48 16.2
49 16.8
50 17.3
51 17.8
52 18.4
53 18.9
54 19.5
55 20.1
56 20.6
57 21.3
58 21.9
59 22.5
60 23.2
61 23.9
62 24.6
63 25.4
64 26.1
65 26.9
66 27.7
67 28.6
68 29.4
69 30.3
70 31.2
71 32.1
72 33
73 33.9
74 34.7
75 35.4
76 35.9
77 36.2
78 36.2
79 36.2
80 36.1
81 35.8
82 35.5
83 35.2
84 34.9
85 34.7
86 34.4
87 34.2
88 34
89 33.9
90 33.8
91 33.7
92 33.6
93 33.6
94 33.6
95 33.7
96 33.7
97 33.8
98 33.8
99 33.9
100 34
101 34.1
102 34.1
103 34.2
104 34.2
105 34.2
106 34.1
107 34
108 33.8
109 33.6
110 33.4
111 33.1
112 32.8
113 32.5
114 32.2
115 31.9
116 31.6
117 31.4
118 31.1
119 30.9
120 30.8
121 30.7
122 30.6
123 30.6
124 30.6
125 30.7
126 30.7
127 30.8
128 31
129 31.1
130 31.2
131 31.2
132 31.3
133 31.3
134 31.4
135 31.4
136 31.4
137 31.4
138 31.5
139 31.7
140 31.9
141 32.2
142 32.6
143 33.1
144 33.7
145 34.4
146 35.2
147 36
148 36.8
149 37.2
150 37.1
151 37
152 36.5
153 35.8
154 35.2
155 34.7
156 34.3
157 34.2
158 34.2
159 34.4
160 34.9
161 35.6
162 36.7
163 38.2
164 40.5
165 42.8
166 44.4
167 45.2
168 42.9
169 39.2
170 36.9
171 35
172 33.5
173 32.4
174 31.4
175 30.7
176 30.2
177 29.8
178 29.6
179 29.5
180 29.6
181 29.8
182 30.2
183 30.7
184 31.4
185 32.4
186 33.5
187 35
188 36.9
189 39.2
190 42.9
191 45.2
192 44.4
193 42.8
194 40.5
195 38.2
196 36.7
197 35.6
198 34.9
199 34.4
200 34.2
201 34.2
202 34.3
203 34.7
204 35.2
205 35.8
206 36.5
207 37
208 37.1
209 37.2
210 36.8
211 36
212 35.2
213 34.4
214 33.7
215 33.1
216 32.6
217 32.2
218 31.9
219 31.7
220 31.5
221 31.4
222 31.4
223 31.4
224 31.4
225 31.3
226 31.3
227 31.2
228 31.2
229 31.1
230 31
231 30.8
232 30.7
233 30.7
234 30.6
235 30.6
236 30.6
237 30.7
238 30.8
239 30.9
240 31.1
241 31.4
242 31.6
243 31.9
244 32.2
245 32.5
246 32.8
247 33.1
248 33.4
249 33.6
250 33.8
251 34
252 34.1
253 34.2
254 34.2
255 34.2
256 34.1
257 34.1
258 34
259 33.9
260 33.8
261 33.8
262 33.7
263 33.7
264 33.6
265 33.6
266 33.6
267 33.7
268 33.8
269 33.9
270 34
271 34.2
272 34.4
273 34.7
274 34.9
275 35.2
276 35.5
277 35.8
278 36.1
279 36.2
280 36.2
281 36.2
282 35.9
283 35.4
284 34.7
285 33.9
286 33
287 32.1
288 31.2
289 30.3
290 29.4
291 28.6
292 27.7
293 26.9
294 26.1
295 25.4
296 24.6
297 23.9
298 23.2
299 22.5
300 21.9
301 21.3
302 20.6
303 20.1
304 19.5
305 18.9
306 18.4
307 17.8
308 17.3
309 16.8
310 16.2
311 15.7
312 15.1
313 14.5
314 14
315 13.3
316 12.7
317 12.1
318 11.4
319 10.8
320 10.1
321 9.5
322 8.8
323 8.2
324 7.6
325 7
326 6.4
327 5.9
328 5.4
329 5
330 4.6
331 4.2
332 3.8
333 3.5
334 3.2
335 3
336 2.8
337 2.6
338 2.4
339 2.3
340 2.1
341 2
342 1.9
343 1.8
344 1.7
345 1.6
346 1.5
347 1.3
348 1.2
349 1
350 0.9
351 0.7
352 0.6
353 0.4
354 0.3
355 0.2
356 0.1
357 0.1
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