Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 9bc442c4 authored by Michael Bestas's avatar Michael Bestas
Browse files

Merge tag 'LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0' of...

Merge tag 'LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/qcacld-3.0 into android12-5.4-lahaina

"LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0"

* tag 'LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/qcacld-3.0:
  qcacld-3.0: Set bus bandwidth state to NONE in rutime suspend
  Release 2.0.8.31
  qcacld-3.0: Allow monitor mode vendor cmd only if mon iface is created
  Release 2.0.8.30Z
  qcacld-3.0: Fix variable type in sch_gen_timing_advert_frame
  Release 2.0.8.30Y
  qcacld-3.0: unblock the state control param thread at end of SSR
  Release 2.0.8.30X
  qcacld-3.0: notify reg change event once wifi on from GUI
  Release 2.0.8.30W
  qcacld-3.0: Rate limit DELBA process logs
  Release 2.0.8.30V
  qcacld-3.0: Fix the TWT suspend operation command failure
  Release 2.0.8.30U
  qcacld-3.0: Enable the ini param enable_pending_list_req by default
  Release 2.0.8.30T
  qcacld-3.0: Set bus bandwidth state to NONE in rutime suspend
  qcacld-3.0: Update the channel only if AUTH resp is successful
  Release 2.0.8.30S
  qcacld-3.0: Enable roam offload in wiphy based on roam ini set
  Release 2.0.8.30R
  qcacld-3.0: Fix invalid tx power in iw dev
  Release 2.0.8.30Q
  qcacld-3.0: Fix vdev reference count in packet capture
  Release 2.0.8.30P
  qcacld-3.0: Limit TPC power level for non-11be
  Release 2.0.8.30O
  qcacld-3.0: Don't proceed with roam synch after disassociation
  qcacld-3.0: enable shortgi for assoc req based on ap capabilities
  qcacld-3.0: Initialize bssid variable
  qcacld-3.0: Fix unsafe channel buffer size not align
  Release 2.0.8.30N
  qcacld-3.0: Check for allowed frequency during set pcl
  Release 2.0.8.30M
  qcacld-3.0: Avoid double free in sch_gen_timing_advert_frame
  Release 2.0.8.30L
  qcacld-3.0: Update preauth candidate entry to scan table
  Release 2.0.8.30K
  qcacld-3.0: Control GRO en/dis based on TC filter prio
  qcacld-3.0: Do GRO en/dis based on qdisc only for standalone STA
  Release 2.0.8.30J
  qcacld-3.0: Allow unprotected diassoc frame when keys are not installed
  qcacld-3.0: Ignore duplicated assoc req frame
  qcacld-3.0: Drop duplicate auth/assoc frames
  Release 2.0.8.30I
  qcacld-3.0: Tune normalize_acs_weight for 6 GHz non-PSC CH
  qcacld-3.0: Introduce a new flag to enable the low power mode
  Release 2.0.8.30H
  qcacld-3.0: Check FTM mode in vendor cmds handlers
  Release 2.0.8.30G
  qcacld-3.0: Use skb_orphan instead of skb_unshare in TX
  Release 2.0.8.30F
  qcacld-3.0: Enable uplink delay feature for Vordonisi
  qcacld-3.0: Peer may not be present if NDP confirm fails
  qcacld-3.0: Return success from dynamic nss chain support check for 1x1
  qcacld-3.0: Sanity check for session_id in roam
  Release 2.0.8.30E
  qcacld-3.0: Send the trigger reason as part of roam scan stats
  Release 2.0.8.30D
  qcacld-3.0: Acquire wakelock during roaming if key installation is pending
  Release 2.0.8.30C
  qcacld-3.0: Don't proceed with NDP peer handling if NDI is not UP
  Release 2.0.8.30B
  qcacld-3.0: Add check to avoid null pointer dereference
  Release 2.0.8.30A
  qcacld-3.0: Update MLME Cfg num_ppe_th
  Release 2.0.8.30
  qcacld-3.0: Skip STA connect on 6 GHz or 5 GHz indoor chan if SAP is up
  Release 2.0.8.29Z
  qcacld-3.0: Fetch the SSID offset based on frame subtype
  Release 2.0.8.29Y
  qcacld-3.0: Fix early roam scan stop threshold values
  Release 2.0.8.29X
  qcacld-3.0: Update auth_status and mac addr of roamed peer to dp
  Release 2.0.8.29W
  qcacld-3.0: Provide correct status code in case of no ack
  Release 2.0.8.29V
  qcacld-3.0: Move 6ghz check in band bitmap conversion API
  qcacld-3.0: Set correct roam band mask
  Release 2.0.8.29U
  qcacld-3.0: Do not set the BSS color disabled in HE op IE
  Release 2.0.8.29T
  qcacld-3.0: Add NULL check for tx_rx_hist
  Release 2.0.8.29S
  qcacld-3.0: Replace kmsg logs to debug logs
  Release 2.0.8.29R
  qcacld-3.0: Reduce logging level in pmf cap API
  qcacld-3.0: Update caller APIs of get power type for 6G API
  qcacld-3.0: Add psoc ptr arg in get 6G power type for ctry API
  qcacld-3.0: Reduce log level of certain error logs
  Release 2.0.8.29Q
  qcacld-3.0: Fix ref leak for temp sta info node
  Release 2.0.8.29P
  qcacld-3.0: Check for NAN state only if NAN SM is in host
  Release 2.0.8.29O
  qcacld-3.0: Pick a valid channel for NDI start
  Release 2.0.8.29N
  qcacld-3.0: Use WLAN_WEAR_CHIPSET to modify INI path
  Release 2.0.8.29M
  qcacld-3.0: Update ccfs2 in ht operation
  qcacld-3.0: Force "IDLE" level on BW timer stop
  Release 2.0.8.29L
  qcacld-3.0: init/deinit tx_rx_histogram along with hdd_bus_bandwidth
  Release 2.0.8.29K
  qcacld-3.0: Send correct Nth beacon config to FW in pkt capture
  Release 2.0.8.29J
  qcacld-3.0: Makefile change to generate driver name as qca_cld3_wlan
  Release 2.0.8.29I
  qcacld-3.0: Send the correct SAE authentication failure reason code
  Release 2.0.8.29H
  qcacld-3.0: Check if wma pointer is NULL
  Release 2.0.8.29G
  qcacld-3.0: Account for sched delay in TX/RX BW tuning
  Release 2.0.8.29F
  qcacld-3.0: Use hdd_for_each_sta_ref_safe API for connection status
  Release 2.0.8.29E
  qcacld-3.0: Fix roam failed for SAP CSA concurrency
  qcacld-3.0: Send broadcast probe rsp for 6G AP
  Release 2.0.8.29D
  qcacld-3.0: Change PAGE_FAULT log string to PF
  qcacld-3.0: Change log level of ns offload print
  Release 2.0.8.29C
  qcacld-3.0: Enable RX FCS reporting
  Release 2.0.8.29B
  qcacld-3.0: Save mac_id and mac_id_valid in TSF report
  qcacld-3.0: Add uplink delay in get_sta_info response
  Release 2.0.8.29A
  qcacld-3.0: Enable uplink delay feature for WCN6750
  qcacld-3.0: Handle uplink delay TSF commands
  qcacld-3.0: Configure TSF auto report to target
  Release 2.0.8.29
  qcacld-3.0: Add chload param in LL radio stats event

Change-Id: I455a86d4f824d0df660d321a4ca207ff1a871ae8
parents 66939b95 342f6e18
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -77,6 +77,10 @@ UAPI_INC := -I$(WLAN_ROOT)/$(UAPI_DIR)/linux
COMMON_DIR :=	core/common
COMMON_INC :=	-I$(WLAN_ROOT)/$(COMMON_DIR)

ifeq (qca_cld3, $(WLAN_WEAR_CHIPSET))
	cppflags-y += -DWLAN_WEAR_CHIPSET
endif

############ HDD ############
HDD_DIR :=	core/hdd
HDD_INC_DIR :=	$(HDD_DIR)/inc
@@ -3271,6 +3275,8 @@ cppflags-$(CONFIG_WLAN_FEATURE_PKT_CAPTURE) += -DWLAN_FEATURE_PKT_CAPTURE

cppflags-$(CONFIG_WLAN_FEATURE_PKT_CAPTURE_V2) += -DWLAN_FEATURE_PKT_CAPTURE_V2

cppflags-$(CONFIG_DP_RX_UDP_OVER_PEER_ROAM) += -DDP_RX_UDP_OVER_PEER_ROAM

cppflags-$(CONFIG_QCA_WIFI_NAPIER_EMULATION) += -DQCA_WIFI_NAPIER_EMULATION
cppflags-$(CONFIG_SHADOW_V2) += -DCONFIG_SHADOW_V2
cppflags-$(CONFIG_QCA6290_HEADERS_DEF) += -DQCA6290_HEADERS_DEF
+6 −0
Original line number Diff line number Diff line
@@ -13,7 +13,13 @@ M ?= $(shell pwd)

# WLAN_ROOT must contain an absolute path (i.e. not a relative path)
KBUILD_OPTIONS := WLAN_ROOT=$(shell cd $(KERNEL_SRC); readlink -e $(M))

# MODNAME should be qca_cld3_wlan for helium based wear target
ifeq (qca_cld3, $(WLAN_WEAR_CHIPSET))
KBUILD_OPTIONS += MODNAME?=$(WLAN_WEAR_CHIPSET)_wlan
else
KBUILD_OPTIONS += MODNAME?=wlan
endif

#By default build for CLD
WLAN_SELECT := CONFIG_QCA_CLD_WLAN=m
+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012-2018, 2020 The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for
 * any purpose with or without fee is hereby granted, provided that the
@@ -156,7 +157,7 @@ QDF_STATUS ucfg_action_oui_send(struct wlan_objmgr_psoc *psoc)
			continue;
		status = action_oui_send(psoc_priv, id);
		if (!QDF_IS_STATUS_SUCCESS(status))
			action_oui_err("Failed to send: %u", id);
			action_oui_debug("Failed to send: %u", id);
	}

exit:
+16 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
@@ -32,6 +33,7 @@
#include "wlan_vdev_mgr_utils_api.h"
#include "wni_api.h"
#include "wlan_mlme_vdev_mgr_interface.h"
#include "wlan_scan_api.h"

static void if_mgr_enable_roaming_on_vdev(struct wlan_objmgr_pdev *pdev,
					  void *object, void *arg)
@@ -744,6 +746,20 @@ QDF_STATUS if_mgr_validate_candidate(struct wlan_objmgr_vdev *vdev,
	if (!psoc)
		return QDF_STATUS_E_FAILURE;

	/*
	 * Do not allow STA to connect on 6Ghz or indoor channel for non dbs
	 * hardware if SAP and skip_6g_and_indoor_freq_scan ini are present
	 */
	if (op_mode == QDF_STA_MODE &&
	    !policy_mgr_is_sta_chan_valid_for_connect_and_roam(pdev,
							       chan_freq)) {
		ifmgr_debug("STA connection not allowed on bssid: "QDF_MAC_ADDR_FMT" with freq: %d (6Ghz or indoor(%d)), as not valid for connection",
			    QDF_MAC_ADDR_REF(candidate_info->peer_addr.bytes),
			    chan_freq,
			    wlan_reg_is_freq_indoor(pdev, chan_freq));
		return QDF_STATUS_E_INVAL;
	}

	/*
	 * Ignore the BSS if any other vdev is already connected to it.
	 */
+4 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
@@ -28,6 +29,7 @@
#include "wlan_p2p_ucfg_api.h"
#include "wlan_tdls_ucfg_api.h"
#include "wlan_tdls_api.h"
#include "wlan_cm_roam_api.h"

QDF_STATUS if_mgr_connect_start(struct wlan_objmgr_vdev *vdev,
				struct if_mgr_event_data *event_data)
@@ -140,6 +142,7 @@ QDF_STATUS if_mgr_connect_complete(struct wlan_objmgr_vdev *vdev,

	policy_mgr_check_n_start_opportunistic_timer(psoc);

	if (!wlan_cm_roaming_in_progress(pdev, vdev->vdev_objmgr.vdev_id))
		policy_mgr_check_concurrent_intf_and_restart_sap(psoc);

	return QDF_STATUS_SUCCESS;
Loading