diff options
| author | Yeshwanth Sriram Guntuka <ysriramg@codeaurora.org> | 2021-02-22 16:06:20 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2021-05-24 08:55:43 -0700 |
| commit | 17e5372a33cb5cb7fd0984db30c45e00924d43a6 (patch) | |
| tree | 16b90d10fe0bd867d4f19e849a0a5d8417594269 | |
| parent | 3513ddb9467959d6dcf63830821fe3aa193da1c3 (diff) | |
qcacmn: Add CDP intf to flush fragments for a particular peer
Add CDP interface support for flushing fragments for a
particular peer.
Change-Id: Ic59843408037b9c858599be13727422c2e3031cd
CRs-Fixed: 2875946
| -rw-r--r-- | dp/inc/cdp_txrx_peer_ops.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/dp/inc/cdp_txrx_peer_ops.h b/dp/inc/cdp_txrx_peer_ops.h index ec5bbf0a7488..311e5cee0f4a 100644 --- a/dp/inc/cdp_txrx_peer_ops.h +++ b/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_ */ |
