summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-17WifiHAl:Create separate create/delete virtual iface functionsandroid-mainline-12.0.0_r112android-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12aml_tz2_305400500aml_tz2_305400300aml_tz2_305400100aml_tz2_304500300aml_tz2_303900110aml_tz2_303900102aml_tz2_303800002aml_tz2_303800001aml_tz2_303200001android12-mainline-tzdata2-releaseandroid11-mainline-tethering-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseandroid11-devaml_tz2_305400100Khanjan Desai
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
2020-04-17Wifi-Hal: Add NAN iface type in dynamic creation of ifaceSwarn Singh
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
2020-03-17WiFi-HAL: get base wlan interface index from global handleVeerendranath Jakkam
Instead of hardcoding base wlan interface as wlan0 get base wlan interface index from hal_info Bug: 140311866 Change-Id: I8f66207dfbcb791e02faa57a19460a4cedeaeca8
2020-03-15WiFi-HAL: Add support to configure thermal levelVamsi Krishna
Bug: 140311866 Change-Id: If376a9e40ab3a1ad948cd95b15f30ba42fcb19bb
2020-03-15WiFi-HAL: Update qca-vendor_copy.h with latest as on 3/2/2020Vamsi Krishna
Update the WiFi-HAl as per the new interface definitions as needed. Bug: 140311866 Test: Wifi Regression Change-Id: I64b141468bd3a194d06e875ed4d3b782f0c9a4a3
2020-03-10WifiHal: Fix OOB read of ctrl buf while registering monitor sock am: 117593cf89Automerger Merge Worker
Change-Id: Icd749280d34eaf1deb19d7f73a0ee23db7828706
2020-03-10qcwcn: Heap-buffer-overflow in register_monitor_sock() of wifi hal am: ↵Automerger Merge Worker
0ed8dbf042 Change-Id: Id4458dba85b590cc2aed4dedf1ccfd3f93f43f29
2020-03-10Heap-buffer-overflow in send_nl_data() of wifi hal am: 0a1b211537Automerger Merge Worker
Change-Id: I694e87918f034d686a969e0d61a2a3e5f7cb2b9c
2020-03-05WifiHal: Fix OOB read of ctrl buf while registering monitor sockVinay Gannevaram
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>
2020-03-05qcwcn: Heap-buffer-overflow in register_monitor_sock() of wifi halVinay Gannevaram
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>
2020-03-05Heap-buffer-overflow in send_nl_data() of wifi halVinay Gannevaram
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>
2020-01-28Merge "Stop using LOCAL_COPY_HEADERS" am: f526767014 am: db4bd17858 am: ↵Automerger Merge Worker
9ea329ed12 Change-Id: I121f7aa15028164dbe94773f362f1f40b3e34b3b
2020-01-28Merge "Stop using LOCAL_COPY_HEADERS" am: f526767014 am: db4bd17858Automerger Merge Worker
Change-Id: I37d36849748a9a3ccbf31fa9d0a81148b40f0ca4
2020-01-28Merge "Stop using LOCAL_COPY_HEADERS"android-r-preview-4android-r-preview-3android-r-preview-2Dan Willemsen
am: f526767014 Change-Id: I5770713add7e750554f80b301fe75efd93a093fd
2020-01-28Merge "Stop using LOCAL_COPY_HEADERS"android-r-preview-1Dan Willemsen
2020-01-27Stop using LOCAL_COPY_HEADERSDan Willemsen
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
2019-11-15Wifi: Modify log specifiers for 64bit hex numbersAhmed ElArabawy
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
2019-11-13feature_set change from 'int' to 'long'Ahmed ElArabawy
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
2019-10-30[automerger skipped] DO NOT MERGE - ↵Xin Li
qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master am: e370a75148 am: 10ea32d470 -s ours am skip reason: subject contains skip directive Change-Id: I13be2168c9a81288713e1d010d54de24d0aac3e8
2019-10-30DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into ↵Xin Li
stage-aosp-master am: e370a75148 Change-Id: Ibc165b09fb4d4d3d6fc1b2909cc801dc6f9069fe
2019-10-30DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into ↵Xin Li
stage-aosp-master Bug: 142003500 Change-Id: I02b5a268435366612a30a1474f001f26ed65dee7
2019-10-26[automerger skipped] Merge Coral/Flame into AOSP master am: 2dd444c395 -s ↵Xin Li
ours am: 8a20d7acc0 -s ours am: 2ec685c0d0 -s ours am: b01dfec50c -s ours am skip reason: change_id I911b1a53ec46f39cc7597c2a31f59669db4f0699 with SHA1 e66c67c549 is in history Change-Id: I580b0d0a3a14cb49e4b4180935b5d671a1d31405
2019-10-26[automerger skipped] Merge Coral/Flame into AOSP master am: 2dd444c395 -s ↵Xin Li
ours am: 8a20d7acc0 -s ours am: 2ec685c0d0 -s ours am skip reason: change_id I911b1a53ec46f39cc7597c2a31f59669db4f0699 with SHA1 e66c67c549 is in history Change-Id: I9b0dfa49c9c22d2288ba8fd7db096857e79e2167
2019-10-26[automerger skipped] Merge Coral/Flame into AOSP master am: 2dd444c395 -s oursXin Li
am: 8a20d7acc0 -s ours am skip reason: change_id I911b1a53ec46f39cc7597c2a31f59669db4f0699 with SHA1 e66c67c549 is in history Change-Id: If420f667fb082b6bc8d243398d8c7a4607b2c6b5
2019-10-26[automerger skipped] Merge Coral/Flame into AOSP masterXin Li
am: 2dd444c395 -s ours am skip reason: change_id I911b1a53ec46f39cc7597c2a31f59669db4f0699 with SHA1 e66c67c549 is in history Change-Id: Ic771df24fbdef9c4aefbdfc5993b4b0ca9f499b7
2019-10-25Merge Coral/Flame into AOSP masterXin Li
Bug: 141248619 Change-Id: I9976a12048a8be199082a2200540f4a899fd3e4f Merged-In: I911b1a53ec46f39cc7597c2a31f59669db4f0699
2019-10-18Skip QD1A.190821.011 in stage-aosp-master am: e66c67c549 am: 39112a4558Xin Li
am: a983b73905 Change-Id: Ie11ccc336b6af4f585d503b11c83e6acaa80bac1
2019-10-18Skip QD1A.190821.011 in stage-aosp-master am: e66c67c549Xin Li
am: 39112a4558 Change-Id: I9c8d2451b6cd4764e98b27f3ab9cb5579e745ca4
2019-10-18Skip QD1A.190821.011 in stage-aosp-masterXin Li
am: e66c67c549 Change-Id: Id7d1fd9c4e5afe209ed14ff1c0322c36bbe03675
2019-10-16Skip QD1A.190821.011 in stage-aosp-masterb_141248619Xin Li
Bug: 141248619 Change-Id: I911b1a53ec46f39cc7597c2a31f59669db4f0699
2019-10-02Wifi-Hal: Clear received pointer on completion of Nan handle EventAjit Vaishya
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
2019-09-11[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into ↵Xin Li
stage-aosp-master am: c26793c451 -s ours am: a0ab48b335 -s ours am: 357becbad9 -s ours am skip reason: change_id I5d1305694de7dd89a12b59c61507fcaa7cb41d6a with SHA1 465ba7cca5 is in history Change-Id: I61a17e95799454c5539bf1de32e85fc6c879e4a5
2019-09-11[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into ↵Xin Li
stage-aosp-master am: c26793c451 -s ours am: a0ab48b335 -s ours am skip reason: change_id I5d1305694de7dd89a12b59c61507fcaa7cb41d6a with SHA1 465ba7cca5 is in history Change-Id: Ibb42bf27b2592922afe148ceb238d86792db50e1
2019-09-11[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into ↵Xin Li
stage-aosp-master am: c26793c451 -s ours am skip reason: change_id I5d1305694de7dd89a12b59c61507fcaa7cb41d6a with SHA1 465ba7cca5 is in history Change-Id: Ib5f58dcbf26dfb65880a16400ee07fe15b39ae57
2019-09-08Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-masterXin Li
Bug: 135460123 Change-Id: Id022e08ea363a24bd34126df903e6fe070bafe42 Merged-In: I5d1305694de7dd89a12b59c61507fcaa7cb41d6a
2019-09-05[automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: ↵Xin Li
180ce9e724 -s ours am: fe8fc84b59 am: fb336e9956 am: 9c8f60bf44 -s ours am skip reason: subject contains skip directive Change-Id: I51b85e8ba1f11efedaec840f550e22c6f80ecd4b
2019-09-05[automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: ↵Xin Li
180ce9e724 -s ours am: fe8fc84b59 am: fb336e9956 Change-Id: Iaff8ba69d92a2106c8835a8560efda4266c0db46
2019-09-05[automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: ↵Xin Li
180ce9e724 -s ours am: fe8fc84b59 Change-Id: Ie2bbf5da3eb772c73a934290beb0172fc10b545c
2019-09-05[automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master"Xin Li
am: 180ce9e724 -s ours am skip reason: subject contains skip directive Change-Id: If72a7c5fa6e8d6bac880a9e5fc10b63da993cd02
2019-09-05Merge "DO NOT MERGE - Merge Android 10 into master"ndk-sysroot-r21Xin Li
2019-09-04DO NOT MERGE - Merge Android 10 into masterXin Li
Bug: 139893257 Change-Id: I5d1305694de7dd89a12b59c61507fcaa7cb41d6a
2019-07-02[automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor ↵Xin Li
(5699924) into stage-aosp-master am: 6e67c53763 am: 5c3be09976 -s ours am skip reason: subject contains skip directive Change-Id: I77b2daaf56383c12d3e9ccadcf6bb18962e5a037
2019-07-02DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into ↵Xin Li
stage-aosp-master am: 6e67c53763 Change-Id: I6ec117bcd920a42b09237409c4d50feb18b0c55f
2019-07-01DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into ↵temp_140451723Xin Li
stage-aosp-master Bug: 134405016 Change-Id: I6785097384d1b21c6ad19027dd4ce297114a66d4
2019-06-27Snap for 5691653 from f2edcbeb9bc05eab416bd985744c98c14c020799 to ↵android-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12android10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-releaseandroid-build-team Robot
qt-c2f2-release Change-Id: I727fa0c4261f9a03d90932e3d7f686962e86edae
2019-06-26Merge "WIFIHAL: Fix use-after-free issue while freeing monitor socket list" ↵Vinay Gannevaram
into qt-r1-dev am: f2edcbeb9b am: 4bc52a3597 Change-Id: I1a420f702c17d028e33be09806d47eb7df6c3179
2019-06-26Merge "WIFIHAL: Fix use-after-free issue while freeing monitor socket list" ↵Vinay Gannevaram
into qt-r1-dev am: f2edcbeb9b Change-Id: I20557bfdbd095f1e1a8b47c8c860092cb7ad99c4
2019-06-26Merge "WIFIHAL: Fix use-after-free issue while freeing monitor socket list" ↵android-mainline-10.0.0_r9android-mainline-10.0.0_r7android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-mainline-releaseandroid10-mainline-media-releaseTreeHugger Robot
into qt-r1-dev
2019-06-15Snap for 5663715 from 320302d00197eadab68b46448551bb06a7a6d17a to ↵android-build-team Robot
qt-c2f2-release Change-Id: Ifbaabecc9776351a489fd0334eb6487f8b2b030d
2019-06-13Wifi-Hal: Avoid accessing invalid memory while parsing pkt stats am: 320302d001Ajit Vaishya
am: 69687cbf11 Change-Id: I7675243c0a7ef62dc785c2d944ebd50bba46afc5