mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 00:25:24 -04:00
wifi: ath12k: remove obsolete struct wmi_start_scan_arg
ath12k inherited struct wmi_start_scan_arg from ath11k. However, in ath12k, this struct is unused -- struct ath12k_wmi_scan_req_arg is used for this functionality. So remove the unused struct. No functional changes, compile tested only. Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://msgid.link/20240226-ath12k-obsolete-wmi_start_scan_arg-v1-1-07b0b563cb27@quicinc.com
This commit is contained in:
@@ -3357,34 +3357,6 @@ struct wmi_bssid_arg {
|
||||
const u8 *bssid;
|
||||
};
|
||||
|
||||
struct wmi_start_scan_arg {
|
||||
u32 scan_id;
|
||||
u32 scan_req_id;
|
||||
u32 vdev_id;
|
||||
u32 scan_priority;
|
||||
u32 notify_scan_events;
|
||||
u32 dwell_time_active;
|
||||
u32 dwell_time_passive;
|
||||
u32 min_rest_time;
|
||||
u32 max_rest_time;
|
||||
u32 repeat_probe_time;
|
||||
u32 probe_spacing_time;
|
||||
u32 idle_time;
|
||||
u32 max_scan_time;
|
||||
u32 probe_delay;
|
||||
u32 scan_ctrl_flags;
|
||||
|
||||
u32 ie_len;
|
||||
u32 n_channels;
|
||||
u32 n_ssids;
|
||||
u32 n_bssids;
|
||||
|
||||
u8 ie[WLAN_SCAN_PARAMS_MAX_IE_LEN];
|
||||
u32 channels[64];
|
||||
struct wmi_ssid_arg ssids[WLAN_SCAN_PARAMS_MAX_SSID];
|
||||
struct wmi_bssid_arg bssids[WLAN_SCAN_PARAMS_MAX_BSSID];
|
||||
};
|
||||
|
||||
#define WMI_SCAN_STOP_ONE 0x00000000
|
||||
#define WMI_SCAN_STOP_VAP_ALL 0x01000000
|
||||
#define WMI_SCAN_STOP_ALL 0x04000000
|
||||
|
||||
Reference in New Issue
Block a user