diff options
author | Jerry Lee <jerrylee@broadcom.com> | 2015-05-11 15:06:02 -0700 |
---|---|---|
committer | Jerry Lee <jerrylee@broadcom.com> | 2015-05-11 23:37:41 +0000 |
commit | b3b31174c61e38a970b956cb50cb66cd1903ca9b (patch) | |
tree | 1e2259c95e53ad0388d3599bf88a3975ffe8daaf /bcmdhd | |
parent | 040ee11fb7c5f1781537ae4343c056c0a49dcfc5 (diff) | |
download | hardware_broadcom_wlan-b3b31174c61e38a970b956cb50cb66cd1903ca9b.zip hardware_broadcom_wlan-b3b31174c61e38a970b956cb50cb66cd1903ca9b.tar.gz hardware_broadcom_wlan-b3b31174c61e38a970b956cb50cb66cd1903ca9b.tar.bz2 |
Wifi HAL fix for 64bit addressing
1) Bug: 20950010
2) minor wifi HAL event enum fix which breaks loghandler
Change-Id: I48a052d703e3f3b14b47aedf9faaa53ebbfa0300
Signed-off-by: Jerry Lee <jerrylee@broadcom.com>
Diffstat (limited to 'bcmdhd')
-rw-r--r-- | bcmdhd/wifi_hal/common.h | 4 | ||||
-rw-r--r-- | bcmdhd/wifi_hal/wifi_logger.cpp | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/bcmdhd/wifi_hal/common.h b/bcmdhd/wifi_hal/common.h index ac5af91..3259f62 100644 --- a/bcmdhd/wifi_hal/common.h +++ b/bcmdhd/wifi_hal/common.h @@ -112,9 +112,9 @@ typedef enum { GSCAN_EVENT_COMPLETE_SCAN, GSCAN_EVENT_HOTLIST_RESULTS_LOST, GSCAN_EVENT_EPNO_EVENT, - GSCAN_EVENT_ANQPO_HOTSPOT_MATCH, GOOGLE_DEBUG_RING_EVENT, - GOOGLE_DEBUG_MEM_DUMP_EVENT + GOOGLE_DEBUG_MEM_DUMP_EVENT, + GSCAN_EVENT_ANQPO_HOTSPOT_MATCH } WIFI_EVENT; typedef void (*wifi_internal_event_handler) (wifi_handle handle, int events); diff --git a/bcmdhd/wifi_hal/wifi_logger.cpp b/bcmdhd/wifi_hal/wifi_logger.cpp index 58aee6f..b78192c 100644 --- a/bcmdhd/wifi_hal/wifi_logger.cpp +++ b/bcmdhd/wifi_hal/wifi_logger.cpp @@ -618,8 +618,9 @@ public: ALOGE("Failed to put get memory dump request; result = %d", result); return result; } - result = request.put_u32(LOGGER_ATTRIBUTE_FW_DUMP_DATA, - (uint32_t)(mBuff+buffer_size)); + + result = request.put_u64(LOGGER_ATTRIBUTE_FW_DUMP_DATA, + (uint64_t)(mBuff+buffer_size)); if (result != WIFI_SUCCESS) { ALOGE("Failed to put get memory dump request; result = %d", result); return result; @@ -724,7 +725,8 @@ public: ALOGE("Failed to put get memory dump request; result = %d", result); return result; } - result = request.put_u32(LOGGER_ATTRIBUTE_FW_DUMP_DATA, (uint32_t)mBuff); + + result = request.put_u64(LOGGER_ATTRIBUTE_FW_DUMP_DATA, (uint64_t)mBuff); if (result != WIFI_SUCCESS) { ALOGE("Failed to put get memory dump request; result = %d", result); return result; |