]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iwlwifi: mvm: remove MAC_FILTER_IN_11AX for AP mode
authorLuca Coelho <luciano.coelho@intel.com>
Fri, 17 May 2019 04:18:04 +0000 (07:18 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 29 Jun 2019 07:09:44 +0000 (10:09 +0300)
The FW API was clarified saying that this flag should only be set in
BSS client mode.  Remove it from the MAC_CTXT command we send in AP
and GO modes.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Fixes: 3b5ee8dd8bb1 ("iwlwifi: mvm: set MAC_FILTER_IN_11AX in AP mode")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c

index cea1948ac7a4fb4786a2af844753418072559d83..cb22d447fcb8a9d68aa566a1933202dddc1bca9d 100644 (file)
@@ -1082,9 +1082,6 @@ static void iwl_mvm_mac_ctxt_cmd_fill_ap(struct iwl_mvm *mvm,
                IWL_DEBUG_HC(mvm, "No need to receive beacons\n");
        }
 
-       if (vif->bss_conf.he_support && !iwlwifi_mod_params.disable_11ax)
-               cmd->filter_flags |= cpu_to_le32(MAC_FILTER_IN_11AX);
-
        ctxt_ap->bi = cpu_to_le32(vif->bss_conf.beacon_int);
        ctxt_ap->dtim_interval = cpu_to_le32(vif->bss_conf.beacon_int *
                                             vif->bss_conf.dtim_period);