commit 008b29f3599fb7d181202cb895cbd244b67113aa
parent 1f89ebb86adba513433bf08038bb5641f574732c
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Wed, 14 Oct 2020 14:38:36 +0200
doc: Fix SignalLevelAgent interface name and filename pointers
When the SignalLevelAgent doc blurb was moved to station-api.txt it
seems the interface was changed to Station.SignalLevelAgent in some
places but not in most and not in the code. Also fix the pointers to
the doc file.
Diffstat:
2 files changed, 16 insertions(+), 19 deletions(-)
diff --git a/doc/p2p-api.txt b/doc/p2p-api.txt
@@ -47,8 +47,8 @@ Methods array(on) GetPeers()
Register the agent object to receive signal strength
level change notifications on the
- net.connman.iwd.Station.SignalLevelAgent interface,
- see station-api.txt. The "levels" parameter decides
+ net.connman.iwd.SignalLevelAgent interface, see
+ station-api.txt. The "levels" parameter decides
the thresholds in dBm that will generate a call to
the agent's Changed method whenever current RSSI
crosses any of the values. The values must be
diff --git a/doc/station-api.txt b/doc/station-api.txt
@@ -112,14 +112,13 @@ Methods void Scan()
Register the agent object to receive signal strength
level change notifications on the
net.connman.iwd.SignalLevelAgent interface, see
- signal-level-agent-api.txt. The "levels"
- parameters decides the thresholds in dBm that will
- generate a call to the agent's Changed
- method whenever current RSSI crosses any of the
- values. The values must be passed in descending
- order. The number and distance between requested
- threshold values is a compromise between resolution
- and the frequency of system wakeups and
+ below. The "levels" parameters decides the
+ thresholds in dBm that will generate a call to the
+ agent's Changed method whenever current RSSI crosses
+ any of the values. The values must be passed in
+ descending order. The number and distance between
+ requested threshold values is a compromise between
+ resolution and the frequency of system wakeups and
context-switches that are going to be occurring to
update the client's signal meter. Only one agent
can be registered at any time.
@@ -186,15 +185,13 @@ Methods void Release(object device)
measurement for the device's connected network
changes enough to go from one level to another out
of the N ranges defined by the array of (N-1)
- threshold values passed to
- net.connman.iwd.Station.RegisterSignalLevelAgent
- (see device-api.txt.) The level parameter is in
- the range from 0 to N, 0 being the strongest
- signal or above the first threshold value in the
- array, and N being the weakest and below the
- last threshold value. For example if
- RegisterSignalLevelAgent was called with the
- array [-40, -50, -60], the 'level' parameter of
+ threshold values passed to RegisterSignalLevelAgent().
+ The level parameter is in the range from 0 to N,
+ 0 being the strongest signal or above the first
+ threshold value in the array, and N being the
+ weakest and below the last threshold value. For
+ example if RegisterSignalLevelAgent was called with
+ the array [-40, -50, -60], the 'level' parameter of
0 would mean signal is received at -40 or more dBm
and 3 would mean below -60 dBm and might correspond
to 1 out of 4 bars on a UI signal meter.