From 0ebbf5a1dec4e15d0632eabddd1c15e8d61f0cb7 Mon Sep 17 00:00:00 2001 From: Radha krishna Simha Jiguru Date: Tue, 13 Aug 2019 11:45:06 +0530 Subject: [PATCH] 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 --- wmi/src/wmi_unified_tlv.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 5e15a33ccfda..61519785e76e 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/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;