summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang You (UU) <[email protected]>2025-12-09 14:50:44 -0800
committerYang You (UU) <[email protected]>2025-12-09 14:50:44 -0800
commit9e94ebc03d0c81ef490f8fef806767da6d59f985 (patch)
treee729ba21762caef145b74bcd7e14008e8d64cbf5
parent4335a98d6b916902fc7d92cf937d1077934562a2 (diff)
parent2f8261f20d1ada9eb42b2ed32830b183843c1f7a (diff)
Merge branch 'wifiihvsample' into WifiihvsampleDataPath
-rw-r--r--network/wlan/WIFICX/README.md4
-rw-r--r--network/wlan/WIFICX/drivercode/wifitransition.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/network/wlan/WIFICX/README.md b/network/wlan/WIFICX/README.md
index e9720c25..fb4ca92a 100644
--- a/network/wlan/WIFICX/README.md
+++ b/network/wlan/WIFICX/README.md
@@ -10,7 +10,7 @@ products:
# WIFICX and NetAdapterCx Samples
-This sample illustrates how to leverage **WIFICX** for control flow and **NetAdapterCx** for data flow. It supports both **KMDF** and **UMDF** drivers.
+This sample illustrates how to leverage **WIFICX** for control flow and **NetAdapterCx** for data flow. It supports both **KMDF** and **UMDF(In Preview Stage)** drivers.
## How to Build
1. Mount the EWDK ISO from a local drive (network share paths are not supported).
@@ -30,7 +30,7 @@ The sample interacts with three OS components:
`wifixxxxx.cpp` files implement the **control path**, handling commands sent to Wi-Fi firmware (e.g., scan access points, connect, disconnect).
- **WDF NetAdapter Class Extension (NetAdapterCx)**
- `netvxxxx.cpp` files implement the **data path**, managing network buffers and synchronizing with the control path for transfer start/stop operations.
+ `netvxxxx` files and classes implement the **data path**, managing network buffers and synchronizing with the control path for transfer start/stop operations.
## Data Buffers from Firmware
The control path uses hardcoded data since this sample does not target real hardware. The data path uses **Emulated Network Link (ENL)**, which connects two virtual network adapters directly. Packets sent over one adapter are delivered to the other and vice versa.
diff --git a/network/wlan/WIFICX/drivercode/wifitransition.cpp b/network/wlan/WIFICX/drivercode/wifitransition.cpp
index 41106932..9726a59b 100644
--- a/network/wlan/WIFICX/drivercode/wifitransition.cpp
+++ b/network/wlan/WIFICX/drivercode/wifitransition.cpp
@@ -40,8 +40,8 @@ template<UINT16 MsgId>
struct TransitionTraits;
// --- Generic pure-type traits template (add before existing specializations) ---
-// WIFIREQUEST always needs M3 notification, so TPreM3Fn is mandatory.
-// and WIFICX expectes the M3 then M4 order, so we always execute M3 then M4.
+// WIFIREQUEST typically requires M3 notification, making TPreM3Fn important.
+// WIFICX expects M3 -> M4 order under normal conditions;
// using template parameters to configure parsing, cleanup, M3/M4 steps.
// to make sure that all transitions have consistent implementations.
template<