0001
0002
0003
0004
0005
0006
0007
0008 #ifndef _MWIFIEX_11AC_H_
0009 #define _MWIFIEX_11AC_H_
0010
0011 #define VHT_CFG_2GHZ BIT(0)
0012 #define VHT_CFG_5GHZ BIT(1)
0013
0014 enum vht_cfg_misc_config {
0015 VHT_CAP_TX_OPERATION = 1,
0016 VHT_CAP_ASSOCIATION,
0017 VHT_CAP_UAP_ONLY
0018 };
0019
0020 #define DEFAULT_VHT_MCS_SET 0xfffa
0021 #define DISABLE_VHT_MCS_SET 0xffff
0022
0023 #define VHT_BW_80_160_80P80 BIT(2)
0024
0025 int mwifiex_cmd_append_11ac_tlv(struct mwifiex_private *priv,
0026 struct mwifiex_bssdescriptor *bss_desc,
0027 u8 **buffer);
0028 int mwifiex_cmd_11ac_cfg(struct mwifiex_private *priv,
0029 struct host_cmd_ds_command *cmd, u16 cmd_action,
0030 struct mwifiex_11ac_vht_cfg *cfg);
0031 void mwifiex_fill_vht_cap_tlv(struct mwifiex_private *priv,
0032 struct ieee80211_vht_cap *vht_cap, u8 bands);
0033 #endif