From d339c2d2d77a2b7921b8071c7d5a65d91a286e51 Mon Sep 17 00:00:00 2001 From: Rakesh Pillai Date: Wed, 27 Sep 2017 16:56:09 +0530 Subject: [PATCH] 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 --- dp/inc/cdp_txrx_mob_def.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dp/inc/cdp_txrx_mob_def.h b/dp/inc/cdp_txrx_mob_def.h index 5a59f8c90c23..994179e433ac 100644 --- a/dp/inc/cdp_txrx_mob_def.h +++ b/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, };