diff options
author | Thomas Pedersen <c_tpeder@qca.qualcomm.com> | 2012-06-21 15:50:08 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-10-24 04:49:31 -0400 |
commit | 85b20fc2420c4d20729f3bbdbfe5962dcc58c3b0 (patch) | |
tree | 0bdc0b3837b710af6d895c6a06007e9a06a47bb5 /drivers/net/wireless/ath/ath6kl/wmi.h | |
parent | 9b34f40c20111ba658f88e1669598db494be1fbc (diff) |
ath6kl: support rssi threshold for sched scan
The ath6kl firmware can filter scan results based on rssi. This is
useful to limit hosts wakeups on scheduled scans.
Signed-off-by: Thomas Pedersen <c_tpeder@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/wmi.h')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/wmi.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.h b/drivers/net/wireless/ath/ath6kl/wmi.h index 43339aca585d..b5deaffb79e4 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.h +++ b/drivers/net/wireless/ath/ath6kl/wmi.h | |||
@@ -628,6 +628,10 @@ enum wmi_cmd_id { | |||
628 | WMI_SET_MCASTRATE, | 628 | WMI_SET_MCASTRATE, |
629 | 629 | ||
630 | WMI_STA_BMISS_ENHANCE_CMDID, | 630 | WMI_STA_BMISS_ENHANCE_CMDID, |
631 | |||
632 | WMI_SET_REGDOMAIN_CMDID, | ||
633 | |||
634 | WMI_SET_RSSI_FILTER_CMDID, | ||
631 | }; | 635 | }; |
632 | 636 | ||
633 | enum wmi_mgmt_frame_type { | 637 | enum wmi_mgmt_frame_type { |
@@ -1276,6 +1280,11 @@ struct wmi_snr_threshold_params_cmd { | |||
1276 | u8 reserved[3]; | 1280 | u8 reserved[3]; |
1277 | } __packed; | 1281 | } __packed; |
1278 | 1282 | ||
1283 | /* Don't report BSSs with signal (RSSI) below this threshold */ | ||
1284 | struct wmi_set_rssi_filter_cmd { | ||
1285 | s8 rssi; | ||
1286 | } __packed; | ||
1287 | |||
1279 | enum wmi_preamble_policy { | 1288 | enum wmi_preamble_policy { |
1280 | WMI_IGNORE_BARKER_IN_ERP = 0, | 1289 | WMI_IGNORE_BARKER_IN_ERP = 0, |
1281 | WMI_FOLLOW_BARKER_IN_ERP, | 1290 | WMI_FOLLOW_BARKER_IN_ERP, |
@@ -2592,6 +2601,7 @@ int ath6kl_wmi_add_wow_pattern_cmd(struct wmi *wmi, u8 if_idx, | |||
2592 | const u8 *mask); | 2601 | const u8 *mask); |
2593 | int ath6kl_wmi_del_wow_pattern_cmd(struct wmi *wmi, u8 if_idx, | 2602 | int ath6kl_wmi_del_wow_pattern_cmd(struct wmi *wmi, u8 if_idx, |
2594 | u16 list_id, u16 filter_id); | 2603 | u16 list_id, u16 filter_id); |
2604 | int ath6kl_wmi_set_rssi_filter_cmd(struct wmi *wmi, u8 if_idx, s8 rssi); | ||
2595 | int ath6kl_wmi_set_roam_lrssi_cmd(struct wmi *wmi, u8 lrssi); | 2605 | int ath6kl_wmi_set_roam_lrssi_cmd(struct wmi *wmi, u8 lrssi); |
2596 | int ath6kl_wmi_ap_set_dtim_cmd(struct wmi *wmi, u8 if_idx, u32 dtim_period); | 2606 | int ath6kl_wmi_ap_set_dtim_cmd(struct wmi *wmi, u8 if_idx, u32 dtim_period); |
2597 | int ath6kl_wmi_force_roam_cmd(struct wmi *wmi, const u8 *bssid); | 2607 | int ath6kl_wmi_force_roam_cmd(struct wmi *wmi, const u8 *bssid); |