mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
wifi: correct noise mapping
This commit is contained in:
parent
5370a70bee
commit
bea58e17e7
2 changed files with 3 additions and 3 deletions
|
|
@ -1407,10 +1407,10 @@ static int get_access_point_associative_device_active(char *refparam, struct dmc
|
|||
return 0;
|
||||
}
|
||||
|
||||
/*#Device.WiFi.AccessPoint.{i}.AssociatedDevice.{i}.Noise!UBUS:wifi.ap.@Name/stations//stations[i-1].tx_failures*/
|
||||
/*#Device.WiFi.AccessPoint.{i}.AssociatedDevice.{i}.Noise!UBUS:wifi.ap.@Name/stations//stations[i-1].noise*/
|
||||
static int get_WiFiAccessPointAssociatedDevice_Noise(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value)
|
||||
{
|
||||
*value = dmjson_get_value((json_object *)data, 1, "snr");
|
||||
*value = dmjson_get_value((json_object *)data, 1, "noise");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -30714,7 +30714,7 @@
|
|||
"object": "wifi.radio.@Name",
|
||||
"method": "scanresults",
|
||||
"args": {},
|
||||
"key": "accesspoints[@i-1].snr"
|
||||
"key": "accesspoints[@i-1].noise"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue