History log of /hardware/qcom/wlan/qcwcn/wifi_hal/common.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
42f5dc2b5f632ce601d876fad18830de3ea38b89 24-Mar-2016 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Protect packet fate stats resources with mutex

Wifihal collects packet fate stats to a local buffer and the stats
will be copied to the buffers provided by framework in get() APIs.
Protect reads and writes to this buffer with a mutex to avoid
read from get() while write is going on in the event context.

BUG: 27799235
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
05613005ba730bec6f0acf9e57f9a21b396428c7 15-Feb-2016 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Monitor for packet fate stats

Driver collects stats for first few packets after association.
Framework can query for these stats to know the reason if
association/any other failure happens.

Change-Id: Icc413f503e518a24b6d89578b07b45d11422bb5e
CRs-Fixed: 964555
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
5c63f6a5f46ca95fe003bac5cfae2fc74a0b22a7 24-Jan-2016 Subhani Shaik <subhanis@codeaurora.org> Wifi-HAL: Remove CLANG Warnings and errors.

Enable LOCAL_CLANG flag. Remove CLANG Errors and warnings.
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
cdbde22981846f02ce30a940b22a3f3c44ebba0d 19-Jan-2016 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Support for packet filtering APIs

These APIs allow driver/firmware to start packet filtering
when framework enables filters

Change-Id: I10a5ef17e7266a520854061f0a2aa24a5f77db03
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
045a80359d42a8f4bc136b51e42c173d11344099 01-Oct-2015 Srinivas Dasari <dasaris@codeaurora.org> WiFi-HAL: Add support for beacon_received connectivity event

Allow start logging for connectivity events and parse the
received beacon event. Write the parsed data to ring buffer.

Change-Id: I8b9e77c5533dd8d4876642e901a92808cc7e159d
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
d008ebbdb38a4723318a46f377aaf1766e2b8423 19-Aug-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Introduce a delay after country code set

Querying for valid channels immediately after country code change
may result in invalid channel list as kernel takes some time to
populate the channels in driver. A little delay(50 ms) between
set_country_code and get_valid_channels can solve the issue.

Bug: 22937052
Change-Id: If252ca9512be1cbc9d0b3e4fc80cb703657fc6f2
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
32016d0baa7be9c4d1dd2f2fb68325f32ebf1267 19-Aug-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Protect log_handler and alert_handler with mutex

Protect log_handler and alert_handler with mutex as these
can be accessed in both command and event paths.

Bug: 23292340
Change-Id: I0565d818e97f81609152b288cc9074d995232744
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
2d953ba14654205d59c3214217a1fa4e0cd0dc33 06-Aug-2015 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Removing usage of rand and srand functions

Usage of rand and srand function is a moderate security
vulnerability, thus removing the usage of this and replacing
with arc4random.

Change-Id: I5f24e96817bf3de09848f5626278ac65b00e07ed
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
864f2a6901fe97d268d44c053b9fede65a821c51 21-Jul-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Maintaining Gscan Event Handlers as part of hal_info

This commit removes the global usage of various Gscan event
handlers and makes it part of hal_info structure so that it gets
cleaned up as part of wifihal cleanup.
This commit also addresses the appropriate cleanup as part of
wifihal cleanup.

Bug: 22504320
Change-Id: I56ea636e6d47b5fcdd66a9e6db4e2a36e8dac8ba
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
1563c992ab566c13121e8081651fe915fbe74dc4 01-Jul-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Use correct bandwidth to compute MCS for Tx stats

Get the bandwidth value from Tx stats try list based on total
tries and calculate rate based on its value.
Set the RSSI value for failed Tx packets to 255, which indicates
an invalid value.

Change-Id: I7c4b43268627eef1ae6576bd6afd37f1bf55c630
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
8e5a1f11d8d8ca7f0404dd6c926f7b31785a9df2 24-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Cache and populate Rx aggregated stats

Aggregated Rx packets may have valid data in a specific MSDU of
the MPDU. We need to cache the stats received so far and update
once the expected MSDU received.
Below stats for Rx aggregated packets contains valid values only
in the first mpdu of the AMPDU.
1. RxMCS
2. last_transmit_rate
3. RSSI

and timestamp is valid only in the last msdu of the last mpdu.
Write the updated stats to ring buffer.

Change-Id: Ie09992926ae447995946b64c3e8e07dd0650cd5d
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
e0d30a0148b9a6fc9d54cc190f26b5b069e93647 22-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wi-Fi HAL: Implement changes required for routing GSCAN over LOWI

- With this change, Wi-Fi HAL first tries to direct GSCAN requests through
HAL<-->LOWI interface rather than directly sending them to the driver.
Routing is done based on version and capability check. If HAL<-->LOWI
interface is not supported, Wi-Fi HAL will then proceed the normal way
by sending commands to the driver.
-Moved the utility functions used to open LOWI shared library, retrieve
handler to LOWI APIs table, and initialize LOWI module out of RTT module
into the HAL common module.

Change-Id: Ib81ff69bec07e71ab4b4d553f1038e122b535ae6
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
fd4f062fe7681fd3e6d660e602d0202836ff6905 10-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: unblock poll using exit socket pair

When a cleanup request received in tx thread, it sets the flag
info->clean_up and exits. Actual cleanup happens in Rx-thread
context where as the Rx thread might be blocked in poll().
To unblock poll(), create a socket pair and send message from
Tx-thread context.

Change-Id: I90b6fd6c07ae77d50f791f70d3279352079e9d5e
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
ddae66e0dd0f0b30e8f8a7c8dc84a205f8a98f98 25-May-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wi-Fi Hal: support to send offloaded packets and rssi monitoring

Add vendor command support to start and stop the following,
1. Send offloaded packets
2. Rssi monitoring

Rssi monitoring gets an event whenever the rssi of an ap breaches
the configured range. Provide the event data to upper layers
by calling the callback.

Change-Id: Ib2be8b3739e681080e65f3001e468e504a06fcc1
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
2e1716c72278e0c1f9165c65e7017551c6e6eb26 29-May-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wi-Fi HAL: Add RBs to collect driver and firmware prints.

Add new ring buffer to collect driver prints and firmware prints.

Change-Id: Ibf0483a367bd8507c86b802e59f8184cd0a04731
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
0db016e8fc02c05164338d9d1105132b8a520542 22-Apr-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wi-Fi HAL: Parse and write the tx-rx stats to ring buffer

Parse the tx/rx stats events which are sent from driver and
collect the stats in framework specified format. Write the
collected stats to ringbuffer.

Change-Id: I41eb98ca39bf87d6ff7136e8713847f6cc7580a2
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
76cff4cb3188c57d6043ead1932135346d1eb624 13-Apr-2015 Subhani Shaik <subhanis@codeaurora.org> WifiLogger: Support for generic NL socket handling and wake lock logging.

Registration of generic NL sockets to parse the messages
from the host driver. Support to address the wake lock
events logging as part of the Wi-Fi debug support.
API support for start_logging, get_buffer_status,
get_ring_data, and get_feature_set is also included.

Change-Id: I707a03d286e87d879dfd3ab906a4e6aa68721e4f
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
9de438de8f6b21a0355e9f891133e0f18d026878 10-Apr-2015 Subhani Shaik <subhanis@codeaurora.org> Wi-Fi HAL: Initial implementation of Ring Buffer

Ring buffer consists of discrete buffers alloced and freed as and
when required and not required. These buffers together will
operate as a ring of memory and allows write and read operations
of different sizes. Also provides facility to trigger external
callbacks when the size of ring data crosses configured threshold.

Change-Id: Ide7453dad59a1abc82381619831e268e82ef89da
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
4af494a4400d1ee3944e227626d0452e033284d5 27-Mar-2015 Amarnath Hullur Subramanyam <amarnath@qca.qualcomm.com> Fast forwarding all the changes till tip of l release.

Change-Id: I2eabf5c9d14a33e11e6fefaf54d70ac972292a55
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
8abcd11e6ffef0ed6948497ff03df2c55abc5bb9 17-Jun-2014 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi Hal: Gscan implementation

Change-Id: I8e68d12968af8d6e9e0efbdbd25e66d1881debb4
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
a779e36f603bbb1b3cd82afeeb4d519d69f6c9fc 01-Jun-2014 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi Hal: Link layer stats implementation

Change-Id: I1643981fc0b5293f806f854edf245f36c1a1a752
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h
b573b879161949728b9cbdb0ef2dc8db32a47bfc 09-Apr-2014 Vinit Deshapnde <vinitd@google.com> Moving Wifi HAL to hardware

This change moves all Wifi HAL headers to libhardware_legacy; and moves
hal implementation under hardware/<vendor>/wlan. This way different
vendors will be able to tailor implementation to their drivers.

Change-Id: I55789bb6788ab694f4896aa36d76f7887b32dad6
/hardware/qcom/wlan/qcwcn/wifi_hal/common.h