瀏覽代碼

qcacmn: Add src, and dst id support in DFS

In the scheduler_post_message, src_id is now added to
know the source module of the msg. The present scheduler
doesn't know about the same which is scheduler_post_msg.

Replace the scheduler_post_msg with scheduler_post_message.

Change-Id: I954a56eb960e8caab25f0734da2f8badf77cad3a
CRs-Fixed: 2306020
gaurank kathpalia 6 年之前
父節點
當前提交
f6e13db4b6
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      umac/dfs/dispatcher/src/wlan_dfs_mlme_api.c

+ 6 - 2
umac/dfs/dispatcher/src/wlan_dfs_mlme_api.c

@@ -62,7 +62,9 @@ static void dfs_send_radar_ind(struct wlan_objmgr_pdev *pdev,
 	sme_msg.type = eWNI_SME_DFS_RADAR_FOUND;
 	sme_msg.bodyptr = NULL;
 	sme_msg.bodyval = vdev_id;
-	scheduler_post_msg(QDF_MODULE_ID_SME, &sme_msg);
+	scheduler_post_message(QDF_MODULE_ID_DFS,
+			       QDF_MODULE_ID_SME,
+			       QDF_MODULE_ID_SME, &sme_msg);
 	dfs_info(NULL, WLAN_DEBUG_DFS_ALWAYS, "eWNI_SME_DFS_RADAR_FOUND pdev%d posted",
 		    vdev_id);
 }
@@ -125,7 +127,9 @@ void dfs_mlme_proc_cac(struct wlan_objmgr_pdev *pdev, uint32_t vdev_id)
 	sme_msg.type = eWNI_SME_DFS_CAC_COMPLETE;
 	sme_msg.bodyptr = NULL;
 	sme_msg.bodyval = vdev_id;
-	scheduler_post_msg(QDF_MODULE_ID_SME, &sme_msg);
+	scheduler_post_message(QDF_MODULE_ID_DFS,
+			       QDF_MODULE_ID_SME,
+			       QDF_MODULE_ID_SME, &sme_msg);
 	dfs_info(NULL, WLAN_DEBUG_DFS_ALWAYS, "eWNI_SME_DFS_CAC_COMPLETE vdev%d posted",
 		    vdev_id);
 }