mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
qcacld-3.0: Add P2P UDP/TCP checksum offload DP cfg entry
Recently P2P UDP/TCP checksum offload INI is added but corresponding DP cfg entry is missing. Add P2P UDP/TCP checksum offload DP cfg entry. Change-Id: If1c4a898f23541ca9d1c674b7650d1f9998e59c6 CRs-Fixed: 2779963
This commit is contained in:
parent
9d1bee29e9
commit
a8603fc937
3 changed files with 6 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ struct txrx_pdev_cfg_t {
|
|||
#endif
|
||||
struct wlan_ipa_uc_rsc_t ipa_uc_rsc;
|
||||
bool ip_tcp_udp_checksum_offload;
|
||||
bool p2p_ip_tcp_udp_checksum_offload;
|
||||
bool enable_rxthread;
|
||||
bool ce_classify_enabled;
|
||||
#if defined(QCA_LL_TX_FLOW_CONTROL_V2) || defined(QCA_LL_PDEV_TX_FLOW_CONTROL)
|
||||
|
|
|
|||
|
|
@ -200,6 +200,8 @@ struct cdp_cfg *ol_pdev_cfg_attach(qdf_device_t osdev, void *pcfg_param)
|
|||
cfg_ctx->enable_rxthread = cfg_param->enable_rxthread;
|
||||
cfg_ctx->ip_tcp_udp_checksum_offload =
|
||||
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->ce_classify_enabled = cfg_param->ce_classify_enabled;
|
||||
cfg_ctx->gro_enable = cfg_param->gro_enable;
|
||||
cfg_ctx->tso_enable = cfg_param->tso_enable;
|
||||
|
|
|
|||
|
|
@ -5865,6 +5865,9 @@ static uint32_t ol_txrx_get_cfg(struct cdp_soc_t *soc_hdl, enum cdp_dp_cfg cfg)
|
|||
case cfg_dp_enable_ip_tcp_udp_checksum_offload:
|
||||
value = cfg_ctx->ip_tcp_udp_checksum_offload;
|
||||
break;
|
||||
case cfg_dp_enable_p2p_ip_tcp_udp_checksum_offload:
|
||||
value = cfg_ctx->p2p_ip_tcp_udp_checksum_offload;
|
||||
break;
|
||||
case cfg_dp_tso_enable:
|
||||
value = cfg_ctx->tso_enable;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue