summaryrefslogtreecommitdiffstats
path: root/bcmdhd/wifi_hal/common.h
diff options
context:
space:
mode:
authorAshwin <ashwin.bhat@broadcom.com>2015-06-12 13:08:45 -0700
committerVinit Deshpande <vinitd@google.com>2015-06-24 10:55:57 -0700
commitfef13c11034313585be68c32322b9a53c43a37b2 (patch)
tree6f54b84d47b7cf8ab895decec6805393a9ce9d7e /bcmdhd/wifi_hal/common.h
parent6a4c420bc727655771343331e02850f683f00bbb (diff)
downloadhardware_broadcom_wlan-fef13c11034313585be68c32322b9a53c43a37b2.zip
hardware_broadcom_wlan-fef13c11034313585be68c32322b9a53c43a37b2.tar.gz
hardware_broadcom_wlan-fef13c11034313585be68c32322b9a53c43a37b2.tar.bz2
RSSI monitor changes
RSSI monitor is used to set RSSI thresholds to driver and rx events when thresholds are crossed. also includes some code cleanup Change-Id: Ia55ded489ed5d4232e6fea0ffdcfc824522613b1 Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Diffstat (limited to 'bcmdhd/wifi_hal/common.h')
-rw-r--r--bcmdhd/wifi_hal/common.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/bcmdhd/wifi_hal/common.h b/bcmdhd/wifi_hal/common.h
index 26bb9a6..5df02fe 100644
--- a/bcmdhd/wifi_hal/common.h
+++ b/bcmdhd/wifi_hal/common.h
@@ -95,6 +95,7 @@ typedef enum {
WIFI_SUBCMD_SET_BSSID_BLACKLIST, /* 0x1014 */
GSCAN_SUBCMD_ANQPO_CONFIG, /* 0x1015 */
+ WIFI_SUBCMD_SET_RSSI_MONITOR, /* 0x1016 */
/* Add more sub commands here */
GSCAN_SUBCMD_MAX
@@ -114,7 +115,8 @@ typedef enum {
GSCAN_EVENT_EPNO_EVENT,
GOOGLE_DEBUG_RING_EVENT,
GOOGLE_DEBUG_MEM_DUMP_EVENT,
- GSCAN_EVENT_ANQPO_HOTSPOT_MATCH
+ GSCAN_EVENT_ANQPO_HOTSPOT_MATCH,
+ GOOGLE_RSSI_MONITOR_EVENT
} WIFI_EVENT;
typedef void (*wifi_internal_event_handler) (wifi_handle handle, int events);
@@ -199,7 +201,7 @@ hal_info *getHalInfo(wifi_handle handle);
hal_info *getHalInfo(wifi_interface_handle handle);
wifi_handle getWifiHandle(hal_info *info);
wifi_interface_handle getIfaceHandle(interface_info *info);
-
+wifi_error wifi_cancel_cmd(wifi_request_id id, wifi_interface_handle iface);
// some common macros