File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,10 @@ submodule infix-if-wifi {
221221 }
222222 }
223223 list scan-results {
224+ when "../mode = 'client'" {
225+ description
226+ "Applies only when in mode 'client'." ;
227+ }
224228 config false ;
225229 key ssid;
226230 description
@@ -258,6 +262,24 @@ submodule infix-if-wifi {
258262 "Human-readable description of the detected security." ;
259263 }
260264 }
265+ list connected-stations {
266+ when "../mode = 'accesspoint'" {
267+ description
268+ "Applies only when in mode 'accesspoint'." ;
269+ }
270+ key mac;
271+ leaf mac {
272+ type yang:phys-address;
273+ description
274+ "Mac address of connected station" ;
275+ }
276+ leaf rssi {
277+ type int16 ;
278+ units "dBm" ;
279+ description
280+ "Signal for connected station" ;
281+ }
282+ }
261283 }
262284 }
263285}
You can’t perform that action at this time.
0 commit comments