summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-11wifihal: Update driver control param to check driver is readyandroid-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r30android11-qpr2-releaseandroid11-qpr1-c-releaseVeerendranath Jakkam
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
2020-04-20WifiHAl:Create separate create/delete virtual iface functions am: 5780336dd2 ↵Khanjan Desai
am: 30316d2ea5 Change-Id: Iddaf8f6747ab5314ddbb20bd4298dd60ef8b0900
2020-04-20WifiHAl:Create separate create/delete virtual iface functions am: 5780336dd2android-11.0.0_r16android11-d1-b-releaseKhanjan Desai
Change-Id: I0849c4083dccb45b54ccbd00b51d8e7e72ac9135
2020-04-18Wifi-Hal: Add NAN iface type in dynamic creation of iface am: fe97994539 am: ↵Swarn Singh
114200de7c Change-Id: Ife083c308f70a7fda6dcc1d5cfd6448b212d2aa2
2020-04-18Wifi-Hal: Add NAN iface type in dynamic creation of iface am: fe97994539Swarn Singh
Change-Id: Ia67188a01d7f12c0c0cbeed1f49154287ac524be
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-20WiFi-HAL: get base wlan interface index from global handle am: 24c9cf0854 ↵Veerendranath Jakkam
am: b06bd7df49 Change-Id: Ic65e8683a7c9a1605567bd17b4952382639e1243
2020-03-20WiFi-HAL: get base wlan interface index from global handle am: 24c9cf0854Veerendranath Jakkam
Change-Id: I939e6824a342573545e78447a2a5c41c0cc8e599
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-16WiFi-HAL: Add support to configure thermal level am: fc600dab60 am: abeb8d5695Automerger Merge Worker
Change-Id: I64df972f69d9eda0669ce17d3c32678078aa161f
2020-03-16WiFi-HAL: Update qca-vendor_copy.h with latest as on 3/2/2020 am: c9439afa0e ↵Automerger Merge Worker
am: b94d30db5a Change-Id: Ic71ac6bd50c9a2a8df7ee61fed82eba70ff57f76
2020-03-16WiFi-HAL: Add support to configure thermal level am: fc600dab60Automerger Merge Worker
Change-Id: I00dd785cda9555a22e26eb447e3bf6c4ffc4e532
2020-03-16WiFi-HAL: Update qca-vendor_copy.h with latest as on 3/2/2020 am: c9439afa0eAutomerger Merge Worker
Change-Id: Ifb51cf565418157df7b8077970f2cf82353f5b55
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: ↵Automerger Merge Worker
117593cf89 am: c1e6349ca4 am: bc047fde67 Change-Id: I7e6f80d0dece15a3519481d8bfd8fd8e63666b9a
2020-03-10qcwcn: Heap-buffer-overflow in register_monitor_sock() of wifi hal am: ↵Automerger Merge Worker
0ed8dbf042 am: 027a922c95 am: 2617c225e7 Change-Id: I1a205d117808be5d1b77e47a1b327d454e34b3d4
2020-03-10Heap-buffer-overflow in send_nl_data() of wifi hal am: 0a1b211537 am: ↵Automerger Merge Worker
959e96762c am: 862ef20479 Change-Id: I5780b15f8ba0dcfe6f940e52618b99d213199d05
2020-03-10WifiHal: Fix OOB read of ctrl buf while registering monitor sock am: ↵Automerger Merge Worker
117593cf89 am: c1e6349ca4 Change-Id: Ib2096eef238c52a69811fb0844ebe876b3cdc7a1
2020-03-10qcwcn: Heap-buffer-overflow in register_monitor_sock() of wifi hal am: ↵Automerger Merge Worker
0ed8dbf042 am: 027a922c95 Change-Id: I4e15ebcae14bcf451435a8f9379fd12c794040e5
2020-03-10Heap-buffer-overflow in send_nl_data() of wifi hal am: 0a1b211537 am: 959e96762cAutomerger Merge Worker
Change-Id: Ia82d851f011d133b6bc6de4fb17f6b8e311c60c2
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