Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Implementation of the host-to-chip MIBs of the hardware API.
0004  *
0005  * Copyright (c) 2017-2020, Silicon Laboratories, Inc.
0006  * Copyright (c) 2010, ST-Ericsson
0007  * Copyright (C) 2010, ST-Ericsson SA
0008  */
0009 #ifndef WFX_HIF_TX_MIB_H
0010 #define WFX_HIF_TX_MIB_H
0011 
0012 #include <linux/types.h>
0013 
0014 struct sk_buff;
0015 struct wfx_vif;
0016 struct wfx_dev;
0017 struct wfx_hif_ie_table_entry;
0018 struct wfx_hif_mib_extended_count_table;
0019 
0020 int wfx_hif_set_output_power(struct wfx_vif *wvif, int val);
0021 int wfx_hif_set_beacon_wakeup_period(struct wfx_vif *wvif,
0022                      unsigned int dtim_interval, unsigned int listen_interval);
0023 int wfx_hif_set_rcpi_rssi_threshold(struct wfx_vif *wvif, int rssi_thold, int rssi_hyst);
0024 int wfx_hif_get_counters_table(struct wfx_dev *wdev, int vif_id,
0025                    struct wfx_hif_mib_extended_count_table *arg);
0026 int wfx_hif_set_macaddr(struct wfx_vif *wvif, u8 *mac);
0027 int wfx_hif_set_rx_filter(struct wfx_vif *wvif, bool filter_bssid, bool fwd_probe_req);
0028 int wfx_hif_set_beacon_filter_table(struct wfx_vif *wvif, int tbl_len,
0029                     const struct wfx_hif_ie_table_entry *tbl);
0030 int wfx_hif_beacon_filter_control(struct wfx_vif *wvif, int enable, int beacon_count);
0031 int wfx_hif_set_operational_mode(struct wfx_dev *wdev, enum wfx_hif_op_power_mode mode);
0032 int wfx_hif_set_template_frame(struct wfx_vif *wvif, struct sk_buff *skb,
0033                    u8 frame_type, int init_rate);
0034 int wfx_hif_set_mfp(struct wfx_vif *wvif, bool capable, bool required);
0035 int wfx_hif_set_block_ack_policy(struct wfx_vif *wvif, u8 tx_tid_policy, u8 rx_tid_policy);
0036 int wfx_hif_set_association_mode(struct wfx_vif *wvif, int ampdu_density,
0037                  bool greenfield, bool short_preamble);
0038 int wfx_hif_set_tx_rate_retry_policy(struct wfx_vif *wvif, int policy_index, u8 *rates);
0039 int wfx_hif_keep_alive_period(struct wfx_vif *wvif, int period);
0040 int wfx_hif_set_arp_ipv4_filter(struct wfx_vif *wvif, int idx, __be32 *addr);
0041 int wfx_hif_use_multi_tx_conf(struct wfx_dev *wdev, bool enable);
0042 int wfx_hif_set_uapsd_info(struct wfx_vif *wvif, unsigned long val);
0043 int wfx_hif_erp_use_protection(struct wfx_vif *wvif, bool enable);
0044 int wfx_hif_slot_time(struct wfx_vif *wvif, int val);
0045 int wfx_hif_wep_default_key_id(struct wfx_vif *wvif, int val);
0046 int wfx_hif_rts_threshold(struct wfx_vif *wvif, int val);
0047 
0048 #endif