Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2179187rdd; Fri, 12 Jan 2024 01:33:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOqu5GbeqJtoMQAN6uTWkZ/T9+ZoIPvF3VCpEO1nQwP5EzAZllegDj6F/74hLOOQrBPITS X-Received: by 2002:a9d:64d3:0:b0:6dd:ee04:981d with SMTP id n19-20020a9d64d3000000b006ddee04981dmr1317068otl.44.1705051980992; Fri, 12 Jan 2024 01:33:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705051980; cv=none; d=google.com; s=arc-20160816; b=e9NGazNT4mqLFWjXXZTjR1mp+fjQpZFEs+zmkwOoH3hI2hRMbiZpgg221zh5xmCvep PST0OLGKUjCJ5Lu69Qa7HLFfioYMV3sipS/l1XoJWtqbYzz2B/ZR/cdlFQSuQca/Igsa BvkJCsI3zez7HNh6AhkgN9nmLV+GA0CEpW8/gcIb9uH2ZIULeC3bydjUN7Rq6lulznWn 6xa6ig6DUDpm0UvP+y5fI7meAxUWc7EzDl1+GavLjfo3cymq9quHGOti74l8DeMnZVc0 SloRjLjo32J8TlnPKsSYdmuelYdNqcr2HKfZgBzJ2UELXf0cGoomWC1w9rcRvNYG6DAi PEsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=aOFmsla+gzAKF3MWInY1LIyCAgQ599s1anOZV7PtMzM=; fh=nsXMNwyQ6Js4V/BswY1tH4B32D/qQcO3q9PUs38uuf4=; b=EIUBFqchIjqISASPQWN1gETAckD3iH7hkiL7ZdS0HeQaueKD1sLCvvzQFeZGflBG2S 8pVq4PB09qFEEUq1+oRfiOujVJSsqiU5PdQkWgj2bfT2QA7mgXsArGP3szEGjbieyP8N DCHc71+kfA2kiRo3DDMO7tQ5Ao6ZgGxW1bXKKja7IoBCjZU90SMoxy7Hz86sv+f8/vrR sxHYynwYh46sb1Lvttsa93q2OYgFru4D5WHGqElMQq7NMvjPiVToaNXgNSvcLOEsdU2L jXinRW0t3bzfLpaDNQqmlBGjzxo+u9wW7V3EdK/p3letTFDQvV1T809PtwiATrQ1DyhU uHzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=bcTqziAA; spf=pass (google.com: domain of linux-wireless+bounces-1799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1799-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g11-20020a63564b000000b005cdc2cc9a17si2821378pgm.797.2024.01.12.01.33.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 01:33:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=bcTqziAA; spf=pass (google.com: domain of linux-wireless+bounces-1799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1799-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 770FDB25A8C for ; Fri, 12 Jan 2024 09:30:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B9C45DF10; Fri, 12 Jan 2024 09:28:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="bcTqziAA" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C7235DF03 for ; Fri, 12 Jan 2024 09:28:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40C8RLA4015756; Fri, 12 Jan 2024 09:28:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=aOFmsla+gzAKF3MWInY1LIyCAgQ599s1anOZV7PtMzM=; b=bc TqziAANXchwnOsfWigJ4Ytm+Jpp7EppKREZR9TDPNXpqCvRrRwH3NzKiqkIgrlNC zGA4/ggr67HdC1ycebAQ6dETv3KBCxIdy8EhZd22AynCQ0jfJF1+WK+y3dhzORoo gzct5dyRUbGxnT2rcvCagV/n2qNb7dO9DOd62v7cSucckTXhkNU1N14cceXswS59 OVvvstXvQ3I0Tag3j2rF0ULS7RiyIY5N1UFQ/kK2t9dDLfi+NlbfkLSuVjth5nkt N6/rMcEJyHyp63Ff6XAMqpIoiUnR+lfx+SYYV9SndyqmVHbdax4KKyODh9m8vRQO 2NUDPnZPU1lDc/hoWCkg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vk1x188jy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jan 2024 09:28:46 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40C9Sk7T019410 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jan 2024 09:28:46 GMT Received: from yk-E5440.qca.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 12 Jan 2024 01:28:44 -0800 From: Kang Yang To: CC: , Subject: [PATCH v2 05/10] wifi: ath12k: change WLAN_SCAN_PARAMS_MAX_IE_LEN from 256 to 512 Date: Fri, 12 Jan 2024 17:28:19 +0800 Message-ID: <20240112092824.7664-6-quic_kangyang@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240112092824.7664-1-quic_kangyang@quicinc.com> References: <20240112092824.7664-1-quic_kangyang@quicinc.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 29rdsBWtDGEigPNDon8ziUSWQZnMhkNb X-Proofpoint-GUID: 29rdsBWtDGEigPNDon8ziUSWQZnMhkNb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 mlxscore=0 spamscore=0 phishscore=0 adultscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401120072 Mac80211 needs more space for P2P scan ie in P2P mode, 256 is not enough, resize it to 512. Also delete the duplicate macro definitions in wmi.h. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 Signed-off-by: Kang Yang --- v2: add Tested-on tag of QCN9274. --- drivers/net/wireless/ath/ath12k/wmi.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/wireless/ath/ath12k/wmi.h b/drivers/net/wireless/ath/ath12k/wmi.h index 0b8203bb5381..0efed12dd7ab 100644 --- a/drivers/net/wireless/ath/ath12k/wmi.h +++ b/drivers/net/wireless/ath/ath12k/wmi.h @@ -168,10 +168,6 @@ struct wmi_tlv { #define WLAN_SCAN_MAX_HINT_BSSID 10 #define MAX_RNR_BSS 5 -#define WLAN_SCAN_PARAMS_MAX_SSID 16 -#define WLAN_SCAN_PARAMS_MAX_BSSID 4 -#define WLAN_SCAN_PARAMS_MAX_IE_LEN 256 - #define WMI_APPEND_TO_EXISTING_CHAN_LIST_FLAG 1 #define WMI_BA_MODE_BUFFER_SIZE_256 3 @@ -3146,7 +3142,7 @@ struct ath12k_wmi_element_info_arg { #define WLAN_SCAN_PARAMS_MAX_SSID 16 #define WLAN_SCAN_PARAMS_MAX_BSSID 4 -#define WLAN_SCAN_PARAMS_MAX_IE_LEN 256 +#define WLAN_SCAN_PARAMS_MAX_IE_LEN 512 /* Values lower than this may be refused by some firmware revisions with a scan * completion with a timedout reason. -- 2.34.1