qcacmn: Find radar found frequency for 11BE Chipset
The "wmi_pdev_dfs_radar_detection_event" has an unused field "chan_freq". It currently holds the value of primary 20MHz channel. With the introduction of 11BE chipsets, this field is changed to hold the value of the center frequency of the channel width on which the radar is found. This new change is indicated by a wmi service "wmi_is_radar_found_chan_freq_eq_center_freq". For the Chipsets that support this service, the radar found frequency can be calculated by mere addition of the fields "chan_freq" and "freq_offset" field. Change-Id: I8d2ce0023e2feb6e749ca8d7d5f547fafc0fdf98
This commit is contained in:

committed by
Madan Koyyalamudi

orang tua
47c8c541c2
melakukan
350da55314
@@ -1028,6 +1028,10 @@ struct wlan_lmac_if_reg_tx_ops {
|
||||
* @dfs_ocac_abort_cmd: Send Off-Channel CAC abort command.
|
||||
* @dfs_is_pdev_5ghz: Check if the given pdev is 5GHz.
|
||||
* @dfs_set_phyerr_filter_offload: Config phyerr filter offload.
|
||||
* @dfs_is_tgt_radar_found_chan_freq_eq_center_freq:
|
||||
* Check if chan_freq parameter of the
|
||||
* radar found wmi event points to channel
|
||||
* center.
|
||||
* @dfs_send_offload_enable_cmd: Send dfs offload enable command to fw.
|
||||
* @dfs_host_dfs_check_support: To check Host DFS confirmation feature
|
||||
* support.
|
||||
@@ -1075,6 +1079,8 @@ struct wlan_lmac_if_dfs_tx_ops {
|
||||
struct wlan_objmgr_pdev *pdev,
|
||||
bool dfs_phyerr_filter_offload);
|
||||
bool (*dfs_is_tgt_offload)(struct wlan_objmgr_psoc *psoc);
|
||||
bool (*dfs_is_tgt_radar_found_chan_freq_eq_center_freq)
|
||||
(struct wlan_objmgr_psoc *psoc);
|
||||
QDF_STATUS (*dfs_send_offload_enable_cmd)(
|
||||
struct wlan_objmgr_pdev *pdev,
|
||||
bool enable);
|
||||
|
Reference in New Issue
Block a user