qcacmn: Add NAN TX checksum offload INI entry
Currently there is a single INI item tcp_udp_checksumoffload to enable or disable this feature for all the adapters. In some cases, we want to be able to enable this feature selectively for NAN mode. Add nan_tcp_udp_checksumoffload ini item to enable or disable checksum offload feature specifically for NAN mode. If nan_tcp_udp_checksumoffload is 'true' and tcp_udp_checksumoffload is false, hardware checksum offload will be enabled only for the NAN adapter and not for other adapters. CRs-Fixed: 2693638 Change-Id: I6e255ce68ddc7b01ebdefe4e5e8d2c985388fefe
This commit is contained in:

committad av
nshrivas

förälder
d0b3820279
incheckning
97200aab9c
@@ -4946,6 +4946,8 @@ void dp_print_soc_cfg_params(struct dp_soc *soc)
|
||||
soc_cfg_ctx->peer_flow_ctrl_enabled);
|
||||
DP_PRINT_STATS("napi enabled: %u ",
|
||||
soc_cfg_ctx->napi_enabled);
|
||||
DP_PRINT_STATS("NAN Tcp Udp checksum offload: %u ",
|
||||
soc_cfg_ctx->nan_tcp_udp_checksumoffload);
|
||||
DP_PRINT_STATS("Tcp Udp checksum offload: %u ",
|
||||
soc_cfg_ctx->tcp_udp_checksumoffload);
|
||||
DP_PRINT_STATS("Defrag timeout check: %u ",
|
||||
|
Referens i nytt ärende
Block a user