mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
Merge "qcacld-3.0: Setup CDP interface for flushing RX queue" into wlan-cld3.driver.lnx.2.0-dev
This commit is contained in:
commit
8632670fdf
3 changed files with 5 additions and 9 deletions
|
|
@ -89,11 +89,4 @@ void ol_rx_data_process(struct ol_txrx_peer_t *peer,
|
|||
|
||||
void ol_txrx_flush_rx_frames(struct ol_txrx_peer_t *peer,
|
||||
bool drop);
|
||||
/**
|
||||
* ol_txrx_flush_cache_rx_queue() - flush cache rx queue frame
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void ol_txrx_flush_cache_rx_queue(void);
|
||||
|
||||
#endif /* _OL_TXRX_OSIF_API__H_ */
|
||||
|
|
|
|||
|
|
@ -2275,7 +2275,7 @@ void ol_txrx_flush_rx_frames(struct ol_txrx_peer_t *peer,
|
|||
qdf_atomic_dec(&peer->flush_in_progress);
|
||||
}
|
||||
|
||||
void ol_txrx_flush_cache_rx_queue(void)
|
||||
static void ol_txrx_flush_cache_rx_queue(void)
|
||||
{
|
||||
uint8_t sta_id;
|
||||
struct ol_txrx_peer_t *peer;
|
||||
|
|
@ -5316,6 +5316,7 @@ static struct cdp_cmn_ops ol_ops_cmn = {
|
|||
.txrx_mgmt_tx_cb_set = ol_txrx_mgmt_tx_cb_set,
|
||||
.txrx_data_tx_cb_set = ol_txrx_data_tx_cb_set,
|
||||
.txrx_get_tx_pending = ol_txrx_get_tx_pending,
|
||||
.flush_cache_rx_queue = ol_txrx_flush_cache_rx_queue,
|
||||
.txrx_fw_stats_get = ol_txrx_fw_stats_get
|
||||
/* TODO: Add other functions */
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1246,6 +1246,7 @@ QDF_STATUS hdd_wlan_shutdown(void)
|
|||
hdd_context_t *pHddCtx;
|
||||
p_cds_sched_context cds_sched_context = NULL;
|
||||
QDF_STATUS qdf_status;
|
||||
void *soc = cds_get_context(QDF_MODULE_ID_SOC);
|
||||
|
||||
hdd_alert("WLAN driver shutting down!");
|
||||
|
||||
|
|
@ -1280,7 +1281,8 @@ QDF_STATUS hdd_wlan_shutdown(void)
|
|||
hdd_reset_all_adapters(pHddCtx);
|
||||
|
||||
/* Flush cached rx frame queue */
|
||||
ol_txrx_flush_cache_rx_queue();
|
||||
if (soc)
|
||||
cdp_flush_cache_rx_queue(soc);
|
||||
|
||||
/* De-register the HDD callbacks */
|
||||
hdd_deregister_cb(pHddCtx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue