Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b5ee8dd authored by Shaul Triebitz's avatar Shaul Triebitz Committed by Luca Coelho
Browse files

iwlwifi: mvm: set MAC_FILTER_IN_11AX in AP mode



In AP mode, if AP supports 11ax, add the MAC_FILTER_IN_11AX
flag in MAC_CTXT command (needed for various 11ax stuff).

Signed-off-by: default avatarShaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent a024016f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1194,6 +1194,9 @@ 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);