summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2021-08-12 15:56:18 +0300
committerMichael Bestas <mkbestas@lineageos.org>2021-08-12 15:56:18 +0300
commitecedd447ac008fc249d779a7e57c11a17a4ca968 (patch)
treee9a574f08fd83711ee097f1cca0128c52ee852b1
parent0a4650e050aa3a4c2321d215d14fc860512c18a2 (diff)
parent17e5372a33cb5cb7fd0984db30c45e00924d43a6 (diff)
Merge tag 'LA.UM.7.2.c26-02900-sdm660.0' of https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qca-wifi-host-cmn into lineage-18.1-caf-msm8998
"LA.UM.7.2.c26-02900-sdm660.0" # By Yeshwanth Sriram Guntuka (2) and Debasis Das (1) # Via Gerrit - the friendly Code Review server * tag 'LA.UM.7.2.c26-02900-sdm660.0' of https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qca-wifi-host-cmn: qcacmn: Add CDP intf to flush fragments for a particular peer qcacmn: Fix Integer Overflow Leading to Buffer Overflow qcacmn: Fix potential double free in send_log_supported_evt_cmd_tlv Change-Id: I2d421241f1ddd7a17975fde5dcc11b48f9ee14ca
-rw-r--r--drivers/staging/qca-wifi-host-cmn/dp/inc/cdp_txrx_peer_ops.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/staging/qca-wifi-host-cmn/dp/inc/cdp_txrx_peer_ops.h b/drivers/staging/qca-wifi-host-cmn/dp/inc/cdp_txrx_peer_ops.h
index ec5bbf0a7488..311e5cee0f4a 100644
--- a/drivers/staging/qca-wifi-host-cmn/dp/inc/cdp_txrx_peer_ops.h
+++ b/drivers/staging/qca-wifi-host-cmn/dp/inc/cdp_txrx_peer_ops.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2016-2018, 2021 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -170,4 +170,16 @@ void
ol_txrx_remove_peers_for_vdev_no_lock(ol_txrx_vdev_handle vdev,
ol_txrx_vdev_peer_remove_cb callback,
void *callback_context);
+
+/**
+ * ol_txrx_peer_flush_frags() - Flush fragments for a particular peer
+ * @pdev - datapath pdev handle
+ * @vdev_id - virtual device id
+ * @peer_mac - peer mac address
+ *
+ * Return: None
+ */
+void
+ol_txrx_peer_flush_frags(ol_txrx_pdev_handle pdev, uint8_t vdev_id,
+ uint8_t *peer_mac);
#endif /* _CDP_TXRX_PEER_H_ */