qcacmn: Add wmi command to set limit off chan parameters
Add WMI command for setting limit off channel command parameters to firmware. CRs-Fixed: 2068307 Change-Id: Ia99f1b4d4fe33082a561c9307af9d76ae16d8be4
This commit is contained in:

committed by
snandini

parent
5fa0255eed
commit
20b086b6cd
@@ -1508,4 +1508,7 @@ void wmi_print_mgmt_event_log(wmi_unified_t wmi, uint32_t count,
|
||||
|
||||
QDF_STATUS wmi_unified_send_dbs_scan_sel_params_cmd(void *wmi_hdl,
|
||||
struct wmi_dbs_scan_sel_params *wmi_param);
|
||||
|
||||
QDF_STATUS wmi_unified_send_limit_off_chan_cmd(void *wmi_hdl,
|
||||
struct wmi_limit_off_chan_param *wmi_param);
|
||||
#endif /* _WMI_UNIFIED_API_H_ */
|
||||
|
@@ -7382,4 +7382,20 @@ struct wmi_dbs_scan_sel_params {
|
||||
uint32_t num_non_dbs_scans[WMI_SCAN_CLIENT_MAX];
|
||||
};
|
||||
|
||||
/**
|
||||
* struct wmi_limit_off_chan_param - limit off channel parameters
|
||||
* @vdev_id: vdev id
|
||||
* @status: status of the command (enable/disable)
|
||||
* @max_offchan_time: max off channel time
|
||||
* @rest_time: home channel time
|
||||
* @skip_dfs_chans: skip dfs channels during scan
|
||||
*/
|
||||
struct wmi_limit_off_chan_param {
|
||||
uint32_t vdev_id;
|
||||
bool status;
|
||||
uint32_t max_offchan_time;
|
||||
uint32_t rest_time;
|
||||
bool skip_dfs_chans;
|
||||
};
|
||||
|
||||
#endif /* _WMI_UNIFIED_PARAM_H_ */
|
||||
|
@@ -1354,6 +1354,8 @@ uint32_t (*convert_pdev_id_target_to_host)(uint32_t pdev_id);
|
||||
|
||||
QDF_STATUS (*send_user_country_code_cmd)(wmi_unified_t wmi_handle,
|
||||
uint8_t pdev_id, struct cc_regdmn_s *rd);
|
||||
QDF_STATUS (*send_limit_off_chan_cmd)(wmi_unified_t wmi_handle,
|
||||
struct wmi_limit_off_chan_param *limit_off_chan_param);
|
||||
};
|
||||
|
||||
struct target_abi_version {
|
||||
|
Reference in New Issue
Block a user