48 lines
1.7 KiB
C
48 lines
1.7 KiB
C
|
/*
|
||
|
* Copyright (c) 2011 Atheros Communications Inc.
|
||
|
* Copyright (c) 2011-2012 Qualcomm Atheros, Inc.
|
||
|
*
|
||
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||
|
* purpose with or without fee is hereby granted, provided that the above
|
||
|
* copyright notice and this permission notice appear in all copies.
|
||
|
*
|
||
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||
|
*/
|
||
|
|
||
|
#ifndef WMICONFIG_H
|
||
|
#define WMICONFIG_H
|
||
|
|
||
|
struct sk_buff *ath6kl_wmi_get_buf(u32 size);
|
||
|
void ath6kl_tm_rx_wmi_event(struct ath6kl *ar, void *buf, size_t buf_len);
|
||
|
void ath6kl_wmicfg_send_stats(struct ath6kl_vif *vif,
|
||
|
struct target_stats *stats);
|
||
|
|
||
|
struct ath6kl_coex_dev_ctx {
|
||
|
u32 ap_oper_chan_mask;
|
||
|
};
|
||
|
|
||
|
struct ath6kl_lte_coex_priv {
|
||
|
u8 wwan_state;
|
||
|
uint16_t acs_chan_mask;
|
||
|
uint8_t wwan_band;
|
||
|
uint32_t wwan_freq;
|
||
|
uint8_t wwan_bw;
|
||
|
uint8_t wwan_operational;
|
||
|
struct ath6kl *ar;
|
||
|
struct ath6kl_coex_dev_ctx dev_ctx[NUM_DEV];
|
||
|
};
|
||
|
|
||
|
void ath6kl_lte_coex_update_wlan_data(struct ath6kl_vif *vif, uint32_t chan);
|
||
|
void ath6kl_lte_coex_update_wwan_data(struct ath6kl *ar, void *wmi_buf);
|
||
|
int ath6kl_lte_coex_init(struct ath6kl *ar);
|
||
|
void ath6kl_lte_coex_deinit(struct ath6kl *ar);
|
||
|
bool ath6kl_check_lte_coex_acs(struct ath6kl *ar, uint16_t *ap_acs_ch,
|
||
|
struct ath6kl_vif *vif);
|
||
|
#endif
|