qcacmn: Register event handler for new chan_list evt
Register the event handler for new WMI event, WMI_REG_CHAN_LIST_CC_EXT_EVENTID. Extract the parameters to be used when building the channel lists in the regulatory component. Update the reg rule parsing function to include the new PSD flag and PSD power levels. Change-Id: I0f5a747f98e43ac3d43b4aa1fb5958f0eac69a9d CRs-fixed: 2843793
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
@@ -42,6 +42,24 @@ QDF_STATUS wmi_extract_reg_chan_list_update_event(
|
||||
}
|
||||
qdf_export_symbol(wmi_extract_reg_chan_list_update_event);
|
||||
|
||||
#ifdef CONFIG_BAND_6GHZ
|
||||
QDF_STATUS wmi_extract_reg_chan_list_ext_update_event(
|
||||
wmi_unified_t wmi_handle,
|
||||
uint8_t *evt_buf,
|
||||
struct cur_regulatory_info *reg_info,
|
||||
uint32_t len)
|
||||
{
|
||||
if (wmi_handle &&
|
||||
wmi_handle->ops->extract_reg_chan_list_ext_update_event)
|
||||
return wmi_handle->ops->extract_reg_chan_list_ext_update_event
|
||||
(wmi_handle, evt_buf, reg_info, len);
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
qdf_export_symbol(wmi_extract_reg_chan_list_ext_update_event);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* wmi_unified_send_start_11d_scan_cmd() - start 11d scan
|
||||
* @wmi_handle: wmi handle
|
||||
|
Reference in New Issue
Block a user