瀏覽代碼

qcacmn: Send ip_hdr_padding configuration through WMI resource config

Send configuration option to configure enable/disable of ip_hdr_padding in
IPQ8074/IPQ6018.

Change-Id: I83bd882559c4fa7527f6ad4a462b00b04cb2a638
Radha krishna Simha Jiguru 5 年之前
父節點
當前提交
0ebbf5a1de
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      wmi/src/wmi_unified_tlv.c

+ 7 - 0
wmi/src/wmi_unified_tlv.c

@@ -6532,6 +6532,13 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
 		WMI_RSRC_CFG_FLAG_THREE_WAY_COEX_CONFIG_LEGACY_SUPPORT_SET(
 						resource_cfg->flag1, 1);
 
+	/*
+	 * Control padding using config param/ini of iphdr_pad_config
+	 */
+	if (tgt_res_cfg->iphdr_pad_config)
+		WMI_RSRC_CFG_FLAG_IPHR_PAD_CONFIG_ENABLE_SET(
+			resource_cfg->flag1, 1);
+
 	wmi_copy_twt_resource_config(resource_cfg, tgt_res_cfg);
 	resource_cfg->peer_map_unmap_v2_support =
 		tgt_res_cfg->peer_map_unmap_v2;