xref: /wlan-dirver/qca-wifi-host-cmn/target_if/son/inc/target_if_son.h (revision 45a38684b07295822dc8eba39e293408f203eec8)
1 /*
2  * Copyright (c) 2017,2020 The Linux Foundation. All rights reserved.
3  *
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 #include <ol_if_athvar.h>
20 #include <wlan_objmgr_cmn.h>
21 #include <wlan_objmgr_psoc_obj.h>
22 #include <wlan_objmgr_pdev_obj.h>
23 #include <wlan_objmgr_vdev_obj.h>
24 #include <wlan_objmgr_peer_obj.h>
25 
26 void target_if_son_register_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops);
27 
28 u_int32_t son_ol_get_peer_rate(struct wlan_objmgr_peer *peer, u_int8_t type);
29 
30 QDF_STATUS son_ol_send_null(struct wlan_objmgr_pdev *pdev,
31 			    u_int8_t *macaddr,
32 			    struct wlan_objmgr_vdev *vdev);
33