hif_tx_mib.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Implementation of host-to-chip MIBs of WFxxx Split Mac (WSM) API.
  4. *
  5. * Copyright (c) 2017-2020, Silicon Laboratories, Inc.
  6. * Copyright (c) 2010, ST-Ericsson
  7. * Copyright (C) 2010, ST-Ericsson SA
  8. */
  9. #ifndef WFX_HIF_TX_MIB_H
  10. #define WFX_HIF_TX_MIB_H
  11. struct wfx_vif;
  12. struct sk_buff;
  13. int hif_set_output_power(struct wfx_vif *wvif, int val);
  14. int hif_set_beacon_wakeup_period(struct wfx_vif *wvif,
  15. unsigned int dtim_interval,
  16. unsigned int listen_interval);
  17. int hif_set_rcpi_rssi_threshold(struct wfx_vif *wvif,
  18. int rssi_thold, int rssi_hyst);
  19. int hif_get_counters_table(struct wfx_dev *wdev, int vif_id,
  20. struct hif_mib_extended_count_table *arg);
  21. int hif_set_macaddr(struct wfx_vif *wvif, u8 *mac);
  22. int hif_set_rx_filter(struct wfx_vif *wvif,
  23. bool filter_bssid, bool fwd_probe_req);
  24. int hif_set_beacon_filter_table(struct wfx_vif *wvif, int tbl_len,
  25. const struct hif_ie_table_entry *tbl);
  26. int hif_beacon_filter_control(struct wfx_vif *wvif,
  27. int enable, int beacon_count);
  28. int hif_set_operational_mode(struct wfx_dev *wdev, enum hif_op_power_mode mode);
  29. int hif_set_template_frame(struct wfx_vif *wvif, struct sk_buff *skb,
  30. u8 frame_type, int init_rate);
  31. int hif_set_mfp(struct wfx_vif *wvif, bool capable, bool required);
  32. int hif_set_block_ack_policy(struct wfx_vif *wvif,
  33. u8 tx_tid_policy, u8 rx_tid_policy);
  34. int hif_set_association_mode(struct wfx_vif *wvif, int ampdu_density,
  35. bool greenfield, bool short_preamble);
  36. int hif_set_tx_rate_retry_policy(struct wfx_vif *wvif,
  37. int policy_index, u8 *rates);
  38. int hif_keep_alive_period(struct wfx_vif *wvif, int period);
  39. int hif_set_arp_ipv4_filter(struct wfx_vif *wvif, int idx, __be32 *addr);
  40. int hif_use_multi_tx_conf(struct wfx_dev *wdev, bool enable);
  41. int hif_set_uapsd_info(struct wfx_vif *wvif, unsigned long val);
  42. int hif_erp_use_protection(struct wfx_vif *wvif, bool enable);
  43. int hif_slot_time(struct wfx_vif *wvif, int val);
  44. int hif_wep_default_key_id(struct wfx_vif *wvif, int val);
  45. int hif_rts_threshold(struct wfx_vif *wvif, int val);
  46. #endif