1*5113495bSYour Name /* 2*5113495bSYour Name * Copyright (c) 2017-2019 The Linux Foundation. All rights reserved. 3*5113495bSYour Name * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. 4*5113495bSYour Name * 5*5113495bSYour Name * Permission to use, copy, modify, and/or distribute this software for 6*5113495bSYour Name * any purpose with or without fee is hereby granted, provided that the 7*5113495bSYour Name * above copyright notice and this permission notice appear in all 8*5113495bSYour Name * copies. 9*5113495bSYour Name * 10*5113495bSYour Name * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 11*5113495bSYour Name * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 12*5113495bSYour Name * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 13*5113495bSYour Name * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 14*5113495bSYour Name * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 15*5113495bSYour Name * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 16*5113495bSYour Name * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 17*5113495bSYour Name * PERFORMANCE OF THIS SOFTWARE. 18*5113495bSYour Name */ 19*5113495bSYour Name 20*5113495bSYour Name /** 21*5113495bSYour Name * DOC: offload lmac interface APIs for tdls 22*5113495bSYour Name * 23*5113495bSYour Name */ 24*5113495bSYour Name 25*5113495bSYour Name #ifndef __TARGET_IF_TDLS_H__ 26*5113495bSYour Name #define __TARGET_IF_TDLS_H__ 27*5113495bSYour Name 28*5113495bSYour Name struct tdls_info; 29*5113495bSYour Name struct wlan_objmgr_psoc; 30*5113495bSYour Name struct tdls_peer_update_state; 31*5113495bSYour Name struct tdls_channel_switch_params; 32*5113495bSYour Name struct sta_uapsd_trig_params; 33*5113495bSYour Name 34*5113495bSYour Name /** 35*5113495bSYour Name * target_if_tdls_update_fw_state() - lmac handler to update tdls fw state 36*5113495bSYour Name * @psoc: psoc object 37*5113495bSYour Name * @param: tdls state parameter 38*5113495bSYour Name * 39*5113495bSYour Name * Return: QDF_STATUS 40*5113495bSYour Name */ 41*5113495bSYour Name QDF_STATUS 42*5113495bSYour Name target_if_tdls_update_fw_state(struct wlan_objmgr_psoc *psoc, 43*5113495bSYour Name struct tdls_info *param); 44*5113495bSYour Name 45*5113495bSYour Name /** 46*5113495bSYour Name * target_if_tdls_update_peer_state() - lmac handler to update tdls peer state 47*5113495bSYour Name * @psoc: psoc object 48*5113495bSYour Name * @peer_params: tdls peer state params 49*5113495bSYour Name * 50*5113495bSYour Name * Return: QDF_STATUS 51*5113495bSYour Name */ 52*5113495bSYour Name QDF_STATUS 53*5113495bSYour Name target_if_tdls_update_peer_state(struct wlan_objmgr_psoc *psoc, 54*5113495bSYour Name struct tdls_peer_update_state *peer_params); 55*5113495bSYour Name 56*5113495bSYour Name /** 57*5113495bSYour Name * target_if_tdls_set_offchan_mode() - lmac handler to set tdls off channel mode 58*5113495bSYour Name * @psoc: psoc object 59*5113495bSYour Name * @params: tdls channel switch params 60*5113495bSYour Name * 61*5113495bSYour Name * Return: QDF_STATUS 62*5113495bSYour Name */ 63*5113495bSYour Name QDF_STATUS 64*5113495bSYour Name target_if_tdls_set_offchan_mode(struct wlan_objmgr_psoc *psoc, 65*5113495bSYour Name struct tdls_channel_switch_params *params); 66*5113495bSYour Name 67*5113495bSYour Name /** 68*5113495bSYour Name * target_if_tdls_register_event_handler() - lmac handler to register tdls event 69*5113495bSYour Name * handler 70*5113495bSYour Name * @psoc : psoc object 71*5113495bSYour Name * @arg: argument passed to lmac 72*5113495bSYour Name * 73*5113495bSYour Name * Return: QDF_STATUS 74*5113495bSYour Name */ 75*5113495bSYour Name QDF_STATUS 76*5113495bSYour Name target_if_tdls_register_event_handler(struct wlan_objmgr_psoc *psoc, 77*5113495bSYour Name void *arg); 78*5113495bSYour Name 79*5113495bSYour Name /** 80*5113495bSYour Name * target_if_tdls_unregister_event_handler() - lmac handler to unregister tdls 81*5113495bSYour Name * event handler 82*5113495bSYour Name * @psoc : psoc object 83*5113495bSYour Name * @arg: argument passed to lmac 84*5113495bSYour Name * 85*5113495bSYour Name * Return: QDF_STATUS 86*5113495bSYour Name */ 87*5113495bSYour Name QDF_STATUS 88*5113495bSYour Name target_if_tdls_unregister_event_handler(struct wlan_objmgr_psoc *psoc, 89*5113495bSYour Name void *arg); 90*5113495bSYour Name 91*5113495bSYour Name /** 92*5113495bSYour Name * target_if_tdls_register_tx_ops() - lmac handler to register tdls tx ops 93*5113495bSYour Name * callback functions 94*5113495bSYour Name * @tx_ops: wlan_lmac_if_tx_ops object 95*5113495bSYour Name * 96*5113495bSYour Name * Return: QDF_STATUS 97*5113495bSYour Name */ 98*5113495bSYour Name QDF_STATUS 99*5113495bSYour Name target_if_tdls_register_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops); 100*5113495bSYour Name #endif 101