summaryrefslogtreecommitdiff
path: root/network
AgeCommit message (Collapse)Author
2025-12-08have the last Mac byte featureYang You (UU)
2025-12-08Remove NETCX2.6 depend featuresYang You (UU)
2025-12-06Fix build break for NETCX2.6 only APIsYang You (UU)
2025-12-04bring back the KPushLockYang You (UU)
2025-12-04Cleanup the KSpinlock.h and replace with WDFSpinlockYang You (UU)
2025-12-04intergrate the netvadapterlibrary with wificxsampledriver, cleanup the ↵Yang You (UU)
memory related header -KNEW.H
2025-12-02Have the NetVAdapter Lib buildable with EWDK for both UM and KMYang You (UU)
2025-11-25fixing the GitHub code analysis errorsYang You (UU)
2025-11-25Moving to UTF-16 LE BOM asYang You (UU)
https://learn.microsoft.com/en-us/windows-hardware/drivers/install/general-guidelines-for-inf-files#editing-inf-files-and-file-encodings The file must be saved with an ANSI or Unicode (UTF-16 LE) file encoding. Unicode (UTF-16 LE) is preferred since it allows the INF to support localizing the INF Strings section in a wide variety of languages. If your INF contains non-ASCII characters, you must save the file as a Unicode (UTF-16 LE) file.
2025-11-24BuildBreak Fix: Convert to UTF8Yang You (UU)
2025-11-24fix the rror 1001: Invalid INF ↵Yang You (UU)
'D:\a\Windows-driver-samples\Windows-driver-samples\network\wlan\WIFICX\um\ARM64\Debug\wificxsampleclientum.inf', must contain [Version] section and have signature "$Windows NT$"
2025-11-24try to walk aroudn the DrvCat EWDK(10.0.26100.6584) error by disabling the ↵Yang You (UU)
inf2cat and code analysis. Will enable back when newer version EWDK fixed the issue.
2025-11-20Update the project status.Yang You (UU)
2025-11-20adding the copyright to the code file, and let the Radio State by default is onYang You (UU)
2025-11-20cleanup dead fileYang You (UU)
2025-11-20have the Infrastructure ready to have the driver install success and able to ↵Yang You (UU)
start handling the WifiRequest
2025-11-18add the INF file for UM and KM, make the static analysis issue freeYang You (UU)
2025-11-16have the wifiHAL living with the wdfdevice addtional context memoryYang You (UU)
2025-11-14have the M3 amd M4 general typesYang You (UU)
2025-11-13move the logic to CPPYang You (UU)
2025-11-13have the M3 and M4 correctly triggerYang You (UU)
2025-11-11have the HAL layer created for correctly demo the Interface of WIfireuqest, ↵Yang You (UU)
meanwhile have the WPPTrace enabled for both um and km
2025-11-10have the buildable KM and UM solutions for Wifi only scenarios.Yang You (UU)
2025-11-06Create the WIFICX Folder to prepare the project for WIFICX Sample driver.Yang You (UU)
2023-05-01[network/trans/stmedit] Fix architecture in solution (#976)Adonais Romero González
2023-04-21Ndis mux inf violations (#973)kahashimoto-ms
* Delete deprecated directives DelFiles and DelService * Add PnpLockdown=1 to the version section of the inf * Add catalog file in muxp.inf * Add PnpLockdown=1 to the version section of mux_mp.inf * Add catalog file in mux_mp.inf * include mux_mp.inf in the muxvaln project * include muxp.inf in mux project. Add mux.dll as file to package. Note as of now the Notifyob proj must be built then mux.dll must be moved to the Project Directory * Changed all DIRID to 13 * change all DIRID to 13 * Create build dependency so that mux.dll is generated before other projects. * Include the mux.dll from the notifyob project into the build package * Delete comments * Edit muxp.inf so that DIRID 13 is used for installation above certain releases * Change MUXP->MUXP_NC and MUXP_Update->MUXP. This makes the updated version look like the default. Old version called _NC for non-compliant * Edit muxp.inf so that MUXP comes before MUXP_NC * Make same edits to mux_mp.inf * Enable the Control-flow Enforcement Technology (CET) Shadow Stack mitigation * Fix Warning from runing Prefast static analysis * Fix more warnings from running Prefast * Use stampinf ARCH variable to replace all the hard coded architecures in mux_mp.inf * Use stampinf ARCH variable to replace all the hard coded architecures in muxp.inf * Delete extra comma typo * Change encoding of mux_mp.inf to UTF-16 LE * Change encoding of muxp.inf to UTF-16 LE * Add the correct build number for installing network drivers with Dlls and upate comment in muxp.inf * Add the correct build number for installing network drivers with Dlls and upate comment in mux_mp.inf * Change all instances of MUXP tp MUXMP in mux_mp.inf * Change Brace style to match existing code * Fix mistakes returning win32 err for HRESULT, and leaking memory * Fix mux_mp.inf to payload muxvlan.sys * Edit to sln and vcxproj files to edit how build directories are made * Edit vcxproj files to package correct files. Edit Target name for muxvlan project to be mux so the same inf files can be used for both projects * Remove comments * Fix mux_mp.inf to payload mux.sys * fix mistakes returning win32 err instead of HRESULT, and leaking mem * Change comment on mux_mp.inf explaining why build 25341 is used * Free lpszBindName before return.
2023-04-13Ndisprot inf violations (#974)kahashimoto-ms
* Add PnpLockdown=1 to the version section of the inf * Change service name to Ndisprot60 * Change Section 'wdfsection' to 'Install.Wdf' so it can be referenced. Change service to NdisProt60 in that section * Change all DIRID to 13 * Add different manufacturer entires so installtion is different for Windows 7 vs Windows 10 and above * Add another manufacturer so the driver installs in DriverStore for newest builds * Enable the Control-flow Enforcement Technology (CET) Shadow Stack mitigation * Add SAL annotation to the DllCanUnloadNow definition to match declaration * Use stampinf ARCH variable to replace hard coded architectures * Fix a comment * Add the correct build number for installing network drivers using Dlls and update comment.
2023-04-10Update various network projects to use DriverTargetPlatform of 'Windows ↵Jason
Driver' (#971) Co-authored-by: Jason Knichel <[email protected]>
2023-04-04Update all network sample INFs to use UTF-16 LE file encoding (#957)Jason
Co-authored-by: Jason Knichel <[email protected]>
2023-03-31Remove references to XP in INFs (#950)Jason
Co-authored-by: Jason Knichel <[email protected]>
2023-03-31Add PnpLockdown=1 to remaining samples (#949)Jason
Co-authored-by: Jason Knichel <[email protected]>
2023-03-27Ndisprot630 inf violations (#944)kahashimoto-ms
* Add PnPLockdown=1 to the veresion section to the inf * Added segments to the DriverVer * Change Service name to Ndisprot630 * Edit INF to install used DIRID 13 above a certain release number * Change names Install->Install_NC and Install_Update->Install * Move things around so Install appears before Install_NC * enable the Control-flow Enforcement Technology (CET) Shadow Stack mitigation * Network driver INF that target DIRID 13 should only build 25319 or later * Update comment * Enable CET Shadow Stack compatiblility
2023-03-27User/kahashimoto ms/ndislwf dirid 13 fix (#945)kahashimoto-ms
* removed unused Common.Params.reg section * Change DIRID from 12 to 13 * add PnpLockdown = 1 to the version section of the inf * Edit inf so that it uses DIRID 13 for installation above certain release * add the x86 and ia64 archs that were previously removed for simplicity * add comment on why there is a different installation for newer build versions * Move sections so updated ones appear first * Change Install_Update->Install and Install->Install_NC * Enable CET Shadow Stack Compatible * remove white space * Use the stampinf ARCH variable to replace all the hard coded architectures * Network driver INF that use DIRID 13 should only target build 25319 or later * Update comment * delete some white space * Change encoding of inf to UTF-16LE
2023-03-27Ndisprot60 inf violations (#943)kahashimoto-ms
* Add PnpLockdown=1 to the version section of the INF * Add segments to the DriverVer * Change Service name from Ndisprot to Ndisprot60 because Ndisprot is reserved * Edit INF to install used DIRID 13 above a certain release number * Add section Install_Update.Remove.Services * Change names Install->Install_NC and Install_Update->Install * Move things around so Install appears before Install_NC * enable the Control-flow Enforcement Technology (CET) Shadow Stack mitigation * Network driver INF that target DIRID 13 should only build 25319 or later * Update comment
2023-03-27User/kahashimoto ms/msforwardext inf violation (#941)kahashimoto-ms
* Add PnpLockdown=1 to the version section of the INF * Add segments to DriverVer in INF * Change DIRID from 12 to 13 * Enable the Control-flow Enforcement Technology (CET) Shadow Stack mitigation. * Use Stampinf architecture * Change the encoding of inf to UTF-16LE
2023-03-24Mspassthroughext arch fix (#942)kahashimoto-ms
* Use Stampinf architecture * Enable the CET Shadow Stack mitigation * Change the encoding of inf to UTF-16LE
2023-03-24Netvmini arch fix (#940)kahashimoto-ms
* Enable stampinf arch replacement for netvmini60 * delete stray comma * Enable stampinf arch replacement for netvmini620 * Enable stampinf arch replacement for netvmini630 * Enable stampinf arch replacement for netvmini680 * Enable the CET Shadow Stack mitigation for each netvmini60,620,630,680 projects
2023-03-13INFs using DIRID 13 should target only build 16299 or later - network ↵Jason
updates (#928) Co-authored-by: Jason Knichel <[email protected]>
2023-03-07Opt many samples in for Universal validation (#910)Michael Bernstein (MSFT)
* Opt-in many Desktop samples for ApiValidator ApiValidator is passing for many of our samples marked Desktop. This is promising and it is worth running ApiValidator on these to ensure they stay within the Universal API limits. * Shift avstream/sampledevicemft sample to use mfcore.dll rather than mf.dll * Opt many samples in for Universal validation Many of our driver samples build cleanly agains the UniversalDDIs.xml API list. Opting these in as Universal helps protect their API surface against accidentally picking up more Desktop-only APIs. * Revert "Opt-in many Desktop samples for ApiValidator" This reverts commit a6aa7e6797ab01e6b15c8a4e1cbcea6d7a615629. --------- Co-authored-by: Michael Bernstein (DPLAT) <[email protected]>
2023-03-03Fix up some of the malformed DriverVer directives (#909)Jason
Co-authored-by: Jason Knichel <[email protected]>
2023-02-15Fix InfVerif 1235 errors in some sample INFs (#885)Jason
Co-authored-by: Jason Knichel <[email protected]>
2023-02-08Update filter.h (#544)Hanwool Park
2023-02-06Merge pull request #855 from microsoft/develop-2302-mergeAdonais Romero González
Merge 'main' into 'develop'
2023-02-03Merge branch 'main' into develop-2302-mergeAdonais Romero González
2023-02-03mspassthroughext Driver compatibility violations (#846)kahashimoto-ms
* Add PnpLockdown to the version section of the INF * Add segments to DriverVer * Change DIRID from 12 to 13
2022-12-02Netvmin680 fix (#805)kahashimoto-ms
* add NDIS_SUPPORT_NDIS680 in #if directive in adapter.c * add NDIS_SUPPORT_NDIS680 in #if directive in miniport.c * fix driver isolation violation 1323 for netvmini680.inf * fix driver isolation violation 1322 for netvmini680.inf * set NIC_PHYSICAL_MEDIUM to NdisPhysicalMedium802_3 in hardware.h * change local type from ULONG to UINT8 to match return type * Remove AddReg TextModeFlags in inf for netvmini680
2022-12-02Update HelperFunctions_ThreadsAndEvents.cpp (#798)janasebaali
correct logging statement
2022-12-02Fix driver isolation violations 1322 and 1323 for netvmini (60, 620, 630) ↵kahashimoto-ms
drivers. (#803) * fix driver isolation violations 1322 1323 for netvmini60.inf * fix driver isolation violations 1322 1323 for netvmini620.inf * fix driver isolation violations 1322 1323 for netvmini630.inf * change local type from ULONG to UINT8 to match return type * Remove AddReg TextModeFlags in inf for netvmini60 * Remove AddReg TextModeFlags in inf for netvmini620 * Remove AddReg TextModeFlags in inf for netvmini630
2022-11-28Merge branch 'main' into developAdonais Romero Gonzalez
2022-11-28[network/wlan/WDI] Fix Mismatched Type Comparisons (#715)Pranav Sharma
* fix wider type comparisons * fix resulting mismatched types