qcacld-3.0: Refine the TX flow info setting for legacy TX flow control

Refine the TX flow info setting independent on the IPA module to enable
the TX flow control feature for the TCP/UDP when IPA module is disabled.

Change-Id: Ib5d708e405dc93f410f100a5c335875b30601981
CRs-Fixed: 3346767
This commit is contained in:
Tiger Yu
2022-12-02 14:43:41 +08:00
committato da Madan Koyyalamudi
parent 8e5bd76091
commit d57c2820e1
7 ha cambiato i file con 274 aggiunte e 308 eliminazioni

Vedi File

@@ -42,16 +42,6 @@
*/
void hdd_ipa_send_nbuf_to_network(qdf_nbuf_t nbuf, qdf_netdev_t dev);
/**
* hdd_ipa_set_tx_flow_info() - To set TX flow info if IPA is
* enabled
*
* This routine is called to set TX flow info if IPA is enabled
*
* Return: None
*/
void hdd_ipa_set_tx_flow_info(void);
/**
* hdd_ipa_set_mcc_mode() - To set mcc mode if IPA is enabled
* @mcc_mode: mcc mode
@@ -68,10 +58,6 @@ void hdd_ipa_send_nbuf_to_network(qdf_nbuf_t skb, qdf_netdev_t dev)
{
}
static inline void hdd_ipa_set_tx_flow_info(void)
{
}
static inline void hdd_ipa_set_mcc_mode(bool mcc_mode)
{
}

Vedi File

@@ -365,4 +365,19 @@ void hdd_print_netdev_txq_status(struct net_device *dev);
uint32_t
wlan_hdd_dump_queue_history_state(struct hdd_netif_queue_history *q_hist,
char *buf, uint32_t size);
#ifdef QCA_LL_LEGACY_TX_FLOW_CONTROL
/**
* wlan_hdd_set_tx_flow_info() - To set TX flow info
*
* This routine is called to set TX flow info
*
* Return: None
*/
void wlan_hdd_set_tx_flow_info(void);
#else
static inline void wlan_hdd_set_tx_flow_info(void)
{
}
#endif
#endif /* end #if !defined(WLAN_HDD_TX_RX_H) */