Prechádzať zdrojové kódy

qcacmn: Add beacon tx rate code to send to FW

Add a new beacon tx rate code id to send rate code to fw instead of
sending beacon tx rate

Change-Id: I8cfe6024b9adf4b25c8686e837c94b86dddceab5
CRs-Fixed: 2428706
Akshay Kosigi 6 rokov pred
rodič
commit
8ca3339524

+ 1 - 1
target_if/mlme/vdev_mgr/src/target_if_vdev_mgr_tx_ops.c

@@ -299,7 +299,7 @@ target_if_vdev_mlme_id_2_wmi(uint32_t cfg_id)
 	case WLAN_MLME_CFG_UAPSD:
 		wmi_id = WMI_HOST_STA_PS_PARAM_UAPSD;
 		break;
-	case WLAN_MLME_CFG_BCN_TX_RATE:
+	case WLAN_MLME_CFG_BCN_TX_RATE_CODE:
 		wmi_id = wmi_vdev_param_beacon_rate;
 		break;
 	case WLAN_MLME_CFG_LISTEN_INTERVAL:

+ 1 - 0
umac/mlme/vdev_mgr/dispatcher/inc/wlan_vdev_mgr_ucfg_api.h

@@ -96,6 +96,7 @@ enum wlan_mlme_cfg_id {
 	WLAN_MLME_CFG_RATEMASK_HIGHER32,
 	WLAN_MLME_CFG_RATEMASK_LOWER32_2,
 	WLAN_MLME_CFG_BCN_TX_RATE,
+	WLAN_MLME_CFG_BCN_TX_RATE_CODE,
 	WLAN_MLME_CFG_2G_VHT,
 	WLAN_MLME_CFG_11AX_STUB,
 	WLAN_MLME_CFG_MAX

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

@@ -318,6 +318,8 @@ wlan_util_vdev_mlme_set_param(struct vdev_mlme_obj *vdev_mlme,
 		break;
 	case WLAN_MLME_CFG_BCN_TX_RATE:
 		mlme_mgmt->rate_info.bcn_tx_rate = mlme_cfg.value;
+		break;
+	case WLAN_MLME_CFG_BCN_TX_RATE_CODE:
 		is_wmi_cmd = 1;
 		break;
 	default: