Skip to content

Commit 95041be

Browse files
committed
CONFD
1 parent 5c35d1b commit 95041be

File tree

14 files changed

+534
-588
lines changed

14 files changed

+534
-588
lines changed

board/aarch64/bananapi-bpi-r3/rootfs/usr/share/product/bananapi,bpi-r3/etc/factory-config.cfg

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,25 @@
1717
"state": {
1818
"admin-state": "unlocked"
1919
}
20+
},
21+
{
22+
"name": "radio0",
23+
"class": "infix-hardware:wifi",
24+
"infix-hardware:wifi-radio": {
25+
"country-code": "DE",
26+
"band": "2.4GHz",
27+
"channel": "auto"
28+
}
29+
},
30+
{
31+
"name": "radio1",
32+
"class": "infix-hardware:wifi",
33+
"infix-hardware:wifi-radio": {
34+
"country-code": "DE",
35+
"band": "5GHz",
36+
"channel": "auto"
2037
}
38+
}
2139
]
2240
},
2341
"ietf-interfaces:interfaces": {
@@ -150,12 +168,36 @@
150168
}
151169
},
152170
{
153-
"name": "wifi0",
154-
"type": "infix-if-type:wifi"
171+
"name": "wifi0-ap",
172+
"type": "infix-if-type:wifi",
173+
"infix-interfaces:wifi": {
174+
"radio": "radio0",
175+
"access-point": {
176+
"ssid": "Infix",
177+
"security": {
178+
"secret": "wifi"
179+
}
180+
}
181+
},
182+
"infix-interfaces:bridge-port": {
183+
"bridge": "br0"
184+
}
155185
},
156186
{
157-
"name": "wifi1",
158-
"type": "infix-if-type:wifi"
187+
"name": "wifi1-ap",
188+
"type": "infix-if-type:wifi",
189+
"infix-interfaces:wifi": {
190+
"radio": "radio1",
191+
"access-point": {
192+
"ssid": "Infix5Ghz",
193+
"security": {
194+
"secret": "wifi"
195+
}
196+
}
197+
},
198+
"infix-interfaces:bridge-port": {
199+
"bridge": "br0"
200+
}
159201
}
160202
]
161203
},
@@ -171,6 +213,15 @@
171213
"certificates": {}
172214
}
173215
]
216+
},
217+
"symmetric-keys": {
218+
"symmetric-key": [
219+
{
220+
"name": "wifi",
221+
"infix-keystore:cleartext-symmetric-key": "infixinfix",
222+
"infix-keystore:key-format": "infix-crypto-types:wifi-preshared-key-format"
223+
}
224+
]
174225
}
175226
},
176227
"ietf-netconf-acm:nacm": {

0 commit comments

Comments
 (0)