11ac.h 855 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * NXP Wireless LAN device driver: 802.11ac
  4. *
  5. * Copyright 2011-2020 NXP
  6. */
  7. #ifndef _MWIFIEX_11AC_H_
  8. #define _MWIFIEX_11AC_H_
  9. #define VHT_CFG_2GHZ BIT(0)
  10. #define VHT_CFG_5GHZ BIT(1)
  11. enum vht_cfg_misc_config {
  12. VHT_CAP_TX_OPERATION = 1,
  13. VHT_CAP_ASSOCIATION,
  14. VHT_CAP_UAP_ONLY
  15. };
  16. #define DEFAULT_VHT_MCS_SET 0xfffa
  17. #define DISABLE_VHT_MCS_SET 0xffff
  18. #define VHT_BW_80_160_80P80 BIT(2)
  19. int mwifiex_cmd_append_11ac_tlv(struct mwifiex_private *priv,
  20. struct mwifiex_bssdescriptor *bss_desc,
  21. u8 **buffer);
  22. int mwifiex_cmd_11ac_cfg(struct mwifiex_private *priv,
  23. struct host_cmd_ds_command *cmd, u16 cmd_action,
  24. struct mwifiex_11ac_vht_cfg *cfg);
  25. void mwifiex_fill_vht_cap_tlv(struct mwifiex_private *priv,
  26. struct ieee80211_vht_cap *vht_cap, u8 bands);
  27. #endif /* _MWIFIEX_11AC_H_ */