Skip to content

Add 802.11 EHT Operation element support#5053

Open
middleendian wants to merge 1 commit into
secdev:masterfrom
middleendian:dot11_eht_operation
Open

Add 802.11 EHT Operation element support#5053
middleendian wants to merge 1 commit into
secdev:masterfrom
middleendian:dot11_eht_operation

Conversation

@middleendian

Copy link
Copy Markdown
Contributor

Add Dot11 EHT Operation Element

Scope:

  • Adds Dot11EltEHTOperation for Element ID Extension 106.
  • Adds Dot11EHTOperationInfo for the optional EHT Operation Information
    field.
  • Parses the fixed EHT Operation Parameters byte, Basic EHT-MCS and NSS Set,
    optional EHT Operation Information, and optional Disabled Subchannel Bitmap.
  • Adds focused dissection and raw round-trip tests for EHT Operation with no
    Operation Information, with Operation Information, and with Disabled
    Subchannel Bitmap followed by another information element.

Spec references used in code comments:

  • IEEE P802.11be/D7.0, 9.4.2.311: EHT Operation element.

Intentional partial support:

  • This patch does not attempt to parse every EHT-related element or every
    future draft extension.
  • Unknown or unsupported EHT information remains outside this focused parser
    instead of being guessed from incomplete structure.

Test command used:

test/run_tests -t test/scapy/layers/dot11.uts -F

Result:

PASSED=73 FAILED=0

AI-Assisted: yes (Codex)
@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.23%. Comparing base (326cf5e) to head (74eaf0c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5053      +/-   ##
==========================================
- Coverage   80.23%   80.23%   -0.01%     
==========================================
  Files         388      388              
  Lines       96517    96529      +12     
==========================================
+ Hits        77442    77450       +8     
- Misses      19075    19079       +4     
Files with missing lines Coverage Δ
scapy/layers/dot11.py 92.30% <100.00%> (+0.13%) ⬆️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant