iwlwifi: mvm: notify FW on quiet mode in CSA
authorSara Sharon <sara.sharon@intel.com>
Mon, 31 Dec 2018 10:06:11 +0000 (12:06 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 22 Mar 2019 10:59:40 +0000 (12:59 +0200)
Let FW know if quiet mode is on or not. This is needed
in order to disable it in FW when CSA is complete.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c

index d5f6276215931baf66c789b6522d7f36aab19aee..5d56c6008787983ff9db44c1d5424dcc45d4c36a 100644 (file)
@@ -4469,6 +4469,7 @@ static int iwl_mvm_schedule_client_csa(struct iwl_mvm *mvm,
                .action = cpu_to_le32(FW_CTXT_ACTION_ADD),
                .tsf = cpu_to_le32(chsw->timestamp),
                .cs_count = chsw->count,
+               .cs_mode = chsw->block_tx,
        };
 
        lockdep_assert_held(&mvm->mutex);
@@ -4643,6 +4644,7 @@ static void iwl_mvm_channel_switch_rx_beacon(struct ieee80211_hw *hw,
                .action = cpu_to_le32(FW_CTXT_ACTION_MODIFY),
                .tsf = cpu_to_le32(chsw->timestamp),
                .cs_count = chsw->count,
+               .cs_mode = chsw->block_tx,
        };
 
        if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_CS_MODIFY))