Skip to content

Wificx Sample Driver with Data Path#2

Merged
youyanggit merged 20 commits into
developfrom
WifiihvsampleDataPath
Dec 12, 2025
Merged

Wificx Sample Driver with Data Path#2
youyanggit merged 20 commits into
developfrom
WifiihvsampleDataPath

Conversation

@youyanggit

Copy link
Copy Markdown
Owner

Check in the WIFICX Sample driver data path logic:
following folders created:
.\network\netadaptercx\ <-- The "Data Path" core
.\network\netadaptercx\netvadapterlibrary\ <-- The data path core logic built as Lib, shared with Wi-Fi (MBB or Ethernet adapter can share same lib)
.\network\Wlan\WIFICX\ <-- The wifi adapter which consumes the netvadapterlibrary

Comment thread network/netadaptercx/netvadapterlibrary/code/enl.cpp Fixed
Comment thread network/netadaptercx/netvadapterlibrary/code/enl.cpp Fixed
Added assertions to EnlpAffinitizeThread to verify BitScanReverse succeeds. Updated EnlRingDoorBell to properly acquire and release the spinlock around the Armed state check for thread safety. Removed obsolete netvadapterlibrary.sln.old solution file.
{
NT_ASSERT(Queue->ArmWaitEvent != NULL);
Queue->Armed = FALSE;
WdfSpinLockRelease(Queue->Spinlock);

Check warning

Code scanning / CodeQL

IRQL too low (C28120) Warning

EnlRingDoorBell
: IRQL potentially too low at call to
WdfSpinLockRelease
. Minimum IRQL for this call: 2, IRQL at preceding node: 15
@youyanggit youyanggit merged commit ed4d48d into develop Dec 12, 2025
7 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