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
此提交包含在:
Mohit Khanna
2020-05-21 16:54:56 -07:00
提交者 nshrivas
父節點 d0b3820279
當前提交 97200aab9c
共有 9 個檔案被更改,包括 86 行新增4 行删除

查看文件

@@ -285,6 +285,8 @@ struct txrx_pdev_cfg_param_t {
uint32_t uc_tx_partition_base;
/* IP, TCP and UDP checksum offload */
bool ip_tcp_udp_checksum_offload;
/* IP, TCP and UDP checksum offload for NAN Mode*/
bool nan_ip_tcp_udp_checksum_offload;
/* Rx processing in thread from TXRX */
bool enable_rxthread;
/* CE classification enabled through INI */