From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: "D. Starke" <daniel.starke@siemens.com>
Cc: linux-serial <linux-serial@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/9] tty: n_gsm: add missing description to gsm_config
Date: Wed, 5 Apr 2023 11:18:47 +0300 (EEST) [thread overview]
Message-ID: <9d7289fe-7a3-2cfe-b023-a892528044e4@linux.intel.com> (raw)
In-Reply-To: <20230405054730.3850-3-daniel.starke@siemens.com>
On Wed, 5 Apr 2023, D. Starke wrote:
> From: Daniel Starke <daniel.starke@siemens.com>
>
> Currently, all available structure fields in gsmmux.h except those
> for gsm_config are commented.
>
> Fix this by adding appropriate comments to the not commented fields.
>
> Signed-off-by: Daniel Starke <daniel.starke@siemens.com>
> ---
> include/uapi/linux/gsmmux.h | 22 +++++++++++-----------
> 1 file changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/include/uapi/linux/gsmmux.h b/include/uapi/linux/gsmmux.h
> index 33ee7b857c52..422a52e184b3 100644
> --- a/include/uapi/linux/gsmmux.h
> +++ b/include/uapi/linux/gsmmux.h
> @@ -8,17 +8,17 @@
>
> struct gsm_config
> {
> - unsigned int adaption;
> - unsigned int encapsulation;
> - unsigned int initiator;
> - unsigned int t1;
> - unsigned int t2;
> - unsigned int t3;
> - unsigned int n2;
> - unsigned int mru;
> - unsigned int mtu;
> - unsigned int k;
> - unsigned int i;
> + unsigned int adaption; /* Convergence layer type */
> + unsigned int encapsulation; /* Framing (0 = basic option, 1 = advanced option) */
> + unsigned int initiator; /* Initiator or responder */
> + unsigned int t1; /* Acknowledgment timer */
> + unsigned int t2; /* Response timer for multiplexer control channel */
> + unsigned int t3; /* Response timer for wake-up procedure */
> + unsigned int n2; /* Maximum number of retransmissions */
> + unsigned int mru; /* Maximum incoming frame payload size */
> + unsigned int mtu; /* Maximum outgoing frame payload size */
I'm used to "payload" referring in networking context to "useful" part of
the frame but MTU/MRU probably includes headers too? Maybe just say "frame
size"?
> + unsigned int k; /* Window size */
> + unsigned int i; /* Frame type (1 = UIH, 2 = UI) */
> unsigned int unused[8]; /* Can not be used */
> };
>
>
--
i.
next prev parent reply other threads:[~2023-04-05 8:18 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-05 5:47 [PATCH 1/9] tty: n_gsm: fix redundant assignment of gsm->encoding D. Starke
2023-04-05 5:47 ` [PATCH 2/9] tty: n_gsm: add restart parameter to DLC specific ioctl config D. Starke
2023-04-05 8:15 ` Ilpo Järvinen
2023-04-06 5:17 ` Starke, Daniel
2023-04-05 5:47 ` [PATCH 3/9] tty: n_gsm: add missing description to gsm_config D. Starke
2023-04-05 8:18 ` Ilpo Järvinen [this message]
2023-04-06 5:26 ` Starke, Daniel
2023-04-05 5:47 ` [PATCH 4/9] tty: n_gsm: fix unneeded initialization of ret in gsm_dlci_config D. Starke
2023-04-05 8:23 ` Ilpo Järvinen
2023-04-06 5:31 ` Starke, Daniel
2023-04-05 5:47 ` [PATCH 5/9] tty: n_gsm: add open_error counter to gsm_mux D. Starke
2023-04-05 8:41 ` Ilpo Järvinen
2023-04-06 5:42 ` Starke, Daniel
2023-04-05 5:47 ` [PATCH 6/9] tty: n_gsm: increase malformed counter for malformed control frames D. Starke
2023-04-05 8:44 ` Ilpo Järvinen
2023-04-06 5:45 ` Starke, Daniel
2023-04-05 5:47 ` [PATCH 7/9] tty: n_gsm: increase gsm_mux unsupported counted where appropriate D. Starke
2023-04-05 9:00 ` Ilpo Järvinen
2023-04-06 5:57 ` Starke, Daniel
2023-04-05 5:47 ` [PATCH 8/9] tty: n_gsm: add DLCI specific rx/tx statistics D. Starke
2023-04-05 9:13 ` Ilpo Järvinen
2023-04-06 6:02 ` Starke, Daniel
2023-04-05 5:47 ` [PATCH 9/9] tty: n_gsm: cleanup gsm_control_command and gsm_control_reply D. Starke
2023-04-05 9:15 ` Ilpo Järvinen
2023-04-06 6:04 ` Starke, Daniel
2023-04-05 8:16 ` [PATCH 1/9] tty: n_gsm: fix redundant assignment of gsm->encoding Ilpo Järvinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9d7289fe-7a3-2cfe-b023-a892528044e4@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=daniel.starke@siemens.com \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox