summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| | | * | | | qcacld-2.0: Fix multiple length definition issue in WLAN FW messageTiger Yu2019-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, firmware fills the num variables value of param_tlvs structure for all wmi commands. But during buffer write the fixed param values are used to check maximum limit of buffer in wmi commands. Due to multiple length definition of num variable in WLAN FW message, num variables of param_tlvs may not equal to max limit defined in fixed_param, resulting OOB issues in WLAN FW messages during buffer write. Add sanity check to make sure that num variables value doesn’t exceed max limit of num value defined in param_tlvs. Change-Id: I43c15557057ab5b900f19b9f54426dcdf85e2c27 CRs-Fixed: 2226556
| | * | | | | qcacld-2.0: Fix buffer overflow in htt_t2h_msg_handler_fastLihua Liu2019-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Propagate from qcacld3.0 to qcacld2.0 Currently variable "num_mpdu_ranges" is from message, which is used directly without any validation which causes buffer over-write. To avoid buffer over-write add check for the valid num_mpdu_ranges Change-Id: I54e138d4bd63cbe7a0ae4faf0fe9d8e59ca92c71 CRs-Fixed: 2500393
| | * | | | | qcacld-2.0: Add support for report TX failed pkt to upper layergaolez2019-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previouly, wlan host driver only report TX successful packets to upper layer, by this change TX failed packets will also report to upper layer. Change-Id: Ib9b021675ebd388107f8bf1a61703f2b6cebb882 CRs-Fixed: 2471421
| | * | | | | Merge "qcacld-2.0: Send user space about FW CRASHED indication" into ↵CNSS_WLAN Service2019-07-25
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | | qcacld-2.0: Send user space about FW CRASHED indicationYu Ouyang2019-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In function ol_target_failure(), if enable_self_recovery is true, fw_indication_work_handler() will be called. Ramdump collection will not be executed. But for no CNSS module platform, recovery flag is neither cleaned, no any FW indication is sent to user space. Even enable_self_recovery is false, no FW crashed indication sent to user space. So, add new function vos_svc_fw_crashed_ind() to send FW CRASHED IND to user space, and clean recovery flag. Change-Id: Idd76f2e1045353a95e0a902a9480169187b452f7 CRs-Fixed: 2487139
| | * | | | | | qcacld-2.0: Add CONFIG_MULTI_IF_LOG to support multi if loglifeng2019-07-25
| | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add CONFIG_MULTI_IF_LOG to support multi if log by assigning the specific netlink protocol when dual wlan cards are loaded. Change-Id: I127a3ee76bd6747aae48e9a62511a7acbfebcec9 CRs-Fixed: 2496563
| | * | | | | qcacld-2.0: Fix compile error excluding static 11p channelsLi Feng2019-07-22
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following fix for the previous change If2f7f0e99f5a7b5682e0d6cc0d99eae11cdd7e73 that fix compile error excluding static 11p channels. Change-Id: Ic78ee2588997ce9f6cec0aac2eaaff945ab88e89 CRs-Fixed: 2491274
| | * | | | Merge "qcacld-2.0: Use correct format code in for the type of size_t" into ↵CNSS_WLAN Service2019-07-17
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | qcacld-2.0: Use correct format code in for the type of size_tgaolez2019-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size_t should use %zu as its format code in the print function, if not, it will cause compile error in some strict compile rule case. Change-Id: Ie60f29a323d0f4313caabd5ff04dd36575240866 CRs-Fixed: 2491532
| | * | | | | qcacld-2.0: Validate 11p channel from static channel listLi Feng2019-07-16
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Validate 11p channel from static channel list rather than kernel db.txt which do NOT include 11p channel info yet. Change-Id: If2f7f0e99f5a7b5682e0d6cc0d99eae11cdd7e73 CRs-Fixed: 2491274
| | * | | | Merge "qcacld-2.0: Support to pass HW version to userspace" into ↵CNSS_WLAN Service2019-07-15
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | qcacld-2.0: Support to pass HW version to userspaceAjit Vaishya2019-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently QCA_WLAN_VENDOR_ATTR_WIFI_INFO_FIRMWARE_VERSION vendor attribute sends firmware version only to user space, not hardware version. But user space modules expecting hardware version too for this attribute and thus getting NULL value for hardware version. This commit adds hardware version too to this attribute, so that user space modules reads the hardware version. Change-Id: I52702226059a21500565de48cdaf1a8230fb48d0 CRs-Fixed: 2428730
| | * | | | | Merge "qcacld-2.0: Revert "RSN IE Update in case of BSS already started"" ↵CNSS_WLAN Service2019-07-15
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into wlan-cld2.driver.lnx.1.0
| | | * | | | | qcacld-2.0: Revert "RSN IE Update in case of BSS already started"Liangwei Dong2019-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change causes duplicate RSN IE regression issue. This reverts commit I2a67156e66e255e7c007a5925cd81b859009114e. Change-Id: I341897374736483742fa34585e2e8849d4a8a891 CRs-Fixed: 2488737
| | * | | | | | Merge "qcacld-2.0: Adjust CFG_SET_TSF_GPIO_PIN_MAX value to 255" into ↵CNSS_WLAN Service2019-07-12
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | | | qcacld-2.0: Adjust CFG_SET_TSF_GPIO_PIN_MAX value to 255Li Feng2019-07-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust CFG_SET_TSF_GPIO_PIN_MAX value to 255 to eliminate range checking error. Change-Id: I5bd63b8414141b23b56b5fbba9dacf39571286f9 CRs-Fixed: 2482770
| | * | | | | | | Merge "qcacld-2.0: Adjust loglevel in txrx" into wlan-cld2.driver.lnx.1.0CNSS_WLAN Service2019-07-12
| | |\ \ \ \ \ \ \
| | | * | | | | | | qcacld-2.0: Adjust loglevel in txrxLi Feng2019-07-08
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust loglevel in txrx to eliminate log. Change-Id: Id36d4d736657738c36512e13e212d3fd1fe49e4c CRs-Fixed: 2482770
| | * | | | | | | Merge "qcacld-2.0: Adjust loglevel in __wmi_control_rx()" into ↵CNSS_WLAN Service2019-07-12
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | | | | qcacld-2.0: Adjust loglevel in __wmi_control_rx()Li Feng2019-07-09
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust loglevel in __wmi_control_rx() to eliminate log. Change-Id: I0e9a852c0dbe3cf26a81f7ac0616a4f76357a1f8 CRs-Fixed: 2482770
| | * | | | | | | Merge "qcacld-2.0: Set ini 5g_rssi_penalize_factor as signed integer" into ↵CNSS_WLAN Service2019-07-12
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | | | | qcacld-2.0: Set ini 5g_rssi_penalize_factor as signed integerLi Feng2019-07-04
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set ini 5g_rssi_penalize_factor as signed integer. Change-Id: If9914fc11f322cf51f2cfa6c49f4a67b34b6fab0 CRs-Fixed: 2482770
| | * | | | | | | Merge "qcacld-2.0: Set ini 5g_rssi_boost_threshold as signed integer" into ↵CNSS_WLAN Service2019-07-12
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | | | | qcacld-2.0: Set ini 5g_rssi_boost_threshold as signed integerLi Feng2019-07-04
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set ini 5g_rssi_boost_threshold as signed integer. Change-Id: I8a7d032c86b97925d695b4677c12da3689408902 CRs-Fixed: 2482770
| | * | | | | | | Merge "qcacld-2.0: Adjust loglevel in print_hdd_cfg()" into ↵CNSS_WLAN Service2019-07-12
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | | | | qcacld-2.0: Adjust loglevel in print_hdd_cfg()Li Feng2019-07-04
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate ini g_sta_change_cc_via_beacon print message. Change-Id: I7f02b58aae5ee6e75e895b532077db1d69b51e3b CRs-Fixed: 2482770
| | * | | | | | | Merge "qcacld-2.0: Adjust loglevel in print_hdd_cfg()" into ↵CNSS_WLAN Service2019-07-12
| | |\ \ \ \ \ \ \ | | | |_|/ / / / / | | |/| | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | | | qcacld-2.0: Adjust loglevel in print_hdd_cfg()Li Feng2019-07-04
| | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate ini gEnableHostapdEdcaLocal print message. Change-Id: I322c0ab26a5e915f66a8e5f8099b71e84b067c3d CRs-Fixed: 2482770
| | * | | | | | Merge "qcacld-2.0: Add host tx queue statistic" into wlan-cld2.driver.lnx.1.0CNSS_WLAN Service2019-07-10
| | |\ \ \ \ \ \
| | | * | | | | | qcacld-2.0: Add host tx queue statisticgaolez2019-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add host tx queue statistic for HL device. So user can get such info by debugfs. Change-Id: Ibf107f8f5d91b67d39bf3a2347f8c2018661e31e
| | * | | | | | | qcacld-2.0: Add rx time statistic for dump surveygaolez2019-07-09
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add rx time statistic for cfg80211 dump survey interface function. Change-Id: I3fa4046ca7657f92fe8fa5c13d72efec065afbcb
| | * | | | | | qcacld-2.0: Fix loss of DSRC per packet tx statsFerry Zhou2019-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two corner cases as below that have too many failures of frame transmission in firmware, which results in use out of tx stats ring item. The driver can't reclaim ring item timely since the continuous transmission failaures occupy so many ring items. So, when driver has no free ring items, it overwrites complete tx stats items, which results in loss of per packet tx stats items. Two corner cases of transmission failaures in firmware: 1) tx lots of packets on channel1 in multi-channel mode without GPS/PPS, which indicates WAL_TX_COMP_TYPE_DISCARD in firmware. 2) tx lots of unicast packets routed to a nonexistent peer device, which indicates HTT_TX_COMPL_IND_STAT_NO_ACK in firmware. Fix it in three aspects: 1) enlarge ring depth from 32 to 128. 2) reclaim tx stats items of host first to keep the complete tx stats items as much as possible. 3) reclaim tx stats items of host when receive invalid tx power from firmware. Change-Id: I00707e881581c168b58bd92483772e2f6c03e117 CRs-fixed: 2447385
| | * | | | | | Merge "qcacld-2.0: Zero sRegulatoryChannel before create new reg entry" into ↵CNSS_WLAN Service2019-07-07
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | | | qcacld-2.0: Zero sRegulatoryChannel before create new reg entrybings2019-07-04
| | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup pnvEFSTable->halnv.tables.regDomains[temp_reg_domain].channels before create new reg entry, otherwise it keeps invalid values set last time. Change-Id: I80f8485d31f3c9c9218de082a752d6a8b13c8ae6 CRs-Fixed: 2483641
| | * / / / / / qcacld-2.0: Fix potential double free in wma_log_supported_evt_handlerPaul Zhang2019-07-04
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | propagation from qcacld-3.0 to qcacld-2.0 In wma_log_supported_evt_handler, events_logs_list in wma handle is freed if previously allocated. If the num_of_diag_events_logs exceeds the max size, we exit from the function early without allocating memory for events_logs_list. This can result in potential double free scenario if we receive another DIAG_EVENT_LOG_SUPPORTED event from firmware. Fix is to set events_logs_list pointer to NULL after freeing memory. Change-Id: I9d6148dfc064d87e2947d1b5ec4492c08913dd4c CRs-Fixed: 2482603
| * | | | | | qcacld-2.0: limit time for scan when miracast is runningRajshekar Eashwarappa2019-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When scanning the passive channels the device will be offchannel for some ms which is affecting the miracast session. Change-Id: Id2bda3469f4e8f46d0e2601f5ff43eb459112bd4
| * | | | | | Merge f66a9554da973ef80498e3f0a6547fa31a7b9872 on remote branchLinux Build Service Account2019-07-10
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4399f6a521eedc0c02f7d5e5584952761c721a12
| | * | | | | Merge "qcacld-2.0: Add GPIO config and output setting" into ↵CNSS_WLAN Service2019-06-28
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | | qcacld-2.0: Add GPIO config and output settingZhang Qian2019-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add GPIO config and output setting. Change-Id: Ib4c1c3b1db06367128af1d97301644fd4fb44ce6 CRs-Fixed: 2478372
| | * | | | | | Merge "qcacld-2.0: Set SAE auth type for PMKID cached connect request" into ↵CNSS_WLAN Service2019-06-27
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | | | qcacld-2.0: Set SAE auth type for PMKID cached connect requestLiangwei Dong2019-06-26
| | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new supplicant will use NL80211_AUTHTYPE_OPEN_SYSTEM 80211 auth type to connect to pmkid cached AP. Driver needs to populate SAE auth type to roam profile if SAE AKM present. Change-Id: I982816f33468f8499dfbf857c31c025f704a21aa CRs-Fixed: 2476501
| | * | | | | | Merge "qcacld-2.0: Define FEATURE_LARGE_PREALLOC" into wlan-cld2.driver.lnx.1.0CNSS_WLAN Service2019-06-27
| | |\ \ \ \ \ \
| | | * | | | | | qcacld-2.0: Define FEATURE_LARGE_PREALLOCtinlin2019-06-25
| | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | System may rmmod wlan.ko and then insmod repeatedly. After system runs for a while, it may fail to load wlan driver due to memory fragmentation. If the size of wlan.ko is as small as it could, the ratio of driver load failure can be lower. Define FEATURE_LARGE_PREALLOC to put all the module realization in wlan_prealloc.ko while wlan.ko only contains module init/exit. If system only rmmods wlan.ko and it is easily insmod. Change-Id: I0927c372a3733c886bbbfe440db58967d8ad7e8b CRs-Fixed: 2417924
| | * | | | | | Merge "qcacld-2.0: Fix potential memory leak and wrong bw value" into ↵CNSS_WLAN Service2019-06-27
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | | | qcacld-2.0: Fix potential memory leak and wrong bw valueHong Shi2019-06-26
| | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix potential memory leak and wrong bw value Change-Id: I3dbde75a05f05d9a54f8d7c38b18a4901964e4eb CRs-fixed: 2477677
| | * / / / / / qcacld-2.0: Provide iwpriv to configure candidate channelbings2019-06-25
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently driver will switch to random channel when radar is detected. Some vendors expect driver to switch to the non-dfs channel specified by themself. Provide iwpriv to configure candidate channel, then driver switches to the configured channel when radar is detected. Change-Id: Ib7be2691efce2aac55ebc51ea8bf3cc4008abee6 CRs-Fixed: 2478265
| | * | | | | Merge "qcacld-2.0: Avoid buffer leakage when handle 11w rmf" into ↵CNSS_WLAN Service2019-06-14
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0
| | | * | | | | qcacld-2.0: Avoid buffer leakage when handle 11w rmfJianmin Zhu2019-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If 11w is enabled, mmie should be included in broadcast multicast rmf, length check need consider it to avoid buffer overflow, if length check failed, need free pkt before return. Change-Id: Id49ff50cd97eb95a4820cfa0f8e4c37a69d5e764 CRs-Fixed: 2468208
| | * | | | | | qcacld-2.0: Fix build error in third party platformbings2019-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix build error in third party platform. Change-Id: Ida7aa766dd6dc524e843f9bd6655e1a2e719a229 CRs-fixed: 2470702
| | * | | | | | Merge "qcacld-2.0: Update API in driver to support kernel version 3.10" into ↵CNSS_WLAN Service2019-06-12
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan-cld2.driver.lnx.1.0