qcacmn: Hook checksum offload INI key to DP TX path
Enable or disable TCP\UCP checksum offload for TX according to the flag in wlan cfg module, which is determined by INI (MCL) or initialization setting(WIN). CRs-Fixed: 2155236 Change-Id: I0e30fc062a000c2d9c47674fe80da59a2ac0de51
这个提交包含在:
@@ -348,6 +348,8 @@ struct wlan_cfg_dp_soc_ctxt *wlan_cfg_soc_attach()
|
||||
wlan_cfg_set_hw_macid(wlan_cfg_ctx, 2, 2);
|
||||
|
||||
wlan_cfg_ctx->base_hw_macid = 1;
|
||||
/*Enable checksum offload by default*/
|
||||
wlan_cfg_ctx->tcp_udp_checksumoffload = 1;
|
||||
|
||||
return wlan_cfg_ctx;
|
||||
}
|
||||
@@ -690,6 +692,11 @@ int wlan_cfg_get_int_timer_threshold_other(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return cfg->int_timer_threshold_other;
|
||||
}
|
||||
|
||||
int wlan_cfg_get_checksum_offload(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return cfg->tcp_udp_checksumoffload;
|
||||
}
|
||||
#ifdef QCA_LL_TX_FLOW_CONTROL_V2
|
||||
/**
|
||||
* wlan_cfg_get_tx_flow_stop_queue_th() - Get flow control stop threshold
|
||||
|
在新工单中引用
屏蔽一个用户