All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 2/2] Document initial signal level notification
@ 2022-05-20 20:13 Denis Kenzior
  0 siblings, 0 replies; 5+ messages in thread
From: Denis Kenzior @ 2022-05-20 20:13 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 2248 bytes --]

Hi Jesse,

On 5/20/22 13:59, Jesse Lentz wrote:
> Document the initial "Changed" method call following SignalLevelAgent
> registration.
> ---
>   doc/station-api.txt | 27 ++++++++++++++-------------
>   1 file changed, 14 insertions(+), 13 deletions(-)
> 
> diff --git a/doc/station-api.txt b/doc/station-api.txt
> index 0bb372ab..05dd137e 100644
> --- a/doc/station-api.txt
> +++ b/doc/station-api.txt
> @@ -182,16 +182,17 @@ Methods		void Release(object device) [noreply]
>   		void Changed(object device, uint8 level) [noreply]
>   
>   			This method gets called when the signal strength
> -			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 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.
> +			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 RegisterSignalLevelAgent().  It also gets
> +			called immediately after the signal level agent is
> +			registered.  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,

I think this line might be over 80 chars.

> +			-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.
> 

Otherwise looks good!

Regards,
-Denis

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/2] Document initial signal level notification
@ 2022-05-20 21:53 Jesse Lentz
  0 siblings, 0 replies; 5+ messages in thread
From: Jesse Lentz @ 2022-05-20 21:53 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 2029 bytes --]

Document the initial "Changed" method call following SignalLevelAgent
registration.
---
 doc/station-api.txt | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/doc/station-api.txt b/doc/station-api.txt
index 0bb372ab..05dd137e 100644
--- a/doc/station-api.txt
+++ b/doc/station-api.txt
@@ -182,16 +182,17 @@ Methods		void Release(object device) [noreply]
 		void Changed(object device, uint8 level) [noreply]
 
 			This method gets called when the signal strength
-			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 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.
+			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 RegisterSignalLevelAgent().  It also gets
+			called immediately after the signal level agent is
+			registered.  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.
-- 
2.36.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] Document initial signal level notification
@ 2022-05-20 21:14 Denis Kenzior
  0 siblings, 0 replies; 5+ messages in thread
From: Denis Kenzior @ 2022-05-20 21:14 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

Hi Jesse,

On 5/20/22 15:54, Jesse Lentz wrote:
> Hi Denis,
> 
> The comma is in column 80 according to Vim's ruler. Do you recommend
> reflowing it with a smaller tw value?
> 

Ah you're right.  No changes are required.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] Document initial signal level notification
@ 2022-05-20 20:54 Jesse Lentz
  0 siblings, 0 replies; 5+ messages in thread
From: Jesse Lentz @ 2022-05-20 20:54 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 141 bytes --]

Hi Denis,

The comma is in column 80 according to Vim's ruler. Do you recommend
reflowing it with a smaller tw value?

Sincerely,
Jesse

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/2] Document initial signal level notification
@ 2022-05-20 18:59 Jesse Lentz
  0 siblings, 0 replies; 5+ messages in thread
From: Jesse Lentz @ 2022-05-20 18:59 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 2029 bytes --]

Document the initial "Changed" method call following SignalLevelAgent
registration.
---
 doc/station-api.txt | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/doc/station-api.txt b/doc/station-api.txt
index 0bb372ab..05dd137e 100644
--- a/doc/station-api.txt
+++ b/doc/station-api.txt
@@ -182,16 +182,17 @@ Methods		void Release(object device) [noreply]
 		void Changed(object device, uint8 level) [noreply]
 
 			This method gets called when the signal strength
-			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 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.
+			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 RegisterSignalLevelAgent().  It also gets
+			called immediately after the signal level agent is
+			registered.  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.
-- 
2.36.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-20 21:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-20 20:13 [PATCH 2/2] Document initial signal level notification Denis Kenzior
  -- strict thread matches above, loose matches on Subject: below --
2022-05-20 21:53 Jesse Lentz
2022-05-20 21:14 Denis Kenzior
2022-05-20 20:54 Jesse Lentz
2022-05-20 18:59 Jesse Lentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.