mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
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
This commit is contained in:
parent
093d940112
commit
4e5cfb2ac9
2 changed files with 3 additions and 0 deletions
|
|
@ -4977,6 +4977,7 @@ typedef enum {
|
|||
wmi_vdev_param_set_cmd_obss_pd_threshold,
|
||||
wmi_vdev_param_set_cmd_obss_pd_per_ac,
|
||||
wmi_vdev_param_enable_srp,
|
||||
wmi_vdev_param_nan_config_features,
|
||||
} wmi_conv_vdev_param_id;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -492,6 +492,8 @@ static const uint32_t vdev_param_tlv[] = {
|
|||
[wmi_vdev_param_set_cmd_obss_pd_per_ac] =
|
||||
WMI_VDEV_PARAM_SET_CMD_OBSS_PD_PER_AC,
|
||||
[wmi_vdev_param_enable_srp] = WMI_VDEV_PARAM_ENABLE_SRP,
|
||||
[wmi_vdev_param_nan_config_features] =
|
||||
WMI_VDEV_PARAM_ENABLE_DISABLE_NAN_CONFIG_FEATURES,
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue