diff options
author | Roshan Pius <rpius@google.com> | 2017-04-06 23:46:25 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-04-06 23:46:25 +0000 |
commit | a5de9f3d7d5fbb58a3139c9335c745bb5c6c8c3b (patch) | |
tree | 2ce0868175cf4b20329808959f080e36ed196594 | |
parent | 88b0c76ae0fb9aadc1a826ddd04d4210286040a7 (diff) | |
parent | f917bd5281c63646f6bd54c93596ed09d0fec794 (diff) | |
download | android_hardware_broadcom_wlan-a5de9f3d7d5fbb58a3139c9335c745bb5c6c8c3b.tar.gz android_hardware_broadcom_wlan-a5de9f3d7d5fbb58a3139c9335c745bb5c6c8c3b.tar.bz2 android_hardware_broadcom_wlan-a5de9f3d7d5fbb58a3139c9335c745bb5c6c8c3b.zip |
bcom hal: Add stubs for set/clear link stats
am: f917bd5281
Change-Id: I4b93a7e2416d7c4d8b1995879f160d4a4fd400c3
-rw-r--r-- | bcmdhd/wifi_hal/link_layer_stats.cpp | 14 | ||||
-rw-r--r-- | bcmdhd/wifi_hal/wifi_hal.cpp | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/bcmdhd/wifi_hal/link_layer_stats.cpp b/bcmdhd/wifi_hal/link_layer_stats.cpp index 1ef8516..f6d6ab5 100644 --- a/bcmdhd/wifi_hal/link_layer_stats.cpp +++ b/bcmdhd/wifi_hal/link_layer_stats.cpp @@ -150,3 +150,17 @@ wifi_error wifi_get_link_stats(wifi_request_id id, return (wifi_error) command.requestResponse(); } +wifi_error wifi_set_link_stats( + wifi_interface_handle /* iface */, wifi_link_layer_params /* params */) +{ + /* Return success here since bcom HAL does not need set link stats. */ + return WIFI_SUCCESS; +} + +wifi_error wifi_clear_link_stats( + wifi_interface_handle /* iface */, u32 /* stats_clear_req_mask */, + u32 * /* stats_clear_rsp_mask */, u8 /* stop_req */, u8 * /* stop_rsp */) +{ + /* Return success here since bcom HAL does not support clear link stats. */ + return WIFI_SUCCESS; +} diff --git a/bcmdhd/wifi_hal/wifi_hal.cpp b/bcmdhd/wifi_hal/wifi_hal.cpp index 578890f..db6f87c 100644 --- a/bcmdhd/wifi_hal/wifi_hal.cpp +++ b/bcmdhd/wifi_hal/wifi_hal.cpp @@ -149,6 +149,8 @@ wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn) fn->wifi_reset_significant_change_handler = wifi_reset_significant_change_handler; fn->wifi_get_gscan_capabilities = wifi_get_gscan_capabilities; fn->wifi_get_link_stats = wifi_get_link_stats; + fn->wifi_set_link_stats = wifi_set_link_stats; + fn->wifi_clear_link_stats = wifi_clear_link_stats; fn->wifi_get_valid_channels = wifi_get_valid_channels; fn->wifi_rtt_range_request = wifi_rtt_range_request; fn->wifi_rtt_range_cancel = wifi_rtt_range_cancel; |