瀏覽代碼

qcacmn: Retrieve monitor flags params from dp_soc

Include CDP_MONITOR_FLAG to get monitor mode flags from
SOC structure.

Change-Id: I67992abcbb64e4f24cf42c57557d501330d3c3f2
CRs-Fixed: 3809485
Ananya Gupta 1 年之前
父節點
當前提交
00e159df45
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      dp/wifi3.0/dp_main.c

+ 3 - 0
dp/wifi3.0/dp_main.c

@@ -9282,6 +9282,9 @@ static QDF_STATUS dp_get_psoc_param(struct cdp_soc_t *cdp_soc,
 	case CDP_CONFIG_DP_DEBUG_LOG:
 		val->cdp_psoc_param_dp_debug_log = soc->dp_debug_log_en;
 		break;
+	case CDP_MONITOR_FLAG:
+		val->cdp_monitor_flag = soc->mon_flags;
+		break;
 	default:
 		dp_warn("Invalid param: %u", param);
 		break;