mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
qcacld-3.0: Add NAN UDP/TCP checksum offload DP cfg entry
Recently NAN UDP/TCP checksum offload INI is added but corresponding DP cfg entry is missing. Add NAN UDP/TCP checksum offload DP cfg entry. Change-Id: I9c6549cbe4cb9e67a538c0743d99404b515e2006 CRs-Fixed: 2815904
This commit is contained in:
parent
e0db8fa809
commit
1e33e28fec
3 changed files with 7 additions and 0 deletions
|
|
@ -91,6 +91,8 @@ struct txrx_pdev_cfg_t {
|
|||
struct wlan_ipa_uc_rsc_t ipa_uc_rsc;
|
||||
bool ip_tcp_udp_checksum_offload;
|
||||
bool p2p_ip_tcp_udp_checksum_offload;
|
||||
/* IP, TCP and UDP checksum offload for NAN Mode*/
|
||||
bool nan_tcp_udp_checksumoffload;
|
||||
bool enable_rxthread;
|
||||
bool ce_classify_enabled;
|
||||
#if defined(QCA_LL_TX_FLOW_CONTROL_V2) || defined(QCA_LL_PDEV_TX_FLOW_CONTROL)
|
||||
|
|
|
|||
|
|
@ -202,6 +202,8 @@ struct cdp_cfg *ol_pdev_cfg_attach(qdf_device_t osdev, void *pcfg_param)
|
|||
cfg_param->ip_tcp_udp_checksum_offload;
|
||||
cfg_ctx->p2p_ip_tcp_udp_checksum_offload =
|
||||
cfg_param->p2p_ip_tcp_udp_checksum_offload;
|
||||
cfg_ctx->nan_tcp_udp_checksumoffload =
|
||||
cfg_param->nan_ip_tcp_udp_checksum_offload;
|
||||
cfg_ctx->ce_classify_enabled = cfg_param->ce_classify_enabled;
|
||||
cfg_ctx->gro_enable = cfg_param->gro_enable;
|
||||
cfg_ctx->tso_enable = cfg_param->tso_enable;
|
||||
|
|
|
|||
|
|
@ -5869,6 +5869,9 @@ static uint32_t ol_txrx_get_cfg(struct cdp_soc_t *soc_hdl, enum cdp_dp_cfg cfg)
|
|||
case cfg_dp_enable_p2p_ip_tcp_udp_checksum_offload:
|
||||
value = cfg_ctx->p2p_ip_tcp_udp_checksum_offload;
|
||||
break;
|
||||
case cfg_dp_enable_nan_ip_tcp_udp_checksum_offload:
|
||||
value = cfg_ctx->nan_tcp_udp_checksumoffload;
|
||||
break;
|
||||
case cfg_dp_tso_enable:
|
||||
value = cfg_ctx->tso_enable;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue