Jelajahi Sumber

qcacmn: Add change to send listen interval value to FW

Add code to support host sending listen interval value to FW

Change-Id: Ibd0134f5045ab289065214e6485f2dd261abf4a3
CRs-Fixed: 2419185
Akshay Kosigi 6 tahun lalu
induk
melakukan
ce1e21c209

+ 3 - 0
target_if/mlme/vdev_mgr/src/target_if_vdev_mgr_tx_ops.c

@@ -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;
 		break;

+ 1 - 0
umac/mlme/vdev_mgr/dispatcher/src/wlan_vdev_mgr_utils_api.c

@@ -237,6 +237,7 @@ wlan_util_vdev_mlme_set_param(struct vdev_mlme_obj *vdev_mlme,
 		break;
 	case WLAN_MLME_CFG_LISTEN_INTERVAL:
 		mlme_mgmt->powersave_info.listen_interval = mlme_cfg.value;
+		is_wmi_cmd = 1;
 		break;
 	case WLAN_MLME_CFG_MODDTIM_CNT:
 		mlme_mgmt->powersave_info.moddtim_cnt = mlme_cfg.value;