summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-05Wifi-Hal: Validate TX rate code before parsing itandroid-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r11android-12.1.0_r10android12L-devandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseAjit Vaishya
Validate the per packet TX rate codes and calculate transmit rate only for valid rate codes. Bug: 201226143 Test: Regression tests Change-Id: I287d19d97970523b0d695e7dcbd606a49fa23f7c CRs-Fixed: 2469251
2021-08-05WifiHal: populate llstats peer info with correct offset am: c62b63d7f7kensun
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/15402049 Change-Id: Ibc8328b145aaadb950c0b0413c481a87a1ed1c01
2021-07-28WifiHal: populate llstats peer info with correct offsetandroid-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devkensun
llstats peerinfo has varying wifi rate stats. Since llstats is a linear buffer with interface and peer stats, we should include wifi rate stats length while computing offset of next peer Bug: 191419302 Test: Regression Test Change-Id: Icc0395cf290268f4c2c96031389fae36ac48d47c
2021-07-02Merge "llstats: Use mNumRadioAllocated for real radio stats recevied" into ↵TreeHugger Robot
sc-dev am: ad9fbe7105 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/15123844 Change-Id: I1e6f3fd763af73fd0689322fa35893b17141c860
2021-07-02Merge "llstats: Use mNumRadioAllocated for real radio stats recevied" into ↵TreeHugger Robot
sc-dev
2021-06-28llstats: Use mNumRadioAllocated for real radio stats receviedHu Wang
Wifihal uses mNumRadio from QCA_WLAN_VENDOR_ATTR_LL_STATS_NUM_RADIOS, but it shall use mNumRadioAllocated which is based on the real radio stats received. This avoids memory out-of-bound access. Bug: 190878523 Test: Regression test CRs-Fixed: 2863682 Change-Id: Ia1c8484307182a3fab8fbfbde2a9be9047eade61
2021-06-15Change OWNERS file am: ce7af52b6eAhmed ElArabawy
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/14983090 Change-Id: I0e0349e3be85cccf734c39d63512ed3ebfde67c3
2021-06-15Change OWNERS fileAhmed ElArabawy
Replace kumaranand@ with arabawy@ in OWNERS file Bug: 191158491 Test: None Change-Id: I09d1e3afa491179d458996a3e27af69f49e3d3fd
2021-05-15Merge "llstats: Add negative length check befor memcpy" into sc-devTreeHugger Robot
2021-05-05llstats: Add negative length check befor memcpyKhanjan Desai
In Peer type message, the length of memcpy depends on multiple data which can cause overflow due to corruption. Added check for the length variable to properly perform memcpy without overflow. Bug: 183447882 Change-Id: I0e641a09af920e5d3db6fb3f2f526533907f74f9 CRs-Fixed: 2907367
2021-04-29wifi-hal: Add check for num_rx_discovery_attrAmarnath Hullur Subramanyam
Check the value of num_rx_discovery_attr before accessing in NanMatch event to avoid out-of-bound write. Bug: 184564368 CRs-Fixed: 2836431 Change-Id: I1a870c5f89394e2f66b1bbc16ea651ef5259772d
2021-04-14Merge "Correct SAR scenario mapping for HEAD scenarios" into sc-devAhmed ElArabawy
2021-04-12qcom(hal): Remove rpius@ from OWNERSRoshan Pius
Bug: 184966495 Test: N/A Change-Id: Icc854a7dafa734ffe34b7085de2dfb72dd0974af
2021-04-12Correct SAR scenario mapping for HEAD scenariosAhmed ElArabawy
This commit fixes the mapping for HEAD scenarios by combining all of them in the same table, this matches previous years mapping. Bug: 162191325 Test: Make sure scenarios are mapped to the right table. Change-Id: I23761becd615c11bde7cd076026ecedf54249d92
2021-03-16Map new SAR scenarios to tablesAhmed ElArabawy
This commit maps the new SAR scenarios to the existing tables Bug: 162191325 Test: Proper detection of SAR scenarios and tables Change-Id: I273a6271f62c3cc81c40404980b72a88e0b15388
2021-03-10Wifi-Hal: Refresh interface details on wifi_get_ifaces.Purushottam Kushwaha
With support of dynamic interface create/remove 'commit : 5780336d', wifi interface details shall be refreshed to acoomodate change in interface list. Bug: 181828707 Test: Manual Test - force to create virtual interface to make sure Hal works normally. Change-Id: I35ae3260688dfddaae864676a7f45ce24d4d10a9 Signed-off-by: Purushottam Kushwaha <quic_pkushwah@quicinc.com>
2021-02-25Sync qca-vendor_copy.h with latest hostap am: a9e1b56d17 am: 3f31f14007Vinita S. Maloo
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/12835122 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia0578dba55a45a9bc7bd9c3760e8343576f33c6a
2021-02-25wifi-hal: Add support to get CCA busy time due to other nodes am: 17eda87756 ↵Vinita S. Maloo
am: 62f274d274 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/12835123 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I46c3bcbe5eddfd02d536491764f10f4486937c7e
2021-02-25Sync qca-vendor_copy.h with latest hostap am: a9e1b56d17temp_ab_7272582Vinita S. Maloo
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/12835122 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I057b7e2fdc198e6cd9fd8c83fe7b19fe3c1beb41
2021-02-25wifi-hal: Add support to get CCA busy time due to other nodes am: 17eda87756Vinita S. Maloo
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/12835123 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie1124542b065f69d434944cbc903b1e508f2f98a
2021-02-24Sync qca-vendor_copy.h with latest hostapVinita S. Maloo
This bring qca-vendor.h definitions as on 2020-09-03. Bug: 160239223 CRs-Fixed: 2766035 Change-Id: Ica9a871bef2ab0b64c27df0cb85ae3ce66dddd98
2021-02-23wifi-hal: Add support to get CCA busy time due to other nodesVinita S. Maloo
Add support to parse channel RX time using QCA vendor interface of LL stats, if supported by driver and report accurate CCA busy time. Currently the driver/firmware indicates CCA busy time which includes own RX time also and as such, CCA busy time reported by firmware is not accurate. Report accurate cca busy time to upper layers by subtracting self RX time reported by firmware. Bug: 160239223 Change-Id: I1218fce828b082d7145376e9fe7111c0e7bc5953 CRs-Fixed: 2766035
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 5ebe277587 -s ↵Xin Li
ours am: f164f770d1 -s ours am skip reason: Change-Id I3612241499aebe0bd5e075dcd427a131ed3f90a7 with SHA-1 fbb82485fd is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I6409d8e35f2cd21a0168e424fc8a5e98223a45aa
2021-02-20Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/wlan" am: 13f1ea7069 ↵Bob Badour
am: 52d5793831 am: af7d8e2b80 Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/1588405 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia58ca102df99695de0e8657ea91f768fa15bf4d7
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 5ebe277587 -s oursXin Li
am skip reason: Change-Id I3612241499aebe0bd5e075dcd427a131ed3f90a7 with SHA-1 fbb82485fd is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib25fd0fee13721f3a89cdeebe7312a2f2032a20a
2021-02-20Mark ab/7061308 as merged in stage.android-s-beta-2android-s-beta-1Xin Li
Bug: 180401296 Merged-In: I3612241499aebe0bd5e075dcd427a131ed3f90a7 Change-Id: I170991911964374571cf6c20408ce2bd5a4dd31f
2021-02-19Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/wlan" am: 13f1ea7069 ↵Bob Badour
am: 52d5793831 Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/1588405 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I2a6ad72c083fd72555bea44b7950e867b772faa0
2021-02-19Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/wlan" am: 13f1ea7069Bob Badour
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/1588405 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I7f3efb5ecce83d0db64f5cd6a4e9f6aa69fcab2a
2021-02-18Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/wlan"Bob Badour
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/wlanBob Badour
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: qcwcn/wifi_hal/Android.mk Added SPDX-license-identifier-BSD to: cld80211-lib/Android.mk qcwcn/wcnss-service/Android.mk qcwcn/wpa_supplicant_8_lib/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I96fbf1a03a023509049ad11765b6860ab344499f
2020-12-22Merge "wifi_hal: Fix access check of control param file" am: ceb0ec8e27 am: ↵Treehugger Robot
ce1e9e6e0e am: fbb82485fd Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/1532349 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I81252f054c68bb83cb5744858b35b4af5026ad80
2020-12-22Merge "wifi_hal: Fix access check of control param file" am: ceb0ec8e27 am: ↵Treehugger Robot
ce1e9e6e0e Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/1532349 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I3612241499aebe0bd5e075dcd427a131ed3f90a7
2020-12-22Merge "wifi_hal: Fix access check of control param file" am: ceb0ec8e27Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/1532349 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I17f7c3766b3a16c430ca0bac71fb1f8a451a2991
2020-12-22Merge "wifi_hal: Fix access check of control param file"android-s-preview-1Treehugger Robot
2020-12-17wifi_hal: Fix access check of control param filePablo Mendez Hernandez
Currently, the driver control param file is created write-only, so fix the check: https://android.googlesource.com/kernel/msm-modules/qcacld/+/refs/heads/android-msm-coral-4.14-android11-qpr1/core/hdd/src/wlan_hdd_main.c#190 More importantly the open below uses O_WRONLY as only a write is necessary, there is no need to check for read access. Otherwise, WiFi fails to be enabled: WifiHAL : Failed to access driver state control param Permission denied, 13 at /sys/kernel/boot_wlan/boot_wlan Fixes: 8996467be9 ("wifihal: Update driver control param to check driver is ready") Test: Manual build and functionality test Signed-off-by: Pablo Mendez Hernandez <pablomh@gmail.com> Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Change-Id: If6308cd790c69d2d57815ef6815c779258005eff
2020-12-10[automerger skipped] Merge "DO NOT MERGE - Merge Android R QPR1" am: ↵Xin Li
32fa4f2dc5 -s ours am: bb5fe5242c -s ours am: c38cbf8520 -s ours am skip reason: subject contains skip directive Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/1521192 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8a1ee136b4caf551a4b47c7ae86003940b99bd7e
2020-12-10[automerger skipped] Merge "DO NOT MERGE - Merge Android R QPR1" am: ↵Xin Li
32fa4f2dc5 -s ours am: bb5fe5242c -s ours am skip reason: Change-Id I7bc25bb7bd3bbfa255e399def0a786d3200bb737 with SHA-1 830cb6b349 is in history Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/1521192 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Idf41677c8f9c6dd711cf5b621dcf28b495bc173d
2020-12-10[automerger skipped] Merge "DO NOT MERGE - Merge Android R QPR1" am: ↵Xin Li
32fa4f2dc5 -s ours am skip reason: Change-Id I7bc25bb7bd3bbfa255e399def0a786d3200bb737 with SHA-1 830cb6b349 is in history Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/1521192 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I7dd3213ada75505a8e6a3e6518bdafdead1ea393
2020-12-10Merge "DO NOT MERGE - Merge Android R QPR1"Xin Li
2020-12-08DO NOT MERGE - Merge Android R QPR1Xin Li
Bug: 172690556 Merged-In: I7bc25bb7bd3bbfa255e399def0a786d3200bb737 Change-Id: I428f39135cb885e9d78a1e57473445d9755b434d
2020-12-03[automerger skipped] Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855 am: ↵Xin Li
830cb6b349 -s ours am: 87128f7c1f -s ours am skip reason: Change-Id Ief2d409729de9413224773906ff892ea62893635 with SHA-1 22088b81ec is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/13122693 Change-Id: Ib03931ca6943fbce78affdddd9ae262c1542ec72
2020-12-03[automerger skipped] Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855 am: ↵Xin Li
830cb6b349 -s ours am skip reason: Change-Id Ief2d409729de9413224773906ff892ea62893635 with SHA-1 22088b81ec is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/13122693 Change-Id: I9d9c72186d5f808c8d4228bb6330180ae95cce68
2020-11-23Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855temp_rvc_qpr_mergeXin Li
Bug: 172690556 Merged-In: Ief2d409729de9413224773906ff892ea62893635 Change-Id: I7bc25bb7bd3bbfa255e399def0a786d3200bb737
2020-10-09[automerger skipped] Skip ab/6749736 in stage. am: 53de7a6e4e -s ours am: ↵Xin Li
60671c827d -s ours am: 9c698a73c3 -s ours am skip reason: Change-Id I582ab07ba12204e66e5d13a044a3bd7d18707961 with SHA-1 76f69d48af is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/12796471 Change-Id: Ice20b6c4a1a95c2a8897ba6843f192abe160c43b
2020-10-09[automerger skipped] Skip ab/6749736 in stage. am: 53de7a6e4e -s ours am: ↵Xin Li
60671c827d -s ours am skip reason: Change-Id I582ab07ba12204e66e5d13a044a3bd7d18707961 with SHA-1 76f69d48af is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/12796471 Change-Id: I273d8e2b61735bf3a6ca454cf9958ab220d98d8e
2020-10-09[automerger skipped] Skip ab/6749736 in stage. am: 53de7a6e4e -s oursXin Li
am skip reason: Change-Id I582ab07ba12204e66e5d13a044a3bd7d18707961 with SHA-1 76f69d48af is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/12796471 Change-Id: I8f4b98349b685fdfcf49892b4a971e343d2d2483
2020-10-08Skip ab/6749736 in stage.Xin Li
Merged-In: I582ab07ba12204e66e5d13a044a3bd7d18707961 Change-Id: I36d080065266e8cf73bc2eb5510f9e47e05c93f2
2020-09-11[automerger skipped] Merge "Merge Android R" am: 7bddc5a998 -s ours am: ↵Xin Li
e6a92a64e4 -s ours am: 29911e94bc -s ours am: 5ec0ee2680 -s ours am: 22088b81ec -s ours am skip reason: Change-Id I3a68890be6d2c62299703dea85b8aad11771e5bc with SHA-1 0b2dbb4621 is in history Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/1422137 Change-Id: Ida270f203b9b8c05b7bb35dff5b98a7ae9445e01
2020-09-11[automerger skipped] Merge "Merge Android R" am: 7bddc5a998 -s ours am: ↵Xin Li
e6a92a64e4 -s ours am: 29911e94bc -s ours am: 5ec0ee2680 -s ours am skip reason: Change-Id I3a68890be6d2c62299703dea85b8aad11771e5bc with SHA-1 0b2dbb4621 is in history Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/1422137 Change-Id: Ief2d409729de9413224773906ff892ea62893635
2020-09-11[automerger skipped] Merge "Merge Android R" am: 7bddc5a998 -s ours am: ↵Xin Li
e6a92a64e4 -s ours am: 29911e94bc -s ours am skip reason: Change-Id I3a68890be6d2c62299703dea85b8aad11771e5bc with SHA-1 0b2dbb4621 is in history Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/wlan/+/1422137 Change-Id: I22c537cff79403eec3d382ca215a34643fe50bbd