Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp28890lqn; Thu, 11 Apr 2024 12:42:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVI8FtYJi8UwRZ0U7tSPq4+k3ACHHhEymor5Vxco4Vw/jMU71iiyy5dCUC778tuDHyyKJ5UEq7fWXthjkinr5EOodOyJYZA2TubrEdXaA== X-Google-Smtp-Source: AGHT+IHkqdOubqdLEMp1WOBwlPZnmp4aTrSqzzD43IOgnOASdKFQQLT1F2MfLePh1EvAxTs9DfL7 X-Received: by 2002:a05:620a:55aa:b0:78d:5eb0:88ad with SMTP id vr10-20020a05620a55aa00b0078d5eb088admr1132300qkn.34.1712864526709; Thu, 11 Apr 2024 12:42:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712864526; cv=pass; d=google.com; s=arc-20160816; b=U05bWKoZgPeff7Xt6ear2lmFx51+1DPnkCTzR5G0ZAKa3LjfcnTozPOjrw3166aRYM 8b4xdv6ivD/Z4yt31kUL4yIKCWD8EHmvh5xYdLbWjzcLx4xpqJfb5Fik4uU3VWzlJAfq Qoo/zMI9+C2smk40hCIPR+U59jeNVekV6jIHB5C62Anfjp242scaiW6tDl6fx+d+nmYu uV+oWdlB6DWO6rKS8ZPNzv4HM+vY3r6s+GiWLVaXQWGuJSGHMh/xG8UumFg6ChOLB5ed KJjObtCQHoWzXtzoTbf3/ked9f+mkeZjNYTt7xJEdgC3Nb11+c+jbkboqTW4DTSLJDG0 5fSA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=bEGXvIgBrqclXOoSKQ712D+KL6n0S2D53O1A/6qY7d8=; fh=v+ROWgMyECfWIObfZOtK2XSHaMp9mnxhJUEG4GOuWh0=; b=GVnDyub18NlCZDv0Ok+pusop2aBGaX6MM4h4WDRHj7d4yVCVHCkEb2UghYgqcfCcpH 8rkCj5vPURNtNTaghzyBPO09hj2i17zFTGdSKyWTM3MLUmz3vdnvn5AtkO9VQLQuhdnr k8JqFxYhH0EXX+YrrWn1qewVYr1wEL3b9tcbErWORyHBkC446imKwQysyKU57sHkuWMt a2lApfzqXfbCmzvyeEzwkNGKU+rUFj1mdbMZvAneBuyp7iNztxwBaFseRHgrEwivy/Ro AqkO+2zJUeDTvBHwGT8KEToPsbCvtuIyIBHMopluPb9IWSxiAmYJ2SzmaYAnsEUNDGQQ Br3w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Bv5qq/r1"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-6201-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6201-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bs34-20020a05620a472200b0078ec7f9e151si1065378qkb.691.2024.04.11.12.42.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 12:42:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6201-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Bv5qq/r1"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-6201-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6201-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5F49A1C21917 for ; Thu, 11 Apr 2024 19:42:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 45A5F15E81; Thu, 11 Apr 2024 19:42:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Bv5qq/r1" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 D232610799 for ; Thu, 11 Apr 2024 19:42:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712864523; cv=none; b=AStmoWruRAwZlefnwuf9IXAO9SrhSHzHJDpkEmbBL3ZMYhkB1avf3LrjSa1O+/0TV0hJN7cV+B9TnGmoEwCH4LKVRVviR4hGs3IjzU4NFcXEDCrLfzW/PVHQy4BQi+5ngqgfpKTy2BOOUCDI44vvmHDblGopF+Qz7iDCE1/fcGM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712864523; c=relaxed/simple; bh=ywHE38Z7G6KHVf1sYosMygJvH1W2143pya/ZHKPX5gM=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=g2T+YlryIdtzipudSPPLbwyrtUzS+bSz2dAVLfdDRQK5e/UiepQwIu1036PWJLC+pDflVMRy+6QGOEVdv/Q2LcBfgTjj9USLHAODpZ1grnCfmGI4vr9XxbiJjdi5Xdk05wpKeGGagI2fIqQlyxxJJ8zrA0YgnLsL5h/c9EzuzFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=Bv5qq/r1; arc=none smtp.client-ip=205.220.180.131 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 (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43BJcD39012420; Thu, 11 Apr 2024 19:41:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=bEGXvIgBrqclXOoSKQ712D+KL6n0S2D53O1A/6qY7d8=; b=Bv 5qq/r1z3rbIU4agK9Vj4C4VJn8GKA6PF2vUwN7c9n/3mgP4wm7oHxpX03JzzXlGW 3WNqQbJkPXlncZNDfuvz4EBqADSUTJ9i1xzumRBnFtEEkITf99rHOFopa/kNS95o SeXTtLqlkdQgSAmw4UrA0cMIbuRqgg74t8MybDUH+IDr4k+mRtmL3i0rzvVBTJL9 6zzoCdQpdJXHPOj6Hjy8hAMe2prgjhwkcRj9V2F0QWaMrQO0X3C2mnokI9UPnPkV qIewgRUcMl9mmAMWAKa2wKzqsLLALwIvF2iAos2nI4aBAoMBg3v/O0vhuJdFGehC N/Bkko2HuRgzDjrKMaqg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xep6fg06k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Apr 2024 19:41:51 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43BJfovX008411 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Apr 2024 19:41:50 GMT Received: from [10.110.37.144] (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.1544.4; Thu, 11 Apr 2024 12:41:49 -0700 Message-ID: Date: Thu, 11 Apr 2024 12:41:48 -0700 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] wifi: ath12k: enable WIPHY_FLAG_DISABLE_WEXT Content-Language: en-US To: Kalle Valo , CC: References: <20240411165645.4071238-1-kvalo@kernel.org> From: Jeff Johnson In-Reply-To: <20240411165645.4071238-1-kvalo@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: QRqDyjhaD8zlQDfnDVj_H6IN-g3KkDFX X-Proofpoint-ORIG-GUID: QRqDyjhaD8zlQDfnDVj_H6IN-g3KkDFX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-11_10,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 clxscore=1015 bulkscore=0 mlxlogscore=999 adultscore=0 lowpriorityscore=0 impostorscore=0 spamscore=0 suspectscore=0 priorityscore=1501 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404110144 On 4/11/2024 9:56 AM, Kalle Valo wrote: > From: Kalle Valo > > ath12k will support Multi-Link Operation (MLO) in the future but not yet. A > major change with MLO is that cfg80211 will disable Wireless Extension (WEXT) > user space interface. To avoid having inconsistent user experience, first > supporting WEXT and later not, disable WEXT already now. > > Now ath12k claims that WEXT is not supported: > > $ iwconfig wlan0 > wlan0 no wireless extensions. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > Signed-off-by: Kalle Valo > --- > drivers/net/wireless/ath/ath12k/mac.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/net/wireless/ath/ath12k/mac.c b/drivers/net/wireless/ath/ath12k/mac.c > index f15dcd75157d..e989628d7d72 100644 > --- a/drivers/net/wireless/ath/ath12k/mac.c > +++ b/drivers/net/wireless/ath/ath12k/mac.c > @@ -8556,6 +8556,12 @@ static int ath12k_mac_hw_register(struct ath12k_hw *ah) > wiphy->features |= NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE | > NL80211_FEATURE_AP_SCAN; > > + /* MLO is not yet supported so disable Wireless Extensions for now > + * to make sure ath12k users don't use it. This flag can be removed > + * once WIPHY_FLAG_SUPPORTS_MLO is enabled. > + */ > + wiphy->flags |= WIPHY_FLAG_DISABLE_WEXT; > + > hw->queues = ATH12K_HW_MAX_QUEUES; > wiphy->tx_queue_len = ATH12K_QUEUE_LEN; > hw->offchannel_tx_hw_queue = ATH12K_HW_MAX_QUEUES - 1; > > base-commit: 363e7193eaf258fe7f04e8db560bd8a282a12cd9 Currently on my version of Ubuntu when I switch to Hotspot mode I'm seeing: [ 55.189623] warning: `iwconfig' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211 So are userspace folks aware of the need to move away from iwconfig? Is there a Ubuntu / Network Manager fix fir this? /jeff /jeff