Age | Commit message (Collapse) | Author |
|
|
|
While creating nl messge with the help of
WifiVendorCommand.create(), there is a log to dump the data
being sent. This log is getting printed for most of the wifihal
messages.
But actual data gets filled in the nl message later. So don't
dump if the buffer is empty.
BUG: 28825972
Change-Id: Ifac90b092e63fc5456f13e9f94ed0143b008b5ec
|
|
The nl library maintains one local port pool for nl sockets, one
port is occupied when new nl socket is allocated and it needs to
released, otherwise the nl socket allocation will fail since no
local port can be used in nl socket allocation.
Wifi hal sets own local port for nl socket directly without
calling api and causes leak.
BUG: 30350620
Change-Id: I4bb1fd2c352c73cc246a2ba7f837e395f022651f
|
|
There is a possiblility while handling the wlan driver event
in the handleEvent of the RssiMonitor, the RssiMonitor stop
is also triggered. The stop monitor cleans RssiMonitor command
instance. In this case the handleEvent will crash as the object
is already deleted. To avoid this scenario moving the handler
creation under hal_info and adding checks to ensure that handler
is enabled/disabled prior to starting and stopping the monitor
command.
BUG: 29936203
Change-Id: Id0ab73313a03510f0b15b101e381112c4ace4aef
|
|
Fix CLANG warnings.
Change-Id: If07194f34abc44e1e58e8b38af59ec705a62ce55
CRs-Fixed: 1015162
Bug: 28825972
|
|
As part of timestamp synchronization firmware events, logs and F3
message formats have changed which would result in change in
processing of the same. This commit will address the change in
Wifi-Hal catering to the new format, at the same time maintaining
backward compatibility.
At least FW 4.3-00089 is required for working.
BUG: 29762703
|
|
am: 301f662f9d
Change-Id: Ife186fef4cfbf473456291f592e9172ce0fd2ed8
|
|
In QCA_NL80211_VENDOR_SUBCMD_LL_STATS_TYPE_PEERS event, dynamic
memory is allocated for pIfaceStat pointer. So, Free this
pointer in error conditions to avoid possible memory leakage.
Free memory allocated for tx_time_per_levels stats in
radio_stats.
Change-Id: I9af543e980af4eee400a9127449430f4b32a2fb4
BUG: 29247588
|
|
Update to AU_LINUX_ANDROID_LA.HB.1.3.9.06.00.01.213.187
wlan_hal:
895f88d Wifi-HAL: Increase the channel print buffer size to 256
120bfdb Wifi-HAL: RTT API Enhancement
fe22a17 Merge commit '5c1f1176572dc7d9bd24d96b91290d784f2c2f37' into LA.HB.1.3.9
5c1f117 Wifi-HAL: Include missing changes from AOSP code
252f45d Merge "Wifi-HAL: Create a local copy of qca-vendor.h"
Change-Id: Ib71ace2ec59d33f2c0965212a886a3524c40bd2c
|
|
am: 0eb820e5aa
* commit '0eb820e5aa5689413367985d056e8f66d08ca30b':
WiFi-HAL: Validate gscan capabilities
Change-Id: I961a793437f7635dfeb5ea066eae39b418602009
|
|
driver/firmware can return invalid gscan_capabilities in some
cases and they can cause potential issues in framework.
max_scan_buckets is such gscan capability parameter which is
used by framework to allocate memory for the bucket configuration.
To avoid such issues, return failure to the
API wifi_get_gscan_capabilities() if max_scan_buckets is 0 or
failed to receive capabilities from driver.
Bug: 28530708
|
|
am: 06674e8
* commit '06674e86b6bc55c7312e02d1ad54d653cf940d24':
Wifi-HAL: enable ALOGV on userdebug builds
Change-Id: I0d0e5107d8dd628c9874ccba2f67a2f5feb819d5
|
|
By default, ALOGV messages do not make it in the build. For
the Wifi HAL, however, we'd like the ability to dynamically
enable VERBOSE logging.
Update the makefile, so that ALOGV messages are compiled
into the library, on userdebug builds.
BUG=27857554
TEST=manual
Manual test:
$ lunch aosp_bullhead-userdebug && m -j64
$ strings out/target/product/bullhead/system/lib/libwifi-service.so \
| grep 'Initiialized diag sock'
-> match
$ strings out/target/product/bullhead/system/lib64/libwifi-service.so \
| grep 'Initiialized diag sock'
-> match
$ lunch aosp_bullhead-user
$ strings out/target/product/bullhead/system/lib/libwifi-service.so \
| grep 'Initiialized diag sock'
-> NO match
$ strings out/target/product/bullhead/system/lib64/libwifi-service.so \
| grep 'Initiialized diag sock'
-> NO match
Change-Id: Id592de85f6270f2392a4244cb27fe29ed23542f2
|
|
am: b2280f0
* commit 'b2280f0b09ff9b3c1d5dd6d9086de0925ff8e07b':
Wifi-HAL: Add tx time per power level stats in radio_stats
Change-Id: Icd071ff54522f4c9ce14801c6f0ef23f22304e18
|
|
Add support to collect radio transmit per power levels in
msecs accrued over time.
BUG:27227497
Change-Id: Idb00c58540bb8f75040f358072541d2989072162
|
|
When printing logs that depend on values in a list,
concatenate the list items into a string. Then print
the string as a single log message.
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27779612
TEST=compile
Change-Id: I9402ff6f156193fc9c1c4086c617f1770332a2d0
|
|
1) demote some log messages from ALOGE/ALOGD to ALOGV
2) print those messages with a single logging call,
instead of multiple calls.
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: Ib374f86efe97fd3a4c7140893d9a731721aa3fa3
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=28174258
TEST=compile
Change-Id: I14e986349aeaa04e17afea2644dde43471ec98b0
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=28174258
TEST=compile
Change-Id: I28886969bad633c481e6ecd47bfa66f5201d7d83
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=28174258
TEST=compile
Change-Id: I85b6afa15e6839738d7ec0e20c0425aecfc99147
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=28174258
TEST=compile
Change-Id: I4261156fba894ed20626ac670b8f90353d47048b
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=28174258
TEST=compile
Change-Id: I0ec26dcf0cffeb7c8d90461dfcddbc419cfaef99
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: I2feb5f0f336338ab127e179b8ea32acf5f94f2c4
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: Ibfa3245bb91b8138d41566f2e8f7060423c07a40
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: I97aa34497cfc749190f459c7e8bc6d5f6c93b98b
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: I7264dd7a0095c24bf1f183c9f929bb79ef095703
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: I04a6dd680b23322a5382ff144d6ea533f37be2f8
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: I82f404d731ce618d469b941e28445d94feb19b07
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: Ia3ae5296ac890d8ce87ed374a5060512b27b789f
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: I76caca25ed835c10bb94444b2928bf48f6861131
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: I420cdcf8c279de4dd85d74b4bdec98e4f2082694
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: I4b94a1e8e0d155fb78e128e9ffe29b050fba9ecc
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: I10c66782f1dea5e17722c1c4f3958fcd7250fb01
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: I6c8d3e09eedd9675439d6a5a5ad17eabc16416db
|
|
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
BUG=27835354
TEST=compile
Change-Id: I4bc744370131af1058cbbb634f92579ed1b8283f
|
|
|
|
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
|
|
|
|
RTT API's are modified to allow responder to indicate the RTT
preamble which can be advertised in BLE Beacon. So, modify
RTT HAL to comply with new API.
BUG: 28071418
Change-Id: I04062e9c603c0f00cc90880f0d6a040b1fe8abe5
|
|
DRIVER STOP command needs to be sent to driver before
bringing the interface down. This is done to address
a bug where driver is de-registering n/w iface as
it can't distinguish between wifi off and DRIVER STOP.
BUG: 27576943
Change-Id: I9885b7858f7ee0dff3d5dcc4c64360147dfd8d9f
|
|
am: 1233892 -s ours
* commit '1233892b8eed870596c467079df5ffec72b34bef':
Revert "wlan: msm8909w caf release LW.BR.1.0-00410-8x09w.0"
Change-Id: I666a5203ce51f1d57116038b1506a0752f192c45
|
|
am: eaae981 -s ours
* commit 'eaae981abc9c2963f85f9361a5a2fbdf79ba4768':
Revert "Wifi-HAL: Free the nlmsg after receiving the response"
Change-Id: I7acc11cde566f6e2ffbab8010853a73bfc3f99ef
|
|
am: d6d6464
* commit 'd6d646405a01c43218b19b520c50c25bdeeff880':
Revert "wlan: msm8909w caf release LW.BR.1.0-00410-8x09w.0"
Change-Id: I26a86a7f70bdfedf7a3e3700da5d1bcf8f704421
|
|
am: ae3c7d9
* commit 'ae3c7d9bb90e6d31dc589c94fd2f4133f42ba1c8':
Revert "Wifi-HAL: Free the nlmsg after receiving the response"
Change-Id: I0fe7f2c0f9eaecbc0670af27096a0102582cb223
|
|
am: 2637a39 -s ours
* commit '2637a39c3e2cd909b9ce0fbc18078b5af0b0e2fe':
Wifi-Hal: Nan Data Path Support [DO NOT MERGE]
Change-Id: I41bf2423135df38831b8689f22e80ddb030af7e2
|
|
Add Nan Data Path Support:
1) Enable API support for
. Interface Create/Delete
. NDP Request/Response
. NDP Schedule Update
. NDP Data End
2) Handle Responses from the driver.
3) Handle Indications from the driver.
Change-Id: Ibc8a867e5546691bf191e759fde340753081441b
|
|
into nyc-dev
|
|
In parse_{tx/rx}_pkt_fate_stats(), driver_timestamp_usec and
firmware_timestamp_usec are u32 fields, whereas driver_ts is a
u32 field and fw_ts is a u16 field. Hence, external type casting
is not required here.
BUG=27579488
|
|
We use one shared Wifi HAL.
Change-Id: Ifc8d96a909439d7e18a57a70ffb9b41a02c31ce5
|
|
Change-Id: Ic5c79807e6bfd0e507ad9a7f1a14f73a16acb50c
|