From mboxrd@z Thu Jan 1 00:00:00 1970 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 686611CEEB4 for ; Mon, 13 Jan 2025 22:37:38 +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=1736807860; cv=none; b=h316XTBU0uLoV4RG9D4S5O/752P5nVwNIpmAmBlClh6oUHPqYiAyWQsDX0YKXRXhGJowshpXSmYIcHzyIVx/S1YX9rEqIc0POKgmN86PqvZUcihF4SmPlOniu31JOeuXzrS+vfUTatGb8HE0az4E7e+M3bcgra7Fzi6OPzkctdQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736807860; c=relaxed/simple; bh=vo5kD/3TtWWMtQ9UxhjPa1OZpHn6ZT9NUt+k2msEz7M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pixoTmTKFKC1C0/NEfPvGRF1E+C9H44vjS64+jkXWxoeSm5ig+YMa/IiMkzNggtdELLd+lkbKCaDpMFdEphAUUyVwlShphdgeE8O0fZ7MkQu8Gz+mmmwmOxHzSlGhvMVA9to1cVv40BVKeb+lF1d4cQrYRGomHuJwbORzq+kB6I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=QpY1mpFL; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="QpY1mpFL" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50DEHW38010517 for ; Mon, 13 Jan 2025 22:37:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= cVfW5l6eIEIR+q6qj/PoX42WlbginBeQXhVPPpkf0BE=; b=QpY1mpFLF0Tq9+lV PX9YEixhiyou3xrMJC2S8MXnpRB6t240NFZAjlXFueeFG1ntR1kM7RQikXMgCWZL RN7Rw9+ZxPoLjIDfR4EvYeIW9wgveW2t44EbnLs9q6TiN3m5jn8Jchy7nXqKv0oc frN5TeSIlqyPmFOzWZizG0OeZ1zmVZHSH5qjq5pXW3kGiZJqjF17md/pcahQzR33 GJjeZ+HtGcYGOxjeLSWna1oPnS/io3Xe69cKGOAdnEX3CLEdWgHDzPBoJsJceqiV xg9moS2IUopyOI/nw00b1ptY6zCFy8Wd8Ykb2vz9cUvMfMaEZ3FkjiUfHh3utQPI 4MnjSQ== Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4454fe13uf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 13 Jan 2025 22:37:37 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-2eebfd6d065so12525969a91.3 for ; Mon, 13 Jan 2025 14:37:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736807856; x=1737412656; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cVfW5l6eIEIR+q6qj/PoX42WlbginBeQXhVPPpkf0BE=; b=kjjg6iDZsaHJmc4U6590X86gmHJnl0YQxiOi19FH3mikdc+GYBanNlKH+v+IsjlA4n t87AwjSvECQOHhNjT80FiQuCt4qOwNi+7Eo7NvigqvEmfNg/K+UGPX9T4R4AzGYws5c0 tnhpUqyZFHyyik1n4WiFrAIQQvZ78Abea2kkXyBNLGyIZi2Do0xjy2MVt5TnurmfzmsO hvihsnqhmAflz41a7d/5v+9VerYB+X8IaJB+hAj9Kyll8UXlACFZE8yuvc8Avo2qNVmo tGQY8L+zeJNOjN5pQXOIOUuH41XVOhtY5HFMwg8riAggETIOhpfyxkVilJ79UhKflUoh gDIQ== X-Forwarded-Encrypted: i=1; AJvYcCUYLKJgE916eo0hZZQ2HXR8DwTAYnzGwTrDfDxHQJ73Sb3Fkl3Q+pPxCFZBu6ZnQmHkoBiuX1on4+Lggig=@vger.kernel.org X-Gm-Message-State: AOJu0Ywypt/w30RyNfw94lpeB+9vLlAyX3L5n9gIXaY+h+mGVEGKC2Cv AsJQRYmcIhtjR+F6G/V58qwM8X+eV0TxReZ7xUUWTSVgg7LIAChTR6Pb93kaKfpovJMGbh792cm NUJUl2Q7mjC02gmojDTLS2ZdLFcv9Hq33j0IjdzuSykDgLLhwkq+m0sfwqrPhEKg= X-Gm-Gg: ASbGncuqSCKXEzWJB0ypXTJnjC5jkcGMwq0x1qEdsQZkMF4rWKJG+EaSqg1K/xA/yCF 7ZOsZ2iV6afZv0zwRYtFHHvH1JuUFoS8q20p2nJI4H4X8w8Kg444zIDHfmX6AgT/Zw2e/1klWBv 42R9RHNGhQ0ZyFvMCi62mbBlQ0OwaJ8cvMav6wUIdwUoUMN2Krq6rEoUup60CmSQGLSBP1soEuc oGU2af7PeUfRfF+VB5gyb+Cp+tCqulTCkQSoPRISIlFFcmwQDHM2zxom5MqQTj32GgtMcQfPi1v dyo743hfyv51sfxOGpCJpWPkvtyIRPOBG3sPDTk+//ipCDSHeQ== X-Received: by 2002:a17:90a:c2c8:b0:2ee:70cb:a500 with SMTP id 98e67ed59e1d1-2f548e9a4c9mr29194579a91.1.1736807856310; Mon, 13 Jan 2025 14:37:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHqAOpkaJHOGMK7Kxzat6ZhU8cB+zRyhJB14tfQHECRCtWKIGg2E9cdpicxH8fVAYXwhfbDKA== X-Received: by 2002:a17:90a:c2c8:b0:2ee:70cb:a500 with SMTP id 98e67ed59e1d1-2f548e9a4c9mr29194550a91.1.1736807855929; Mon, 13 Jan 2025 14:37:35 -0800 (PST) Received: from [192.168.1.111] (c-73-202-227-126.hsd1.ca.comcast.net. [73.202.227.126]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21a9f25c927sm58256305ad.228.2025.01.13.14.37.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Jan 2025 14:37:35 -0800 (PST) Message-ID: Date: Mon, 13 Jan 2025 14:37:34 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] wifi: ath12k: handle ath12k_mac_ieee80211_sta_bw_to_wmi() for link sta To: Aditya Kumar Singh , Kalle Valo , Jeff Johnson Cc: linux-wireless@vger.kernel.org, ath12k@lists.infradead.org, linux-kernel@vger.kernel.org References: <20250110-fix_link_sta_bandwidth_update-v1-0-61b6f3ef2ea3@quicinc.com> <20250110-fix_link_sta_bandwidth_update-v1-2-61b6f3ef2ea3@quicinc.com> From: Jeff Johnson Content-Language: en-US In-Reply-To: <20250110-fix_link_sta_bandwidth_update-v1-2-61b6f3ef2ea3@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: pa5xKIzc2opsEpNSHxShJGokXl3gbEhu X-Proofpoint-GUID: pa5xKIzc2opsEpNSHxShJGokXl3gbEhu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 spamscore=0 phishscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 mlxlogscore=999 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501130178 On 1/9/2025 10:43 AM, Aditya Kumar Singh wrote: > Currently ath12k_mac_ieee80211_sta_bw_to_wmi() handles the bandwidth from > sta's deflink member. This works only for non-ML station. Now that MLO > support is there, extend this function to use link sta instead of deflink. > > Additionally, in ath12k_mac_handle_link_sta_state(), the link sta structure > is not accessible, making it difficult to fetch the bandwidth there. > However, ath12k_mac_station_assoc() does reference the link sta structure. > Therefore, move the initial assignment of the arsta bandwidth member to > ath12k_mac_station_assoc(). > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Aditya Kumar Singh Acked-by: Jeff Johnson