Add code to support host sending listen interval value to FW Change-Id: Ibd0134f5045ab289065214e6485f2dd261abf4a3 CRs-Fixed: 2419185
@@ -246,6 +246,9 @@ target_if_vdev_mlme_id_2_wmi(uint32_t cfg_id)
case WLAN_MLME_CFG_BCN_TX_RATE:
wmi_id = wmi_vdev_param_beacon_rate;
break;
+ case WLAN_MLME_CFG_LISTEN_INTERVAL:
+ wmi_id = wmi_vdev_param_listen_interval;
+ break;
default:
wmi_id = cfg_id;
@@ -237,6 +237,7 @@ wlan_util_vdev_mlme_set_param(struct vdev_mlme_obj *vdev_mlme,
case WLAN_MLME_CFG_LISTEN_INTERVAL:
mlme_mgmt->powersave_info.listen_interval = mlme_cfg.value;
+ is_wmi_cmd = 1;
case WLAN_MLME_CFG_MODDTIM_CNT:
mlme_mgmt->powersave_info.moddtim_cnt = mlme_cfg.value;