From fc7554763488b6a1c8e8b0a98ca274c345728ff4 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 15 Sep 2022 01:21:00 +0200 Subject: accesspoints/80211r: simplify setup since hostapd supports locally generated FT responses --- chaos-at-home/group_vars/chaos-at-home-ap.yml | 9 --------- inventory/group_vars/accesspoints/vars.yml | 13 ++----------- inventory/group_vars/chaos-at-home-ap/vars.yml | 14 ++------------ 3 files changed, 4 insertions(+), 32 deletions(-) delete mode 100644 chaos-at-home/group_vars/chaos-at-home-ap.yml diff --git a/chaos-at-home/group_vars/chaos-at-home-ap.yml b/chaos-at-home/group_vars/chaos-at-home-ap.yml deleted file mode 100644 index 3d179c52..00000000 --- a/chaos-at-home/group_vars/chaos-at-home-ap.yml +++ /dev/null @@ -1,9 +0,0 @@ -$ANSIBLE_VAULT;1.2;AES256;chaos-at-home -34343266646162383261313564646365393233643565356364386134663862646534383562336666 -6639633332613539663132383336343436396636306161370a323231653336376533636631373363 -36373865653863363338663762623164626631623739386561653935316430666132356662383863 -3666343965333939310a303530373037363636346639356561333264346466383462633533306538 -63373532636563333530333339306331343933383038633638346636326332366565306638376164 -65343761363162386331353731383437613462656538643638353464306230316662643366643561 -31623731366234666364343432373062336266336334366263333938623538393163333131636633 -65346230623634306362 diff --git a/inventory/group_vars/accesspoints/vars.yml b/inventory/group_vars/accesspoints/vars.yml index 3a11205c..3d9a8be2 100644 --- a/inventory/group_vars/accesspoints/vars.yml +++ b/inventory/group_vars/accesspoints/vars.yml @@ -106,17 +106,8 @@ accesspoint_wireless_ifaces_yaml: | {% if accesspoint_80211r is defined %} ieee80211r: '1' mobility_domain: '{{ '%04x' % (accesspoint_80211r.mobility_domain_base[band] + outer_loop.index0) }}' - nasid: '{{ accesspoint_wifi_mac_addr[band][inventory_hostname] | replace(':', '') }}' - ft_psk_generate_local: '0' - r1_key_holder: '{{ accesspoint_wifi_mac_addr[band][inventory_hostname] }}' - r0kh: - {% for ap in accesspoint_wifi_mac_addr[band] %} - - '{{ accesspoint_wifi_mac_addr[band][ap] }},{{ accesspoint_wifi_mac_addr[band][ap] | replace(':', '') }},{{ [accesspoint_80211r.key_seed,band,zone] | join(':') | wifi_80211r_key }}' - {% endfor %} - r1kh: - {% for ap in accesspoint_wifi_mac_addr[band] %} - - '{{ accesspoint_wifi_mac_addr[band][ap] }},{{ accesspoint_wifi_mac_addr[band][ap] }},{{ [accesspoint_80211r.key_seed,band,zone] | join(':') | wifi_80211r_key }}' - {% endfor %} + ft_over_ds: '1' + ft_psk_generate_local: '1' {% endif %} {% endfor %} {% endfor %} diff --git a/inventory/group_vars/chaos-at-home-ap/vars.yml b/inventory/group_vars/chaos-at-home-ap/vars.yml index c36ab953..1d613617 100644 --- a/inventory/group_vars/chaos-at-home-ap/vars.yml +++ b/inventory/group_vars/chaos-at-home-ap/vars.yml @@ -10,20 +10,10 @@ accesspoint_wifi_channels: ch-ap1: 48 ch-ap2: 40 -accesspoint_wifi_mac_addr: - 2g: - ch-ap0: 18:e8:29:aa:43:c2 - ch-ap1: 18:e8:29:aa:44:07 - 5g: - ch-ap0: 18:e8:29:ab:43:c2 - ch-ap1: 18:e8:29:ab:44:07 - ch-ap2: 80:2a:a8:ee:f6:d5 - accesspoint_80211r: mobility_domain_base: - 2g: 0x2400 - 5g: 0x5000 - key_seed: "{{ vault_accesspoint_80211r.key_seed }}" + 2g: 0xc240 + 5g: 0xc500 accesspoint_zones: -- cgit v1.2.3