Map nmcli security string to WiGLE-compatible auth mode.
(security_str)
| 77 | 'WPA1 WPA2': '[WPA-PSK-TKIP+CCMP][WPA2-PSK-CCMP][ESS]', |
| 78 | 'WPA2 802.1X': '[WPA2-EAP-CCMP][ESS]', |
| 79 | 'WPA1': '[WPA-PSK-TKIP][ESS]', |
| 80 | 'WEP': '[WEP][ESS]', |
| 81 | '': '[ESS]', |
| 82 | '--': '[ESS]', |
| 83 | } |
| 84 | |
| 85 | |
| 86 | def _map_security(security_str): |
| 87 | """Map nmcli security string to WiGLE-compatible auth mode.""" |