Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ca0ca4a authored by Srinivas Dasari's avatar Srinivas Dasari Committed by snandini
Browse files

qcacmn: Add vdev param to configure NAN feature bitmap to firmware

Define a new vdev param to set corresponding bit to enable/disable
a particular NAN feature.
Currently, Framework configures NAN DW as 4 seconds when the
device is in sync role and the screen is off. But customers might
want this to be 512ms always irrespective of screen off/on.
Send the vdev param on NAN vdev by setting the "bit 0" to 0 to
indicate firmware to ignore framework configured DW value and
consider the firmware default value.

Change-Id: Idcbdae94bd6a96fbbe15ec103a0aa558cdfcd572
CRs-Fixed: 2721980
parent 755a434a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4907,6 +4907,7 @@ typedef enum {
	wmi_vdev_param_enable_mcast_rc,
	wmi_vdev_param_6ghz_params,
	wmi_vdev_param_enable_disable_roam_reason_vsie,
	wmi_vdev_param_nan_config_features,
} wmi_conv_vdev_param_id;

/**
+2 −0
Original line number Diff line number Diff line
@@ -485,6 +485,8 @@ static const uint32_t vdev_param_tlv[] = {
	[wmi_vdev_param_6ghz_params] = WMI_VDEV_PARAM_6GHZ_PARAMS,
	[wmi_vdev_param_enable_disable_roam_reason_vsie] =
				WMI_VDEV_PARAM_ENABLE_DISABLE_ROAM_REASON_VSIE,
	[wmi_vdev_param_nan_config_features] =
			WMI_VDEV_PARAM_ENABLE_DISABLE_NAN_CONFIG_FEATURES,
};
#endif