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

Commit 293eb6e4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ath10k: add support for wowlan offload for wcn3990 WLAN module"

parents 440b9758 03f2f95c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1304,6 +1304,9 @@ static int ath10k_core_fetch_firmware_files(struct ath10k *ar)
		fw_file = &ar->normal_mode_fw.fw_file;
		fw_file->wmi_op_version = ATH10K_FW_WMI_OP_VERSION_TLV;
		fw_file->htt_op_version = ATH10K_FW_HTT_OP_VERSION_TLV;
		__set_bit(ATH10K_FW_FEATURE_WOWLAN_SUPPORT,
			  fw_file->fw_features);
		__set_bit(WMI_SERVICE_WOW, ar->wmi.svc_map);
		return 0;
	}

+3 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
#include <linux/pci.h>
#include <linux/uuid.h>
#include <linux/time.h>
#include <linux/inetdevice.h>
#include <soc/qcom/socinfo.h>

#include "htt.h"
@@ -430,6 +431,8 @@ struct ath10k_vif {
	struct work_struct ap_csa_work;
	struct delayed_work connection_loss_work;
	struct cfg80211_bitrate_mask bitrate_mask;
	struct wmi_ns_arp_offload_req arp_offload;
	struct wmi_ns_arp_offload_req ns_offload;
};

struct ath10k_vif_iter {
+1 −0
Original line number Diff line number Diff line
@@ -509,6 +509,7 @@ const struct ath10k_hw_values wcn3990_values = {
	.num_target_ce_config_wlan	= 12,
	.ce_desc_meta_data_mask		= 0xFFF0,
	.ce_desc_meta_data_lsb		= 4,
	.default_listen_interval	= 1,
};

struct fw_flag wcn3990_fw_flags = {
+1 −0
Original line number Diff line number Diff line
@@ -369,6 +369,7 @@ struct ath10k_hw_values {
	u8 num_target_ce_config_wlan;
	u16 ce_desc_meta_data_mask;
	u8 ce_desc_meta_data_lsb;
	u8 default_listen_interval;
};

extern const struct ath10k_hw_values qca988x_values;
+5 −0
Original line number Diff line number Diff line
@@ -1387,6 +1387,10 @@ static int ath10k_vdev_start_restart(struct ath10k_vif *arvif,

	lockdep_assert_held(&ar->conf_mutex);

	/* Clear arp and ns offload cache */
	memset(&arvif->arp_offload, 0, sizeof(arvif->arp_offload));
	memset(&arvif->ns_offload, 0, sizeof(arvif->ns_offload));

	reinit_completion(&ar->vdev_setup_done);
	reinit_completion(&ar->vdev_delete_done);

@@ -7578,6 +7582,7 @@ static const struct ieee80211_ops ath10k_ops = {
#ifdef CONFIG_PM
	.suspend			= ath10k_wow_op_suspend,
	.resume				= ath10k_wow_op_resume,
	.set_wakeup			= ath10k_wow_op_set_wakeup,
#endif
#ifdef CONFIG_MAC80211_DEBUGFS
	.sta_add_debugfs		= ath10k_sta_add_debugfs,
Loading