|
@@ -240,12 +240,23 @@ enum dp_cpu_ring_map_types {
|
|
|
/**
|
|
|
* @brief Cpu to tx ring map
|
|
|
*/
|
|
|
-static uint8_t dp_cpu_ring_map[DP_CPU_RING_MAP_MAX][WLAN_CFG_INT_NUM_CONTEXTS] = {
|
|
|
- {0x0, 0x1, 0x2, 0x0},
|
|
|
- {0x1, 0x2, 0x1, 0x2},
|
|
|
- {0x0, 0x2, 0x0, 0x2},
|
|
|
- {0x2, 0x2, 0x2, 0x2}
|
|
|
+#ifdef CONFIG_WIN
|
|
|
+static uint8_t
|
|
|
+dp_cpu_ring_map[DP_CPU_RING_MAP_MAX][WLAN_CFG_INT_NUM_CONTEXTS] = {
|
|
|
+ {0x0, 0x1, 0x2, 0x0, 0x0, 0x1, 0x2, 0x0, 0x0, 0x1, 0x2},
|
|
|
+ {0x1, 0x2, 0x1, 0x2, 0x1, 0x2, 0x1, 0x2, 0x1, 0x2, 0x1},
|
|
|
+ {0x0, 0x2, 0x0, 0x2, 0x0, 0x2, 0x0, 0x2, 0x0, 0x2, 0x0},
|
|
|
+ {0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2}
|
|
|
+};
|
|
|
+#else
|
|
|
+static uint8_t
|
|
|
+dp_cpu_ring_map[DP_CPU_RING_MAP_MAX][WLAN_CFG_INT_NUM_CONTEXTS] = {
|
|
|
+ {0x0, 0x1, 0x2, 0x0, 0x0, 0x1, 0x2},
|
|
|
+ {0x1, 0x2, 0x1, 0x2, 0x1, 0x2, 0x1},
|
|
|
+ {0x0, 0x2, 0x0, 0x2, 0x0, 0x2, 0x0},
|
|
|
+ {0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2}
|
|
|
};
|
|
|
+#endif
|
|
|
|
|
|
/**
|
|
|
* @brief Select the type of statistics
|