1 /*
2 * Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
3 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for
6 * any purpose with or without fee is hereby granted, provided that the
7 * above copyright notice and this permission notice appear in all
8 * copies.
9 *
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17 * PERFORMANCE OF THIS SOFTWARE.
18 */
19
20 /**
21 * DOC: contains nud event tracking function declarations
22 */
23
24 #ifndef _WLAN_NUD_TRACKING_H_
25 #define _WLAN_NUD_TRACKING_H_
26
27 #ifdef WLAN_NUD_TRACKING
28
29 /**
30 * hdd_nud_failure_work() - Handle NUD failuire work
31 * @context: HDD context pointer
32 * @netdev: netdev
33 *
34 * Return: None
35 */
36 void hdd_nud_failure_work(hdd_cb_handle context, qdf_netdev_t netdev);
37 #else
38 static inline void
hdd_nud_failure_work(hdd_cb_handle context,qdf_netdev_t netdev)39 hdd_nud_failure_work(hdd_cb_handle context, qdf_netdev_t netdev)
40 {
41 }
42 #endif /* WLAN_NUD_TRACKING */
43 #endif /* end of _WLAN_NUD_TRACKING_H_ */
44