Skip to contentSkip to conversation

Add new fields relevant for bandwidth signalling

PATCH In review Benjamin Berg 2 participants 4 messages Nov 28, 2025 – Jan 14

lore
Share & tools
lore
#0 lore raw

cover Add new fields relevant for bandwidth signalling

Hi all,

These new fields can be relevant when inspecting whether bandwidth signalling is handled correctly. For this, the signalling information itself can be reported as well as information about the observed signal to determine whether the frame was duplicated over multiple channels.

We will post patches for iwlwifi that use these new fields. Corresponding wireshark dissectors should also be submitted in due course.

Benjamin

Benjamin Berg (2):
add new observed energy field
add a new field for SERVICE field information

 fields/SERVICE field.md   | 42 +++++++++++++++++++++++++++++++++++++++
 fields/observed energy.md | 27 +++++++++++++++++++++++++
 2 files changed, 69 insertions(+)
 create mode 100644 fields/SERVICE field.md
 create mode 100644 fields/observed energy.md
Signature · 1 line
2.51.1
#1 lore raw

PATCH 1/2 add new observed energy field

From: Benjamin Berg <[email protected]>

This adds a new "observed energy" field of type 35 that can be used to report information about signal duplication.

---
 fields/observed energy.md | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 fields/observed energy.md
fields/observed energy.md new file +27 -0
new file mode 100644
index 0000000..df8d48b
@@ -0,0 +1,27 @@
+---
+title: Observed energy
+categories: [defined]
+type: 35
+---
+Type
+: 35
+
+Structure
+: u16 known
+: u16 bw
+
+Unit(s)
+: none
+
+This field contains information related to the energy that was observed and
+likely belong to the same transmission. This may be larger than the required
+signal bandwidth if the transmission was duplicated over multiple channels.
+
+The `known` field indicates which information is known:
+
+| **flag** | **definition** | **notes** |
+| 0x0001 | observed energy bandwidth known | In `bw` part of the field |
+
+The `bw` field encodes the observed bandwidth in MHz. The reported bandwidth is
+sufficient to contain all subchannels where energy likely belonging to the
+same transmission was observed.
Signature · 1 line
2.51.1
#2 lore raw

PATCH 2/2 add a new field for SERVICE field information

In reply to Benjamin Berg

From: Benjamin Berg <[email protected]>

This can be used to report information used for bandwidth signalling.

---
 fields/SERVICE field.md | 42 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 fields/SERVICE field.md
fields/SERVICE field.md new file +42 -0
new file mode 100644
index 0000000..ff9919b
@@ -0,0 +1,42 @@
+---
+title: SERVICE field
+categories: [defined]
+type: 36
+---
+Type
+: 36
+
+Structure
+: u8 known
+: u8 flags
+: u16 service\_field
+: u8 ch\_bw\_in\_non\_ht
+
+Unit(s)
+: none
+
+For some frames, the scrambler and SERVICE field bits may be used to encode
+further information about the frame. This field exists to report related
+information when available.
+
+The `known` field indicates which information is known:
+
+| **flag** | **definition** | **notes** |
+| 0x01 | service field known | The service field bits in `service_field` are valid. |
+| 0x02 | scrambler init known | The lower bits in `service_field` represent the scrambler initialization value. |
+| 0x03 | dynamic BW in non-HT known | In `ch_bw_in_non_ht` part of the field. |
+
+The `flags` field is any combination of the following:
+
+| **flag** | **definition** | **notes** |
+| 0x01 | dynamic BW in non-HT | Set if the dynamic BW in non-HT bit was set in the scrambler bits |
+| 0x02 | 11bit scrambler init | Set for frames that have 11 bit of scrambler initialization (e.g. EHT) |
+
+The `service_field` may contain both the scrambler initialization and the SERVICE field value
+that was received depending on the flags in `known`. The lower bits are used to store the
+scrambler initialization as the SERVICE field must be all zero there.
+The scrambler initialization may be 7 or 11 bit long depending on the PHY type of the frame.
+If it is 11 bit, then the corresponding bit is set in `flags`.
+
+The `ch_bw_in_non_ht` field contains the value of `CH_BANDWIDTH_IN_NON_HT` as defined in
+IEEE802.11REVmf-D1.0 Table 17-8 - "TXVECTOR parameter `CH_BANDWIDTH_IN_NON_HT` values".
Signature · 1 line
2.51.1
#3 lore raw
In reply to Benjamin Berg
Quoted 10 lines · Benjamin Berg

Hi all,

These new fields can be relevant when inspecting whether bandwidth signalling is handled correctly. For this, the signalling information itself can be reported as well as information about the observed signal to determine whether the frame was duplicated over multiple channels.

We will post patches for iwlwifi that use these new fields. Corresponding wireshark dissectors should also be submitted in due course.

Anyone have any objections to this?

johannes