File tree Expand file tree Collapse file tree
netjsonconfig/backends/airos Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ def ap_psk(interface):
2424 return result
2525
2626
27+ def ap_eap (interface ):
28+ return {}
29+
30+
2731def sta_none (interface ):
2832 return {}
2933
@@ -36,16 +40,22 @@ def sta_psk(interface):
3640 }
3741
3842
43+ def sta_eap (interface ):
44+ return {}
45+
46+
3947_profile = {}
4048
4149_profile_from_mode = {
4250 'access_point' : {
4351 'none' : ap_none ,
4452 'wpa2_personal' : ap_psk ,
53+ 'wpa2_enterprise' : ap_eap ,
4554 },
4655 'station' : {
4756 'none' : sta_none ,
4857 'wpa2_personal' : sta_psk ,
58+ 'wpa2_enterprise' : sta_eap ,
4959 },
5060}
5161
@@ -68,6 +78,9 @@ def profile_from_interface(interface):
6878 'wpa2_personal' : {
6979 'status' : 'enabled' ,
7080 },
81+ 'wpa2_enterprise' : {
82+ 'status' : '' ,
83+ },
7184 },
7285 'station' : {
7386 'none' : {
@@ -76,6 +89,9 @@ def profile_from_interface(interface):
7689 'wpa2_personal' : {
7790 'status' : 'disabled' ,
7891 },
92+ 'wpa2_enterprise' : {
93+ 'status' : '' ,
94+ },
7995 }
8096}
8197
You can’t perform that action at this time.
0 commit comments