qcacld-3.0: Add changes for Napier flow control

Adds support for flow control on convergence branch.
We will have global pool and each vdev coming up will have the
descriptors allocated from global pool. Tx queue is paused and unpaused
internally in host based on the stop and start thresholds.
Changes are added under compilation flag QCA_LL_TX_FLOW_CONTROL_V2.

Change-Id: I0ccb80b0099f39efad52ccd7d47f2709fdee2a93
CRs-Fixed: 2040457
This commit is contained in:
Manjunathappa Prakash 2017-03-30 20:11:47 -07:00 • committed by snandini
commit 6c54736903
5 changed files with 18 additions and 13 deletions

5
Kbuild
View file

@ -182,7 +182,7 @@ ifneq ($(CONFIG_ROME_IF),sdio)
CONFIG_WLAN_NAPI_DEBUG := n
# Flag to enable FW based TX Flow control
ifeq ($(CONFIG_CNSS_EOS),y)
ifeq (y,$(findstring y,$(CONFIG_CNSS_EOS) $(CONFIG_LITHIUM)))
CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y
else
CONFIG_WLAN_TX_FLOW_CONTROL_V2 := n
@ -1080,6 +1080,9 @@ DP_OBJS := $(DP_SRC)/dp_main.o \
$(DP_SRC)/dp_rx_mon_status.o \
$(DP_SRC)/dp_rx_defrag.o \
$(DP_SRC)/dp_stats.o
ifeq ($(CONFIG_WLAN_TX_FLOW_CONTROL_V2), y)
DP_OBJS += $(DP_SRC)/dp_tx_flow_control.o
endif
endif
############ CFG ############