Skip to content

Add 802.11 HT Operation element#5038

Merged
gpotter2 merged 1 commit into
secdev:masterfrom
middleendian:dot11_ht_operation
Jul 6, 2026
Merged

Add 802.11 HT Operation element#5038
gpotter2 merged 1 commit into
secdev:masterfrom
middleendian:dot11_ht_operation

Conversation

@middleendian

Copy link
Copy Markdown
Contributor

Dot11 HT Operation

Scope:

  • Adds Dot11EltHTOperation for Element ID 61.
  • Parses the HT Operation element fixed fields from IEEE Std 802.11n-2009:
    primary channel, secondary channel offset, channel width, RIFS mode, HT
    protection fields, PCO/STBC flags, and the 16-byte Basic MCS Set.
  • Adds a focused test/scapy/layers/dot11.uts isolation test with raw
    round-trip coverage.

Spec references used in code comments:

  • IEEE Std 802.11n-2009, 7.3.2.57: HT Operation element.
  • IEEE Std 802.11n-2009, Figure 7-95o24: HT Operation element format.
  • IEEE Std 802.11n-2009, Table 7-43p: HT Operation element field meanings.

Focused test command used:

test/run_tests -t test/scapy/layers/dot11.uts -n 56-62 -F

Result:

PASSED=7 FAILED=0

AI-Assisted: yes (Codex)

AI-Assisted: yes (Codex)
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.21%. Comparing base (c1367fa) to head (d9b5cb6).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5038      +/-   ##
==========================================
- Coverage   80.22%   80.21%   -0.01%     
==========================================
  Files         387      387              
  Lines       96446    96450       +4     
==========================================
- Hits        77375    77372       -3     
- Misses      19071    19078       +7     
Files with missing lines Coverage Δ
scapy/layers/dot11.py 91.89% <100.00%> (+0.04%) ⬆️

... and 8 files with indirect coverage changes

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

@gpotter2 gpotter2 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR

@gpotter2 gpotter2 merged commit 2498fbb into secdev:master Jul 6, 2026
23 of 25 checks passed
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.

2 participants