浏览代码

qcacmn: Add mgmt tx rate code to send to FW

Add a new mgmt tx rate code id to send mgmt rate code to fw

Change-Id: If294982bae5c273c085d1b9bf46f3ad53db60b93
CRs-Fixed: 2428713
Akshay Kosigi 6 年之前
父节点
当前提交
3d91d4d32c

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

@@ -302,6 +302,9 @@ target_if_vdev_mlme_id_2_wmi(uint32_t cfg_id)
 	case WLAN_MLME_CFG_BCN_TX_RATE_CODE:
 		wmi_id = wmi_vdev_param_beacon_rate;
 		break;
+	case WLAN_MLME_CFG_TX_MGMT_RATE_CODE:
+		wmi_id = wmi_vdev_param_mgmt_rate;
+		break;
 	case WLAN_MLME_CFG_LISTEN_INTERVAL:
 		wmi_id = wmi_vdev_param_listen_interval;
 		break;

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

@@ -72,6 +72,7 @@ enum wlan_mlme_cfg_id {
 	WLAN_MLME_CFG_PER_BAND_TX_MGMT_RATE,
 	WLAN_MLME_CFG_MAX_RATE,
 	WLAN_MLME_CFG_TX_MGMT_RATE,
+	WLAN_MLME_CFG_TX_MGMT_RATE_CODE,
 	WLAN_MLME_CFG_TX_CHAINMASK,
 	WLAN_MLME_CFG_RX_CHAINMASK,
 	WLAN_MLME_CFG_PKT_POWERSAVE,

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

@@ -322,6 +322,9 @@ wlan_util_vdev_mlme_set_param(struct vdev_mlme_obj *vdev_mlme,
 	case WLAN_MLME_CFG_BCN_TX_RATE_CODE:
 		is_wmi_cmd = 1;
 		break;
+	case WLAN_MLME_CFG_TX_MGMT_RATE_CODE:
+		is_wmi_cmd = 1;
+		break;
 	default:
 		break;
 	}