Commit cc7ee2ba authored by Dor Shaish's avatar Dor Shaish Committed by Johannes Berg

iwlwifi: mvm: don't use cts to self

The current fw doesn't currently support cts to self. There
is a bug in the fw that prevents us from using cts to self.
Use full protection (including RTS) for now.
Signed-off-by: default avatarDor Shaish <dor.shaish@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 80d85655
...@@ -553,9 +553,9 @@ static void iwl_mvm_mac_ctxt_cmd_common(struct iwl_mvm *mvm, ...@@ -553,9 +553,9 @@ static void iwl_mvm_mac_ctxt_cmd_common(struct iwl_mvm *mvm,
if (vif->bss_conf.qos) if (vif->bss_conf.qos)
cmd->qos_flags |= cpu_to_le32(MAC_QOS_FLG_UPDATE_EDCA); cmd->qos_flags |= cpu_to_le32(MAC_QOS_FLG_UPDATE_EDCA);
/* Don't use cts to self as the fw doesn't support it currently. */
if (vif->bss_conf.use_cts_prot) if (vif->bss_conf.use_cts_prot)
cmd->protection_flags |= cpu_to_le32(MAC_PROT_FLG_TGG_PROTECT | cmd->protection_flags |= cpu_to_le32(MAC_PROT_FLG_TGG_PROTECT);
MAC_PROT_FLG_SELF_CTS_EN);
/* /*
* I think that we should enable these 2 flags regardless the HT PROT * I think that we should enable these 2 flags regardless the HT PROT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment