1) add wifi_set_alert_handler for the alert case
2) add wifi_set_log_handler for the ring data
3) remove unnecessary wifi_request_id for set commands
4) change to use ring_name instead of ring_id.
5) add wifi_reset_alert_handler
add wifi_reset_log_handler
Change-Id: Ia9aaba050196af6684191cdcdfb0c1d21e917ed2
Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
Android framework should provide a buffer to the wifihal which needs
to be filled with scan_result. This commit will ensure that would
happen by passing a fixed max buffer size as part of each
wifi_cached_scan_results.
Change-Id: I005dd39f26be62694c46369e16d5f7f89f64021d
This change introduces wifi_set_passpoint_list and wifi_reset_passpoint_list
which implement the functionality of offloading passpoint match to
the chipset firmware.
Change-Id: I8a3730d4e23891b1dce47b8cf877e9b3c04ac279
1) add the request_id in wifi_get_logger_supported_feature_set
2) Change the wifi_get_firmware_memory_dump API
1) Normally the size of firmware dump is 700KB.
Thus, Driver cannot send the data in one time because of limitation of skb length.
In order to send such big data from kernel Driver,
we need to send data using event continuously until we send the memory dump completely.
In the event handler of hal, it will allocate the
big buffer to store the data.
Once event handler copy the data completely, event handler
will call the function callback(on_firmware_memory_dump).
So, upper layer has to free the buffer after handling the buffer.
Change-Id: If80b03ec8bd9349d952743e17a001c04096aac95
Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
1) define entry type for parsing the data easily.
2) the payload will be attached at end of the wifi_ring_buffer_entry
3) added the feature set
4) remove duplicate wifi_get_ring_data
5) add request_id in wifi_start_logging
6) change the pointer of buffer to double pointer of buffer
in wifi_get_ring_buffers_status and wifi_get_firmware_memory_dump
wifi_get_firmware_version and wifi_get_driver_version
to indicate the buffer supplied by Application layer
Change-Id: I5dc2811155e7efa058a0c3414036461de3e45d98
Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
Mainstream wpa_supplicant now has common driver_nl80211.h
Change-Id: I6d886daf39110969b2442c3943806364e63a5d04
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Added single shot scan, and maxScansToCache. Also fixed getScanResults()
to report scan results to listeners.
Bug: 18087596
Bug: 17694040
Bug: 18059273
Change-Id: Id623ab9ee2ab89c86a35082279331fa609016347
New stream types have been added, so make sure that
legacy implementation uses legacy stream definitions
Bug: 18067208
Change-Id: I8042ebe9ac3e7eda380b8c91650f2ac16b44bc34
Added a new macro in feature set to indicate wifihal support for
link layer stats collection.
Bug: 17359758
Change-Id: I3f8ecce67430bd8270fb157a4e6cd246503a3d9f