Age | Commit message (Collapse) | Author |
|
Write driver control param and wait for successful update to make sure
driver is ready in LONU model.
Bug: 157090295
Test: Basic function test, SSR test
Change-Id: Ia1a690305266baafabe4c2557723f464ca858db1
|
|
The function wifi_add_or_remove_iface was taking care for
creation and deletion of virtual Iface. Added new separate
functions that will perform create and delete operations
instead of one single API.
Bug: 153852667
Bug: 154279995
Test: Pass wifi aware tests of CtsVerifier.
CRs-Fixed: 2633140
Change-Id: I3c175b1f5a59c6d022b2db51cfc72b48582ec3cf
|
|
This change added interface name start from "wifi" as part of
valid wifi interface name.
Bug: 153852667
Bug: 154279995
Test: Pass wifi aware tests of CtsVerifier.
CRs-Fixed: 2593436
Change-Id: Ic8154616c54905969e55b89c0a8f5cde923e5136
|
|
Instead of hardcoding base wlan interface as wlan0 get base wlan
interface index from hal_info
Bug: 140311866
Change-Id: I8f66207dfbcb791e02faa57a19460a4cedeaeca8
|
|
Bug: 140311866
Change-Id: If376a9e40ab3a1ad948cd95b15f30ba42fcb19bb
|
|
Update the WiFi-HAl as per the new interface definitions as needed.
Bug: 140311866
Test: Wifi Regression
Change-Id: I64b141468bd3a194d06e875ed4d3b782f0c9a4a3
|
|
Change-Id: Icd749280d34eaf1deb19d7f73a0ee23db7828706
|
|
0ed8dbf042
Change-Id: Id4458dba85b590cc2aed4dedf1ccfd3f93f43f29
|
|
Change-Id: I694e87918f034d686a969e0d61a2a3e5f7cb2b9c
|
|
Boundary check for NLMSG length is not present, which would
result in OOB read of the buffer during nla parse. Hence add
required boundary checks before processing ctrl msg from
wifihal clients. Also allocate required buffer for control
events to the size of received nlmsg data
Bug: 149836664
Test: Manual - Basic wifi sanity test
CRs-Fixed: 2628103
Change-Id: Idc971a343f30e41f359180757f108a8c0dfe2a7e
Signed-off-by: Vinay Gannevaram <quic_vganneva@quicinc.com>
|
|
This changes is to avoid the buffer-overflow in register_monitor_sock()
where "nreg->monsock" is getting filled with the data of length
"ctrl_msg->monsock_len" without the validation of length. Address this
issue by have a length check done before filling the buffer.
Bug: 149836664
Test: Manual - Basic wifi sanity test
CRs-Fixed: 2604404
Change-Id: I36b7ac274bd4f92eceabd5bd6534c73ae5a9ae73
Signed-off-by: Vinay Gannevaram <quic_vganneva@quicinc.com>
|
|
In send_nl_data() function, the size of ctrl_msg can
be greater than size of nl_msg structure. This can
cause buffer overload due to out-of bound write in
nl_msg->nm_nlh. Added a check for length of ctrl_msg
to avoid the out-of-bound write.
Bug: 149836664
Test: Manual - Basic wifi sanity test
CRs-Fixed: 2605058
Change-Id: I73032dac6ce2f2e9ee7ede18b45b11a2b3f92053
Signed-off-by: Vinay Gannevaram <quic_vganneva@quicinc.com>
|
|
9ea329ed12
Change-Id: I121f7aa15028164dbe94773f362f1f40b3e34b3b
|
|
All the users of this header are already using it as if
LOCAL_EXPORT_C_INCLUDE_DIRS has been set.
Bug: 130719878
Test: m libwifi-hal-qcom
Test: treehugger
Change-Id: I3c335b016208bfa5064f4a02f9f16447c6d29351
|
|
This commit replaces "0x%lx" with PRIx64 macro for better portability of
handling 64bit values in log messages.
Bug: 144576287
Test: Builds passes successfully
Change-Id: I8b8cd56c874f87e477b7a78b2c0e5197d77df483
|
|
This commit makes some adjustments to accomodate the change of the
feature_set from being an int (32 bits) into becoming a long (64 bits)
Bug: 139354972
Test: Manual: Build succeeds
Change-Id: I665b57707fa5b22dd847023c02c92e8513c9caf6
|
|
Currently after processing of back to back Nan Event i.e.
QCA_NL80211_VENDOR_SUBCMD_NAN and QCA_NL80211_VENDOR_SUBCMD_NDP,
mNanVendorEvent is not clear properly. Due to this stale entry
of mNanVendorEvent been accessing.
Clear stale entry of mNanVendorEvent on completion of processing of Nan
Event.
Fixes: 141010724
Bug: 141010724
Test: CtsNetTestCases with hwasan
CRs-Fixed: 2537045
Change-Id: I1342924d8da6f275ca0c1b4e043470a4f0680ac4
|
|
into qt-r1-dev
am: f2edcbeb9b
Change-Id: I20557bfdbd095f1e1a8b47c8c860092cb7ad99c4
|
|
into qt-r1-dev
|
|
am: 320302d001
Change-Id: I0197c57263b03bfdfcbe20bd094ed68d4d58700b
|
|
am: 1b30bee315
Change-Id: Ieba7e9b42fa9e5695392263e3e096642bde01e5b
|
|
am: 32886cca7a
Change-Id: I0c32710c95c4db6c881525e5c7ceb8a26804e33c
|
|
Current implementation of packet stats parsing isn't validating
remaining buflen, which might lead to accessing invalid memory
location while parsing. To address this issue, we need to check
whether received buflen is sufficient to parse the stat before
reading the stats from nlmsg.
While parsing pkt stats, the bufflen shall be decremented for
all versions of packet log records. Add logic to decrement buflen
for the missed versions also.
Change-Id: I573a5158b97f2c2b1b59026a8ae14e23ffc8135f
CRs-Fixed: 2422931
Bug: 130226017
Test: Manual Test, turn verbose logging and check pkt log
|
|
Current RX stats parsing structure differs with the recent
architectures. Hence , the firmware / host indicates this need to parse
the data with the updated structures through the version ( V2) and the
parser is expected to adapt to the same.
This commit introduces to parse pktlog stats based on PKT_LOG_V2
parsing structure and the rx rate calculation also differs based on this
Version 2.
Change-Id: Id0997296e93be15158cb9fd27b25067010227666
CRs-Fixed: 2402099
Bug: 130226017
Test: Manual Test, turn verbose logging and check pkt log
|
|
Current TX per packet stats parsing logic cannot be used
to parse TX stats for packet log new version V2, because of
packet log structure format is different.
This changes introduces to parse new packet log version V2,
based on required OFFSET from received TX payload.
Support to read packet log version i.e V1/V2/V3 by reading
firmware version.
Change-Id: Ie5c508bb2fd3e00674dd807c3003b00857d3f070
CRs-Fixed: 2402099
Bug: 130226017
Test: Manual Test, turn verbose logging and check pkt log
|
|
During cleanup of monitor socket list, entries are freed
with out being deleted from the list. This results in
accessing memory which was already freed.
Hence deleting the entry before freeing it, so that
list would have only valid entries.
Bug: 133773150
Test: Manual Test
CRs-Fixed: 2463143
Change-Id: Ic746c7527958f238c77ddd4fd6d98cb8abab67bb
Signed-off-by: Vinay Gannevaram <quic_vganneva@quicinc.com>
|
|
am: dceeae8916
Change-Id: I2342c7e3b8508daba646ade3d1adc891a2d016b9
|
|
am: 5291a58156
Change-Id: Ie3cf5e2041d89ba5f62199573e295e028b96f10f
|
|
Added support in wifihal to send nl messages on behalf
of its clients. Since netadmin capabilities are
given to wifihal, it is used as bridge to send nl
messages to kernel
Added support for clients to register for nl events.
CRs-Fixed: 2424237
Bug: 131618408
Bug: 28340421
Test: Regression test
Change-Id: If8b62733e1d298804e0be98918eb875fc52a4ad1
Signed-off-by: Srinivas Girigowda <quic_sgirigow@quicinc.com>
|
|
Kernel error ENOBUFS is not mapped to any defined wifi-hal
error code. Map ENOBUFS error to WIFI_ERROR_TOO_MANY_REQUESTS
wifi-hal error.
Change-Id: I1d372a70a713a25505849da1a6716650007a7f64
CRs-Fixed: 2439902
Bug: 130214647
Bug: 132599519
Test: Regression Test
Signed-off-by: Rajeev Kumar <quic_rajekuma@quicinc.com>
|
|
am: bdf118c219
Change-Id: I141103a6e1d2b389c07f5dc1c0ed6b5f68194c87
|
|
|
|
am: 35c34d329c
Change-Id: If649c1642e47cff632e97ae28d8a1a337a8df4dc
|
|
In current desgin, packet fate will start logging when log level change to
“VERBOSE_DEBUG_PROBLEM”. But in current design, no any use case will change log level to
“VERBOSE_DEBUG_PROBLEM”. Framework use “VERBOSE_REPRO_PROBLEM” when user turn on wifi
verbose logging in developer option. Modify pkt ring buffer check condition to VERBOSE_DEBUG_PROBLE
to enable pktlog with verbose on.
Bug:74360031
Test: Manual Test
Change-Id: I0d600797108055adafcedd4ac7664b3781c3b74c
|
|
am: 80441c10e0
Change-Id: Ie605016d03c4bc53ee1f07117d1b57ccae9795ba
|
|
* Current -Wno-error=implicit-fallthrough caused
clang-tidy assertion fault, see
https://bugs.llvm.org/show_bug.cgi?id=39312
* We could enable this warning when source file is fixed.
Bug: 117780134
Test: build with WITH_TIDY=1
Change-Id: I9b7a6be2556afb70d2a8327053e3b207ef32cef1
|
|
Current implementation passes the address of a local variable to the
netlink control block callback, ending up to go out of scope if the
callback is invoked after the scope for the current function ends
(from where the registration happened), resulting in an invalid
memory access. Address this issue by having the respective variable
defined with a global scope.
Change-Id: Ied10a8f17f20326864f80ac40b0ceac6791f6cd1
CRs-Fixed: 2427930
Bug: 129092516
Test: Manual test
|
|
|
|
Currently when hardware version received as NULL string,
pkt_log sets to V0 version i.e. PKT_LOG_V0 and parsing of
packet stats done by decrementing specified length mention
in packet log header , in case of PKT_LOG_V0 this length is
decrementing which makes parsing stuck to infinite loop.
To overcome this, parsing length is decremented apart from V2
packet log version too.
CRs-Fixed: 2422931
Bug: 129272032
Bug: 118484168
Test: Connect STA to AP and play youtube.
Change-Id: I573a5158b97f2c2b1b59026a8ae14e23ffc8135f
|
|
version V2""
This reverts commit 9584c413fae876e2883fc0e5a93a98df0f32d3ff.
Bug: 129272032
Bug: 118484168
Test: connect STA to AP and play youtube.
Change-Id: Id9396d04e6cd202867390dcb428a6177a8a89681
|
|
This reverts commit 41d7798f68a93664a836c8b86c23addd3db9d17f.
Bug: 129272032
Bug: 118484168
Test: Connect STA to AP and play youtube.
Change-Id: If86b053c4e083cf1c01e7d7293d79706c6bb093e
|
|
This commit adds support for the WIFI_POWER_SCENARIO_ON_BODY_BT
SAR scenario, and map it to the proper BDF table.
Bug:
Test: adb shell halutil -sar enable 5
Change-Id: I3013815acb022f1d395c260ae16e29c4093346c9
|
|
Bug: 129148201
This reverts commit 181078ab828d12786c457037cda2fa61a50ab188.
Reason for revert: Regression observed in 3P App Launch which increased by ~204ms
Change-Id: I9dda376c45b528a867d4ca87266e60475d60a3ee
|
|
Bug: 129148201
This reverts commit dbac4bd447d0bc8323a1fec31406475036072095.
Reason for revert: Regression observed in 3P App Launch which increased by ~204ms
Change-Id: I71513fcaa4d3aa0dfdad51b1e4d2845479d500cd
|
|
In current implementation, the ether type used for offloaded
packets is always hardcoded to IPv4 in lower layers.
This commit adds support to specify ether type of offloaded
packets from user space.
Bug: 122487582
Test: Manual
Change-Id: Ib3a5dcb92aa6b193eabbcff32cd5a1138dcd04d0
CRs-Fixed: 2398213
|
|
Current Rx stats parsing structure which is different from new
packet log version i.e V2, so parsed RX per packet stats are
coming in improper format and per packet fate stats format also
is diff w.r.t V2 pkt log version, which leads to improper offset
on received payload while parsing it.
This commit introduces to parse pktlog stats based on PKT_LOG_V2
parsing structure and V2 based rx rate calculatio.
Bug: 118484168
Test: Regression Test
Change-Id: Id0997296e93be15158cb9fd27b25067010227666
CRs-Fixed: 2402099
|
|
Current TX per packet stats parsing logic cannot be used
to parse TX stats for packet log new version V2, because of
packet log structre format is different.
This changes introduces to parse new packet log version V2,
based on required OFFSET from received TX payload.
Support to read packet log version i.e V1/V2/V3 by reading
firmare version.
Bug: 118484168
Test: Regression test
Change-Id: Ie5c508bb2fd3e00674dd807c3003b00857d3f070
CRs-Fixed: 2402099
|
|
|
|
Add handling NDPE attribute in NAN capabilities. This allows
the framework to enable or disable using of NDP attribute
in NAN data request message.
Bug: 113149569
Test: Manual
Change-Id: If2ca515447fbd44bca3bc272ce5fd72718d7eb19
CRs-fixed: 2244053
|
|
Add new user hint sub-type NL80211_USER_REG_HINT_CELL_BASE to
wifi_set_country_code command if the feature is supported by
host driver.
Bug: 121154896
Test: Regression test
Change-Id: Ie1c0da1cc75aba02809ffd0f5d76bdb4f2ec680c
CRs-fixed: 2205885
|