[Feature][ZXW-33]merge ZXW 0428 version

Change-Id: I11f167edfea428d9fab198ff00ff1364932d1b0b
diff --git a/ap/lib/libsoftap/softap_api.c b/ap/lib/libsoftap/softap_api.c
index d76371c..9adba76 100755
--- a/ap/lib/libsoftap/softap_api.c
+++ b/ap/lib/libsoftap/softap_api.c
@@ -326,8 +326,11 @@
 		//¼ì²âsrc_id,dst_idÊÇ·ñÂú×ãºË¼äͨѶµÄÌõ¼þ
 		if (0 == soc_send_condition_check(src_id, dst_id))
 			softap_assert("platform_send_msg failed: confition check failed, src_id = %d, dst_id = %d!", src_id, dst_id);
-
+#ifdef USE_CAP_SUPPORT
+		position = (dst_id & MODULE_ID_CPBASE) ? FAR_PS : NEAR_PS;
+#else
 		position = (dst_id & MODULE_ID_APBASE) ? FAR_PS : NEAR_PS;
+#endif
 
 		socMsgInfo.position = position;
 		socMsgInfo.srcId = src_id;