Skip to contentSkip to conversation

net: rmnet: Use section heading for packet format subsections

PATCH Superseded Bagas Sanjaya 3 participants 5 messages Oct 16, 2025 – Oct 21, 2025

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: rmnet: Use section heading for packet format subsections

Format subsections of "Packet format" section as reST subsections.

---
 .../cellular/qualcomm/rmnet.rst               | 20 +++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst +14 -6
index 289c146a829153..1115606496b67d 100644
@@ -27,7 +27,8 @@ these MAP frames and send them to appropriate PDN's.
 2. Packet format
 ================
 
-a. MAP packet v1 (data / control)
+A. MAP packet v1 (data / control)
+---------------------------------
 
 MAP header fields are in big endian format.
 
@@ -53,7 +54,8 @@ Multiplexer ID is to indicate the PDN on which data has to be sent.
 Payload length includes the padding length but does not include MAP header
 length.
 
-b. Map packet v4 (data / control)
+B. MAP packet v4 (data / control)
+---------------------------------
 
 MAP header fields are in big endian format.
 
@@ -106,7 +108,8 @@ over which checksum is computed.
 
 Checksum value, indicates the checksum computed.
 
-c. MAP packet v5 (data / control)
+C. MAP packet v5 (data / control)
+---------------------------------
 
 MAP header fields are in big endian format.
 
@@ -133,7 +136,8 @@ Multiplexer ID is to indicate the PDN on which data has to be sent.
 Payload length includes the padding length but does not include MAP header
 length.
 
-d. Checksum offload header v5
+D. Checksum offload header v5
+-----------------------------
 
 Checksum offload header fields are in big endian format.
 
@@ -154,7 +158,10 @@ indicates that the calculated packet checksum is invalid.
 
 Reserved bits must be zero when sent and ignored when received.
 
-e. MAP packet v1/v5 (command specific)::
+E. MAP packet v1/v5 (command specific)
+--------------------------------------
+
+Packet format::
 
     Bit             0             1         2-7      8 - 15           16 - 31
     Function   Command         Reserved     Pad   Multiplexer ID    Payload length
@@ -176,7 +183,8 @@ Command types
 3 is for error during processing of commands
 = ==========================================
 
-f. Aggregation
+F. Aggregation
+--------------
 
 Aggregation is multiple MAP packets (can be data or command) delivered to
 rmnet in a single linear skb. rmnet will process the individual

base-commit: cb85ca4c0a349e246cd35161088aa3689ae5c580

Signature · 1 line
An old man doll... just what I always wanted! - Clara
maintainer
#2 lore raw
In reply to Bagas Sanjaya

Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst these MAP frames and send them to appropriate PDN's. · line 31

Quoted 3 lines · On Thu, 16 Oct 2025 16:25:52 +0700 Bagas Sanjaya wrote:
Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst +2 -1
-a. MAP packet v1 (data / control)
+A. MAP packet v1 (data / control)
+---------------------------------

Why capitalize the "A" here? it could have stayed the way it was, IMO lowercase is actually more common and (at least my) Sphinx doesn't seem to detect this leading letter as in any way special.

Signature · 1 line
pw-bot: cr
#3 lore raw
Quoted 8 lines · Jakub Kicinski

Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst these MAP frames and send them to appropriate PDN's. · line 31

Quoted 3 lines · On Thu, 16 Oct 2025 16:25:52 +0700 Bagas Sanjaya wrote:
Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst +2 -1
-a. MAP packet v1 (data / control)
+A. MAP packet v1 (data / control)
+---------------------------------

Why capitalize the "A" here? it could have stayed the way it was, IMO lowercase is actually more common and (at least my) Sphinx doesn't seem to detect this leading letter as in any way special.

I follow Simon's suggestion in packet formatting patch [1].

Thanks.

[1]: https://lore.kernel.org/linux-doc/[email protected]/

Signature · 1 line
An old man doll... just what I always wanted! - Clara
reviewer
#4 lore raw
In reply to Jakub Kicinski
Quoted 8 lines · Jakub Kicinski

Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst these MAP frames and send them to appropriate PDN's. · line 31

Quoted 3 lines · On Thu, 16 Oct 2025 16:25:52 +0700 Bagas Sanjaya wrote:
Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst +2 -1
-a. MAP packet v1 (data / control)
+A. MAP packet v1 (data / control)
+---------------------------------

Why capitalize the "A" here? it could have stayed the way it was, IMO lowercase is actually more common and (at least my) Sphinx doesn't seem to detect this leading letter as in any way special.

It was a style choice on my part.
Which seemed to make sense to me at the time.
No other reason.
And no objections from my side to sticking to lower case.