Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp62653lqn; Thu, 11 Apr 2024 14:00:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWNEbo5F76rumitV1K8yepbU9UHehm7clkU79jaeQwYD9G6ylO2l+7q41O+3bdvnZhLLCwmsNYwdVEFj8N+2JJjCtxJ4f4gdEUkaKbexw== X-Google-Smtp-Source: AGHT+IEdYuCJzXmKsOfECrO7Jnhm+spEiYLDXUPHqw9MgzmsUE0uSmbgxXnZbtCJmaxr8629ODpk X-Received: by 2002:a05:687c:223:b0:22e:7de8:c745 with SMTP id ax35-20020a05687c022300b0022e7de8c745mr491957oac.56.1712869215983; Thu, 11 Apr 2024 14:00:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712869215; cv=pass; d=google.com; s=arc-20160816; b=k4aT1VTA+8EzHvhbDn+lvmHQSWbjygkvDK1nn+mV4egvFWMzoTrNGIUNd8lA3TneT3 8koU+Mi+XuiDQmAzb/j9oZi9BPa0gEtmg8zUFUKeTqxrasowKCrIvzFkIQmQolVni3IQ 0y8T5hyHmq9DVTxOijxeYT1YN4iJJvBkgoxrKqHp69/OIbHPfmNTtB97hShfcjwsxxQi xnv/KjQhZVV3CTNZY5ynOdNWD4eY5/N/A4CezlmJT6eazJs/abSodyRcF3KUXwO+34xK OaF1BmLoRHfJrzyqi4TtVhKGnnLV1cb2I8glZhmD9N5rSCC9CIthhWrAgmos+1sHRjKX fqeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=idpkFfUV94TslMlWg/88sGDLxKPZFjAUmc7uAgAFmjU=; fh=v+ROWgMyECfWIObfZOtK2XSHaMp9mnxhJUEG4GOuWh0=; b=d7MocZ9jYIEvs5tS7I4ERcYKFlgnp9TTLxkdlLIWtCu7DoHYfUlR8ZqPbllONXD/// xIGgg7Pj229Ew43SAILY73u1Iu0GLdrzPsSE1W3gRE+MtEzzwfRqZySTmOEIHHNtLAKc xOZDTmug8CJy4u9bvpIzH/nL8Qb+ni7GxYhhM4vceaUhXMZkpZk1IdEtEicE+PWIScN+ YQeRUeOA45PbhTI4Xd9DDs7OfDc8ah17ZdbX/TpBzNWK3j7nKcDj65yBSRXIU1K1P2ph 2Y+6JUoeslcvQiDvCAflrCQGi80dRpGy21Exl+5cUp6k/XayjfS3tYLz0/KBXHuW14eC nY2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Q7SPn9qf; 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-6203-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6203-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o16-20020a634e50000000b005e43cb39729si1822631pgl.870.2024.04.11.14.00.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 14:00:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6203-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Q7SPn9qf; 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-6203-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6203-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 269DA282C8E for ; Thu, 11 Apr 2024 21:00:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 102A215E8C; Thu, 11 Apr 2024 21:00:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Q7SPn9qf" 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 9C082205E2B for ; Thu, 11 Apr 2024 21:00:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712869213; cv=none; b=BaYkK+rCiK3JyL0YksicGUDHH5E7he4let4e7Xm9kV/sfVcYc9pPvKQ8K4yLeCs65POFnkrKX8xFOVpHdtYPQgkZSFHKz4POQ20W1p1NmwJUslC0BQb+TxS4ZQyWQ/PDHy4DVBZAU2n+G4H1YhAVtzRL+3suo5nqrB8R2gsTsY8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712869213; c=relaxed/simple; bh=nt7xfVcuARM0uTDhvvf+CGr80ESEL3NmS+G15DBECjs=; h=Message-ID:Date:MIME-Version:Subject:From:To:CC:References: In-Reply-To:Content-Type; b=SuLpyTPeYsig81DdQ7qiaCT8rGj42bWIhd6mUOo+Nh2PNIu25cKmOBigb+WFTVFQeSKSkDQJaymXOwUOaMPdvMsK/k3Y+5nT8x6GcXFKE1uWJu0UQjl3k6kLClTvUC9g7khO6SlG8zSIRyrSRipN94DCwOxL7tNlPV+9lZYIGPQ= 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=Q7SPn9qf; arc=none smtp.client-ip=205.220.168.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 (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43BKqnAM005971; Thu, 11 Apr 2024 21:00:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:from:to:cc:references :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=idpkFfUV94TslMlWg/88sGDLxKPZFjAUmc7uAgAFmjU=; b=Q7 SPn9qf/hXRfM3sl0edz8eILE519EqT8akkqEWQrMfGIXaftC29BXn7fYATkO+kbQ sQwNqY1B1DYGaUK0rYtJY829TTWxXHxkUgdRXpBOrwsWtsm371SAT/owKMCnRI2N EdLtcjOrb0UmEkiUMitj7mgFSHted4CVYOjQykmUcLqZiH01wtLsGhb6Ah6/TzQy iCbe7iHZp4TXvStycjodRTqUFWRzRuEgiROkKs98KWv9WPPl+IuIWRDrmkURCkUX rHOWmgru7Iz7kDiGw48ubw21kpoTodc08MHauUBqZxGUUAPWycpoaM0Jznxc0uBg xmppAOGOH8Q8ycG3Af6A== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xeb2rjhpe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Apr 2024 21:00:01 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43BL009i002544 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Apr 2024 21:00:00 GMT Received: from [10.110.37.144] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 11 Apr 2024 14:00:00 -0700 Message-ID: Date: Thu, 11 Apr 2024 13:59:59 -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 From: Jeff Johnson To: Kalle Valo , CC: References: <20240411165645.4071238-1-kvalo@kernel.org> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: xiLt4Kndvt8Gug0H17NMKsUDREAeaydE X-Proofpoint-GUID: xiLt4Kndvt8Gug0H17NMKsUDREAeaydE 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 suspectscore=0 spamscore=0 phishscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 mlxscore=0 adultscore=0 priorityscore=1501 mlxlogscore=914 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404110153 On 4/11/2024 12:41 PM, Jeff Johnson wrote: > 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? And I've confirmed that with this patch in place I cannot start the Hotspot. So suggest you sit on that until userspace is ready. /jeff