summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-16Issue legacy GET_STATION command on new command GET_STA failureTanmay Garg
In case of QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO failure, call QCA_NL80211_VENDOR_SUBCMD_GET_STATION. Change-Id: I27e6b67831df01da27b94447f464c3e1dbf37ea0 CRs-Fixed: 2900356
2021-03-16wpa_supplicant_8_lib: Update GETSTATSBSSINFOTanmay Garg
Update GETSTATSBSSINFO to use new vendor command QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO to collect new vendor attributes and keep using the old command QCA_NL80211_VENDOR_SUBCMD_GET_STATION to collect other attributes. Change-Id: I75894ceecfe59c330b34d7919ac72e6f4a1f02d5 CRs-Fixed: 2900026
2021-03-16GETSTATSSTAINFO: Parse new vendor attrs for get_sta_info vendor commandTanmay Garg
Parse and return to user the new vendor attrs for get_sta_info vendor command (GETSTATSSTAINFO). Change-Id: I54121e90221bc4c32649a0471b8a6663ea0a32e7 CRs-Fixed: 2900023
2021-03-12wpa_supplicant_8_lib: update qca-vendor_copy.hMohammad Asaad Akram
This commit updates qca-vendor_copy.h to latest qca-vendor.h as specified on 12/03/2021 at https://w1.fi/cgit/hostap/tree/src/common/qca-vendor.h Change-Id: I644d68ff4b19f45f3e9df0574454b8e5a5c2f6ee CRs-Fixed: 2898435
2021-03-11Remove the log which comes for vendor eventMohammad Asaad Akram
wpa_supplicant_8_lib print log for vendor event while checking if it is oem specific library event. But, every vendor event may not be oem specific. So, remove the log which might be unnecessary. Change-Id: I1d48204fcc63ace43d798561130539f2480084f8 CRs-Fixed: 2897535
2021-03-03Merge 711dfb7771da1366b40aa60b5a89580561cf01b1 on remote branchLinux Build Service Account
Change-Id: I1724b6d16ca39683d3d74039488d05d5f41e6a66
2021-02-22Merge 2777b3a69a7517627e04c5873c496e974a3717c7 on remote branchLinux Build Service Account
Change-Id: I475cb3cfc122624e2d0f643947436d91ece356a6
2021-02-15Invalid indexing for tb_vendorKhanjan Desai
While getting sta info handler, tb_vendor was parsed with invalid length value NL80211_ATTR_MAX_INTERNAL. This can lead to buffer overflow. Corrected the length to GET_STATION_INFO_MAX. Change-Id: Ida1091e1d805cdb31452174010cc39d568f5e101 CRs-Fixed: 2875794
2021-02-04wpa_supplicant_8_lib: Update GETSTATSSTAINFOTanmay Garg
Update GETSTATSSTAINFO to use new vendor command QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO and fall back to the old command QCA_NL80211_VENDOR_SUBCMD_GET_STATION if new command is not supported. Change-Id: Iba5f32eb28d9afa84c80178cec9b8364f13be1b3 CRs-Fixed: 2810086
2021-02-04Merge 5d9762866db166c667ce629851e29315bf18e5b6 on remote branchLinux Build Service Account
Change-Id: I78837a739ae719ef20c324546d66f8c71b53564c
2021-02-03Merge "wifihal: Fix possible buffer-overflow during TLV read" into ↵CNSS_WLAN Service
wlan-aosp.lnx.6.0
2021-02-03wifihal: Fix possible buffer-overflow during TLV readMohammad Asaad Akram
The function NANTLV_ReadTlv currently doesn't checks if the amount of bytes in the TLV buffer is bigger than what is encoded within the TLVs. This commit adds checks for the availability of the buffer before reading the incoming TLVs. Change-Id: I0336ebbdcdc5db949ee275e22895ec83cdcafcc8 CRs-Fixed: 2836493
2021-02-02Merge "llstats: Use mNumRadioAllocated for real radio stats recevied" into ↵CNSS_WLAN Service
wlan-aosp.lnx.6.0
2021-02-01wpa_supplicant_8_lib: support to set congestion reportChenming Huang
Add support to set congestion report. CRs-Fixed: 2801112 Change-Id: I9712c16cd524cdfc0d3281e695f3c2542111781f
2021-01-27Merge "wpa_supplicant_8_lib: register wpa_msg callback for oem libraries" ↵CNSS_WLAN Service
into wlan-aosp.lnx.6.0
2021-01-27Merge "wpa_supplicant_8_lib: Get the callback handler to process vendor ↵CNSS_WLAN Service
events." into wlan-aosp.lnx.6.0
2021-01-27Merge "wpa_supplicant_8_lib: update qca-vendor_copy.h" into wlan-aosp.lnx.6.0CNSS_WLAN Service
2021-01-27llstats: 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. CRs-Fixed: 2863682 Change-Id: Ia1c8484307182a3fab8fbfbde2a9be9047eade61
2021-01-23Merge 907f50448985fb19c517b2e6cd36e18e1be5802c on remote branchLinux Build Service Account
Change-Id: Idb9d1e63aec2529f6e0fe745fe37eefcb20c75b8
2021-01-22Merge "Feature capability to fetch concurrent sessions on Wi-Fi Bands" into ↵CNSS_WLAN Service
wlan-aosp.lnx.6.0
2021-01-22wpa_supplicant_8_lib: register wpa_msg callback for oem librariesMohammad Asaad Akram
This patch registers the wpa_msg_handler function to the oem shared libraries. With this oem libraries can print on wpa_cli console. Change-Id: Ie5869e4634dcf7f6e436e7f78249370506d5058f CRs-Fixed: 2854512
2021-01-21wpa_supplicant_8_lib: Get the callback handler to process vendor events.Mohammad Asaad Akram
This commit gets the callback handlers from the oem libraries and invokes them to further process the NL80211 Vendor Events. The API wpa_driver_nl80211_driver_event shall be invoked by wpa_supplicant on getting the NL80211 vendor event from the driver. Change-Id: Ideb50f3e212c5f0ea35fede6c5ab734c63b8b559 CRs-Fixed: 2854512
2021-01-17wpa_supplicant_8_lib: update qca-vendor_copy.hMohammad Asaad Akram
This patch updates qca-vendor_copy.h to latest qca-vendor.h Change-Id: I411381ceea228e51cb211a286c6892a55f5314f9 CRs-Fixed: 2854512
2021-01-12Merge "llstats: Add negative length check befor memcpy" into wlan-aosp.lnx.6.0CNSS_WLAN Service
2021-01-12llstats: 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. Change-Id: I0e641a09af920e5d3db6fb3f2f526533907f74f9 CRs-Fixed: 2836818
2021-01-12Merge "wifihal: Filter out bridge interfaces" into wlan-aosp.lnx.6.0CNSS_WLAN Service
2021-01-12Merge "wifihal: Update driver control param to check driver is ready" into ↵CNSS_WLAN Service
wlan-aosp.lnx.6.0
2021-01-07WifiHal: Release the lock before function returnKhanjan Desai
Release the lock before function return. Change-Id: I8b8ea91965d4bb9e589780d3584dec549e17d413 CRs-Fixed: 2848067
2021-01-07wifihal: Filter out bridge interfacesHu Wang
Filter out bridge interfaces in is_wifi_interface(), as wifihal only needs to create interface handles for wifi interfaces. Change-Id: Ib37ee2bf9034c3e2a4e328858eb66af163fa6109 CRs-Fixed: 2850282
2021-01-06Correct the bw derivation from the HE operation elementTanmay Garg
Enhance the bw derivation from the HE operation element by bringing it in sync with wpa_supplicant_8 implementation. Also apply some minor code cleaning. Change-Id: I88759122292714ab1acb9b11f9da436afd957ea9 CRs-Fixed: 2833018
2021-01-05wpa_supplicant_8_lib: Fix instances of using same buf for cmd and replyVeerendranath Jakkam
Using same buffer for command and reply is not correct as reply buf may get reset before processing command in wpa_driver_nl80211_driver_cmd(). Change-Id: I3fa5ed9a5ad3377f4aa4db28f2a23295f3129063 CRs-Fixed: 2837675
2021-01-05wifihal: Update driver control param to check driver is readyVeerendranath Jakkam
Write driver control param and wait for successful update to make sure driver is ready in LONU model. Change-Id: I8e29365be4d358d374191ea47309b358ef330e88 CRs-Fixed: 2841217
2021-01-04Merge "Resolve compilation error for fib_rule_port_range with fib_rules.h" ↵CNSS_WLAN Service
into wlan-aosp.lnx.6.0
2021-01-02Merge 75ee73a60e0218bde351222082941a0317657ace on remote branchLinux Build Service Account
Change-Id: Ifcdffd745d5a82c753914353a6126de8e3e3eaff
2020-12-16WifiHal: Invalid length check for fw-diag msgKhanjan Desai
Due to invalid length in firmware message, the ring buffer overflows. Added check for length and returned error in case of invalid length. Change-Id: I0daeed2335f7fb7661f44bb119776979d51b906d CRs-Fixed: 2837711
2020-12-14Merge 3e54543bdac9698ae1f0d5eca01380e7bee28269 on remote branchLinux Build Service Account
Change-Id: I4668bb88ba4e881a8495925568158898524131ec
2020-12-13wifi-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. CRs-Fixed: 2836431 Change-Id: I1a870c5f89394e2f66b1bbc16ea651ef5259772d
2020-12-10Resolve compilation error for fib_rule_port_range with fib_rules.hSreeramya Soratkal
New members of type fib_rule_port_range are added in the structure rtnl_rule in netlink-private/types.h. This causes compilation error corresponding to the structure rtnl_rule of netlink-private/types.h which is included in wifi_hal. Update the header dependency in wifi_hal to include fib_rules.h to resolve compilation issues with fib_rules_port_range. CRs-Fixed: 2836075 Change-Id: I83a7c55ee96f74a80c59caaa0e8a3437eaec60c0
2020-12-02Feature capability to fetch concurrent sessions on Wi-Fi BandsSwarn Singh
This commit fetch concurrent sessions info from driver to know if the device supports concurrent network sessions on different Wi-Fi Bands. and reply back to upper layer. Change-Id: Ic0a6a57a64617d0831013a0ceeb723e3b8de8cc4 CRs-Fixed: 2831141
2020-11-26wpas_8_lib: fix qca-vendor enum attributesMohammad Asaad Akram
This patch fixes the wpa_supplicant_8_lib to use qca-vendor.h definition instead of local one. Change-Id: I91fd3af326eb2dbb6c10f39c635e55ac3d8d9c93 CRs-Fixed: 2809077
2020-11-24Merge "wpa_supplicant_8_lib: add support for get thermal info" into ↵CNSS_WLAN Service
wlan-aosp.lnx.6.0
2020-11-24Merge "wpa_supplicant_lib: Add support for set ani level command" into ↵CNSS_WLAN Service
wlan-aosp.lnx.6.0
2020-11-24Merge "wpa_supplicant_8_lib: update qca-vendor_copy.h" into wlan-aosp.lnx.6.0CNSS_WLAN Service
2020-11-24Merge "wpa_supplicant_8_lib: Maintain a copy of qca_vendor" into ↵CNSS_WLAN Service
wlan-aosp.lnx.6.0
2020-11-23wpa_supplicant_8_lib: add support for get thermal infoChenming Huang
Add support to get thermal info 1. Add function to send nlmsg to request thermal info. 2. Add callback to receive thermal info from driver. CRs-Fixed: 2789533 Change-Id: Iaacd9b41436f3ee459f6a1ec9dd5ea3e564817a5
2020-11-23wpa_supplicant_lib: Add support for set ani level commandChenming Huang
This supports to set ani level to driver command CRs-Fixed: 2786763 Change-Id: I17594842ace84af5f90aca77a7ad9848ca161b33
2020-11-23wpa_supplicant_8_lib: update qca-vendor_copy.hMohammad Asaad Akram
Change-Id: Ida48484f74917773db9478d3bd2b617452599b58 CRs-Fixed: 2814053
2020-11-24wpa_supplicant_8_lib: Maintain a copy of qca_vendorMohammad Asaad Akram
This patch keeps a new copy of qca_vendor.h to decouple the qssi dependency. Change-Id: I3ec9f2c842d4268cf0ad670dac1692131e1b6d61 CRs-Fixed: 2814053
2020-11-23Merge 6a6f988fd12c6e30ffd5727cbe09db879c4e558d on remote branchLinux Build Service Account
Change-Id: Ibdb511f757de16cdf03086509c4dcbf17ed32e2d
2020-11-10wifihal: Fix compile issue for wifi_set_latency_modeHu Wang
Commit I639200fdabe9355219d725b3ed1f9d99f30bba64 removes macro for wifi_set_latency_mode definition, but left implementation guarded by macro which causes compile issue in pure AOSP SI. This CL fixes this compile issue. CRs-Fixed: 2812380 Change-Id: I506a1797335ec422b32efbde643564a10ec4e9de