瀏覽代碼

qcacmn: Add netif action type for HI PRIO queue

ARP packets will not get chance to be transmitted if
netif queues are paused due to low tx descriptor availability.
Send ARP packets from HI PRIO queue so that it can be transmitted
in noisy environment.

Add netif action type for HI PRIO queue.

Change-Id: If3fea405bed07823f11b505f9a6627a3f14c343a
CRs-Fixed: 2083277
Rakesh Pillai 7 年之前
父節點
當前提交
d339c2d2d7
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      dp/inc/cdp_txrx_mob_def.h

+ 9 - 0
dp/inc/cdp_txrx_mob_def.h

@@ -80,6 +80,10 @@
  * @WLAN_NETIF_TX_DISABLE_N_CARRIER: disable tx and off carrier
  * @WLAN_NETIF_CARRIER_ON: on carrier
  * @WLAN_NETIF_CARRIER_OFF: off carrier
+ * @WLAN_NETIF_PRIORITY_QUEUE_ON: start priority netif queues
+ * @WLAN_NETIF_PRIORITY_QUEUE_OFF: stop priority netif queues
+ * @WLAN_WAKE_NON_PRIORITY_QUEUE: wake non priority netif queues
+ * @WLAN_STOP_NON_PRIORITY_QUEUE: stop non priority netif queues
  */
 enum netif_action_type {
 	WLAN_STOP_ALL_NETIF_QUEUE = 1,
@@ -91,6 +95,10 @@ enum netif_action_type {
 	WLAN_NETIF_TX_DISABLE_N_CARRIER,
 	WLAN_NETIF_CARRIER_ON,
 	WLAN_NETIF_CARRIER_OFF,
+	WLAN_NETIF_PRIORITY_QUEUE_ON,
+	WLAN_NETIF_PRIORITY_QUEUE_OFF,
+	WLAN_WAKE_NON_PRIORITY_QUEUE,
+	WLAN_STOP_NON_PRIORITY_QUEUE,
 	WLAN_NETIF_ACTION_TYPE_MAX,
 };
 
@@ -112,6 +120,7 @@ enum netif_reason_type {
 	WLAN_VDEV_STOP,
 	WLAN_PEER_UNAUTHORISED,
 	WLAN_THERMAL_MITIGATION,
+	WLAN_DATA_FLOW_CONTROL_PRIORITY,
 	WLAN_REASON_TYPE_MAX,
 };