blob: c2e5ae37ebe7b2a2ceb901a1595a6b658b75bdf5 [file] [log] [blame]
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08001/*
2 * Copyright (c) 2015 The Linux Foundation. All rights reserved.
3 *
4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5 *
6 *
7 * Permission to use, copy, modify, and/or distribute this software for
8 * any purpose with or without fee is hereby granted, provided that the
9 * above copyright notice and this permission notice appear in all
10 * copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 * PERFORMANCE OF THIS SOFTWARE.
20 */
21
22/*
23 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
26 */
27
28#ifndef __WMA_OCB_H
29#define __WMA_OCB_H
30
31#include "wma.h"
32#include "sir_api.h"
33
34int wma_ocb_set_config_resp(tp_wma_handle wma_handle, uint8_t status);
35
36int wma_ocb_set_config_req(tp_wma_handle handle,
37 struct sir_ocb_config *config_req);
38
39int wma_ocb_set_config_event_handler(void *handle, uint8_t *event_buf,
40 uint32_t len);
41
42int wma_ocb_start_resp_ind_cont(tp_wma_handle wma_handle);
43
44int wma_ocb_set_config(tp_wma_handle wma_handle, struct sir_ocb_config *config);
45
46int wma_ocb_set_utc_time(tp_wma_handle wma_handle, struct sir_ocb_utc *utc);
47
48int wma_ocb_start_timing_advert(tp_wma_handle wma_handle,
49 struct sir_ocb_timing_advert *timing_advert);
50
51int wma_ocb_stop_timing_advert(tp_wma_handle wma_handle,
52 struct sir_ocb_timing_advert *timing_advert);
53
54int wma_ocb_get_tsf_timer(tp_wma_handle wma_handle,
55 struct sir_ocb_get_tsf_timer *request);
56
57int wma_dcc_get_stats(tp_wma_handle wma_handle,
58 struct sir_dcc_get_stats *get_stats_param);
59
60int wma_dcc_clear_stats(tp_wma_handle wma_handle,
61 struct sir_dcc_clear_stats *clear_stats_param);
62
63int wma_dcc_update_ndl(tp_wma_handle wma_handle,
64 struct sir_dcc_update_ndl *update_ndl_param);
65
66int wma_ocb_register_event_handlers(tp_wma_handle wma_handle);
67
68#endif /* __WMA_OCB_H */