1 /* 2 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for 5 * any purpose with or without fee is hereby granted, provided that the 6 * above copyright notice and this permission notice appear in all 7 * copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 10 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 11 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 12 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 13 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 14 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 15 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16 * PERFORMANCE OF THIS SOFTWARE. 17 */ 18 19 /** 20 * DOC: Defines main MCC Quota core functions 21 */ 22 23 #ifndef _WLAN_P2P_MCC_QUOTA_H_ 24 #define _WLAN_P2P_MCC_QUOTA_H_ 25 26 struct wlan_objmgr_psoc; 27 struct mcc_quota_info; 28 /** 29 * p2p_mcc_quota_event_process() - Process mcc quota event 30 * @psoc: psoc object 31 * @event_info: mcc quota info 32 * 33 * This function handles the target mcc quota event to indicate 34 * the quota information to existing vdev's interface. 35 * 36 * Return: QDF_STATUS_SUCCESS - in case of success 37 */ 38 QDF_STATUS p2p_mcc_quota_event_process(struct wlan_objmgr_psoc *psoc, 39 struct mcc_quota_info *event_info); 40 #endif 41