|
@@ -9401,6 +9401,22 @@ void wmi_copy_latency_flowq_support(wmi_resource_config *resource_cfg,
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
+#ifdef MOBILE_DFS_SUPPORT
|
|
|
+static inline
|
|
|
+void wmi_copy_full_bw_nol_cfg(wmi_resource_config *resource_cfg,
|
|
|
+ target_resource_config *tgt_res_cfg)
|
|
|
+{
|
|
|
+ WMI_RSRC_CFG_HOST_SERVICE_FLAG_RADAR_FLAGS_FULL_BW_NOL_SET(resource_cfg->host_service_flags,
|
|
|
+ tgt_res_cfg->is_full_bw_nol_supported);
|
|
|
+}
|
|
|
+#else
|
|
|
+static inline
|
|
|
+void wmi_copy_full_bw_nol_cfg(wmi_resource_config *resource_cfg,
|
|
|
+ target_resource_config *tgt_res_cfg)
|
|
|
+{
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
static
|
|
|
void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
|
|
|
target_resource_config *tgt_res_cfg)
|
|
@@ -9700,6 +9716,8 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
|
|
|
}
|
|
|
|
|
|
wmi_copy_latency_flowq_support(resource_cfg, tgt_res_cfg);
|
|
|
+ wmi_copy_full_bw_nol_cfg(resource_cfg, tgt_res_cfg);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
#ifdef FEATURE_SET
|
|
@@ -17279,6 +17297,7 @@ static QDF_STATUS extract_dfs_radar_detection_event_tlv(
|
|
|
if (radar_found->pdev_id == WMI_HOST_PDEV_ID_INVALID)
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
|
|
|
+ qdf_mem_zero(radar_found, sizeof(struct radar_found_info));
|
|
|
radar_found->detection_mode = radar_event->detection_mode;
|
|
|
radar_found->chan_freq = radar_event->chan_freq;
|
|
|
radar_found->chan_width = radar_event->chan_width;
|
|
@@ -17289,6 +17308,19 @@ static QDF_STATUS extract_dfs_radar_detection_event_tlv(
|
|
|
radar_found->freq_offset = radar_event->freq_offset;
|
|
|
radar_found->sidx = radar_event->sidx;
|
|
|
|
|
|
+ if (is_service_enabled_tlv(wmi_handle,
|
|
|
+ WMI_SERVICE_RADAR_FLAGS_SUPPORT)) {
|
|
|
+ WMI_RADAR_FLAGS *radar_flags;
|
|
|
+
|
|
|
+ radar_flags = param_tlv->radar_flags;
|
|
|
+ if (radar_flags) {
|
|
|
+ radar_found->is_full_bw_nol =
|
|
|
+ WMI_RADAR_FLAGS_FULL_BW_NOL_GET(radar_flags->flags);
|
|
|
+ wmi_debug("Is full bw nol %d",
|
|
|
+ radar_found->is_full_bw_nol);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
wmi_debug("processed radar found event pdev %d,"
|
|
|
"Radar Event Info:pdev_id %d,timestamp %d,chan_freq (dur) %d,"
|
|
|
"chan_width (RSSI) %d,detector_id (false_radar) %d,"
|
|
@@ -22765,6 +22797,8 @@ static void populate_tlv_service(uint32_t *wmi_service)
|
|
|
#endif
|
|
|
wmi_service[wmi_service_fisa_dynamic_msdu_aggr_size_support] =
|
|
|
WMI_SERVICE_FISA_DYNAMIC_MSDU_AGGR_SIZE_SUPPORT;
|
|
|
+ wmi_service[wmi_service_radar_flags_support] =
|
|
|
+ WMI_SERVICE_RADAR_FLAGS_SUPPORT;
|
|
|
}
|
|
|
|
|
|
/**
|