wmi.h (c82dc33f252fd8883be66f2d0230af0fd734c683) wmi.h (87bd401138161008fdb82fbca6e213af117bfeb9)
1/* SPDX-License-Identifier: BSD-3-Clause-Clear */
2/*
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 */
5
6#ifndef ATH11K_WMI_H
7#define ATH11K_WMI_H
8

--- 3552 unchanged lines hidden (view full) ---

3561struct wmi_get_pdev_temperature_cmd {
3562 u32 tlv_header;
3563 u32 param;
3564 u32 pdev_id;
3565} __packed;
3566
3567#define WMI_BEACON_TX_BUFFER_SIZE 512
3568
1/* SPDX-License-Identifier: BSD-3-Clause-Clear */
2/*
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 */
5
6#ifndef ATH11K_WMI_H
7#define ATH11K_WMI_H
8

--- 3552 unchanged lines hidden (view full) ---

3561struct wmi_get_pdev_temperature_cmd {
3562 u32 tlv_header;
3563 u32 param;
3564 u32 pdev_id;
3565} __packed;
3566
3567#define WMI_BEACON_TX_BUFFER_SIZE 512
3568
3569#define WMI_EMA_TMPL_IDX_SHIFT 8
3570#define WMI_EMA_FIRST_TMPL_SHIFT 16
3571#define WMI_EMA_LAST_TMPL_SHIFT 24
3572
3569struct wmi_bcn_tmpl_cmd {
3570 u32 tlv_header;
3571 u32 vdev_id;
3572 u32 tim_ie_offset;
3573 u32 buf_len;
3574 u32 csa_switch_count_offset;
3575 u32 ext_csa_switch_count_offset;
3576 u32 csa_event_bitmap;
3577 u32 mbssid_ie_offset;
3578 u32 esp_ie_offset;
3573struct wmi_bcn_tmpl_cmd {
3574 u32 tlv_header;
3575 u32 vdev_id;
3576 u32 tim_ie_offset;
3577 u32 buf_len;
3578 u32 csa_switch_count_offset;
3579 u32 ext_csa_switch_count_offset;
3580 u32 csa_event_bitmap;
3581 u32 mbssid_ie_offset;
3582 u32 esp_ie_offset;
3583 u32 csc_switch_count_offset;
3584 u32 csc_event_bitmap;
3585 u32 mu_edca_ie_offset;
3586 u32 feature_enable_bitmap;
3587 u32 ema_params;
3579} __packed;
3580
3581struct wmi_key_seq_counter {
3582 u32 key_seq_counter_l;
3583 u32 key_seq_counter_h;
3584} __packed;
3585
3586struct wmi_vdev_install_key_cmd {

--- 2706 unchanged lines hidden (view full) ---

6293
6294int ath11k_wmi_cmd_send(struct ath11k_pdev_wmi *wmi, struct sk_buff *skb,
6295 u32 cmd_id);
6296struct sk_buff *ath11k_wmi_alloc_skb(struct ath11k_wmi_base *wmi_sc, u32 len);
6297int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id,
6298 struct sk_buff *frame);
6299int ath11k_wmi_bcn_tmpl(struct ath11k *ar, u32 vdev_id,
6300 struct ieee80211_mutable_offsets *offs,
3588} __packed;
3589
3590struct wmi_key_seq_counter {
3591 u32 key_seq_counter_l;
3592 u32 key_seq_counter_h;
3593} __packed;
3594
3595struct wmi_vdev_install_key_cmd {

--- 2706 unchanged lines hidden (view full) ---

6302
6303int ath11k_wmi_cmd_send(struct ath11k_pdev_wmi *wmi, struct sk_buff *skb,
6304 u32 cmd_id);
6305struct sk_buff *ath11k_wmi_alloc_skb(struct ath11k_wmi_base *wmi_sc, u32 len);
6306int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id,
6307 struct sk_buff *frame);
6308int ath11k_wmi_bcn_tmpl(struct ath11k *ar, u32 vdev_id,
6309 struct ieee80211_mutable_offsets *offs,
6301 struct sk_buff *bcn);
6310 struct sk_buff *bcn, u32 ema_param);
6302int ath11k_wmi_vdev_down(struct ath11k *ar, u8 vdev_id);
6303int ath11k_wmi_vdev_up(struct ath11k *ar, u32 vdev_id, u32 aid,
6304 const u8 *bssid, u8 *tx_bssid, u32 nontx_profile_idx,
6305 u32 nontx_profile_cnt);
6306int ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id);
6307int ath11k_wmi_vdev_start(struct ath11k *ar, struct wmi_vdev_start_req_arg *arg,
6308 bool restart);
6309int ath11k_wmi_set_peer_param(struct ath11k *ar, const u8 *peer_addr,

--- 168 unchanged lines hidden ---
6311int ath11k_wmi_vdev_down(struct ath11k *ar, u8 vdev_id);
6312int ath11k_wmi_vdev_up(struct ath11k *ar, u32 vdev_id, u32 aid,
6313 const u8 *bssid, u8 *tx_bssid, u32 nontx_profile_idx,
6314 u32 nontx_profile_cnt);
6315int ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id);
6316int ath11k_wmi_vdev_start(struct ath11k *ar, struct wmi_vdev_start_req_arg *arg,
6317 bool restart);
6318int ath11k_wmi_set_peer_param(struct ath11k *ar, const u8 *peer_addr,

--- 168 unchanged lines hidden ---