Skip to content

Add 802.11 Microsoft WME element support - #5068

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

Add 802.11 Microsoft WME element support#5068
middleendian wants to merge 1 commit into
secdev:masterfrom
middleendian:dot11_wme

Conversation

@middleendian

Copy link
Copy Markdown
Contributor

Dot11 Microsoft WME Element

Scope:

  • Adds Dot11EltMicrosoftWME for Microsoft vendor-specific WME/WMM
    Information and Parameter elements.
  • Dispatches Microsoft OUI 00:50:f2 vendor element type 0x02 to the WME
    parser while keeping short Microsoft vendor elements as generic vendor
    elements.
  • Parses WME subtype, version, qos_info, and the four AC Parameter
    records for WME Parameter elements.
  • Keeps unknown or extra WME body bytes in info.

Intentional partial support:

  • This patch only handles Microsoft WME/WMM vendor element type 0x02.
  • Microsoft WPS vendor elements (type == 0x04) remain a TODO and continue to
    fall back to Dot11EltVendorSpecific.

Test command used:

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

Result:

PASSED=74 FAILED=0

AI-Assisted: yes (Codex)
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.30769% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.50%. Comparing base (5967449) to head (80cebf2).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
scapy/layers/dot11.py 92.30% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5068   +/-   ##
=======================================
  Coverage   80.49%   80.50%           
=======================================
  Files         390      390           
  Lines       96758    96795   +37     
=======================================
+ Hits        77886    77921   +35     
- Misses      18872    18874    +2     
Files with missing lines Coverage Δ
scapy/layers/dot11.py 92.29% <92.30%> (-0.02%) ⬇️

... and 6 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