mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
doc: Document initial signal level notification
Document the initial "Changed" method call following SignalLevelAgent registration.
This commit is contained in:
parent
3d27d0d80a
commit
8115105835
@ -182,16 +182,17 @@ Methods void Release(object device) [noreply]
|
|||||||
void Changed(object device, uint8 level) [noreply]
|
void Changed(object device, uint8 level) [noreply]
|
||||||
|
|
||||||
This method gets called when the signal strength
|
This method gets called when the signal strength
|
||||||
measurement for the device's connected network
|
measurement for the device's connected network changes
|
||||||
changes enough to go from one level to another out
|
enough to go from one level to another out of the N
|
||||||
of the N ranges defined by the array of (N-1)
|
ranges defined by the array of (N-1) threshold values
|
||||||
threshold values passed to RegisterSignalLevelAgent().
|
passed to RegisterSignalLevelAgent(). It also gets
|
||||||
The level parameter is in the range from 0 to N,
|
called immediately after the signal level agent is
|
||||||
0 being the strongest signal or above the first
|
registered. The level parameter is in the range from 0
|
||||||
threshold value in the array, and N being the
|
to N, 0 being the strongest signal or above the first
|
||||||
weakest and below the last threshold value. For
|
threshold value in the array, and N being the weakest
|
||||||
example if RegisterSignalLevelAgent was called with
|
and below the last threshold value. For example if
|
||||||
the array [-40, -50, -60], the 'level' parameter of
|
RegisterSignalLevelAgent was called with the array [-40,
|
||||||
0 would mean signal is received at -40 or more dBm
|
-50, -60], the 'level' parameter of 0 would mean signal
|
||||||
and 3 would mean below -60 dBm and might correspond
|
is received at -40 or more dBm and 3 would mean below
|
||||||
to 1 out of 4 bars on a UI signal meter.
|
-60 dBm and might correspond to 1 out of 4 bars on a UI
|
||||||
|
signal meter.
|
||||||
|
Loading…
Reference in New Issue
Block a user