From patchwork Thu Mar 2 09:55:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Youghandhar Chintala X-Patchwork-Id: 63320 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp4145656wrd; Thu, 2 Mar 2023 01:59:58 -0800 (PST) X-Google-Smtp-Source: AK7set+uRUPGA5IuBNZ5VrluwDNIvzTJcsxb37cyP5J2RamDcVwxmFHvG3hi17JJV7GwVzuMNpeH X-Received: by 2002:a17:906:e49:b0:8b2:5e3c:e0f0 with SMTP id q9-20020a1709060e4900b008b25e3ce0f0mr11351936eji.74.1677751197834; Thu, 02 Mar 2023 01:59:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677751197; cv=none; d=google.com; s=arc-20160816; b=SAqyzplmx+EDMzRM4H0rE6MV9PwUeZBFQhY0nfA3GF1pS9AB4xXSXEYPW8EdtLmSmH O+fke+fbde+c5T9UWH0Cn43NL/QJxJMpKtH93v/L0ETPxdR6bfPfqD65JrBrUbbLQB5N qckuQGiMzI4fx4igP2ooD6frlAMZnkYXhAaDEB8IOwalzbCZvq1+z1lSAkhnqlr/6z88 VCltpWCnk3tp1rLHjMZGmMEpfLa0t4xjvjxsTHtvwJF+sqrMh3mRSWKQplqksL0L7T3q luKNfkiTP7Wb5KsKu2AxXO6Qwjj6BbMwqLfDADeC+Zy4wCYWlstVQrPwPkp4yOZ7Q0Cr tpYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MTsgqO7xP3p9rwDXfqj5sodizXPDanLo7GrBOLQSl88=; b=ZgQmkc93WIgmYkrVPE/nZu1vUxT1wpxFm55nimiXFRCm3MSGikf3zqGv4Bn2pVRaFV CoDxZTcNHPyWDYZlHHgjubebeEg0TW9yVvbln3V5SaJpzVUqDpsaGCgP614W2UgG6gpJ gMrDNldPj2E+8X4z4gr3LxYvpDNgJZU0eAm8WFMYgh6xfjjDaXY1ZQf6PAE5J6ZXr383 Pv9WrgGIDRVU+IokGzZRaLpl/O/024e1EB3Um2OVQT6SPN/XqRowxeGfY5Y3csmvTScV fCOK2IBryPem2TCELRzAoLBEQE4CVJsaOCOlMCL5dUT/a1ELlEGzIbIlVYYKFfKNjaEa 22gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hpO0dG81; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw26-20020a170906c79a00b008c7405fca46si3013096ejb.476.2023.03.02.01.59.35; Thu, 02 Mar 2023 01:59:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hpO0dG81; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230487AbjCBJ5X (ORCPT + 99 others); Thu, 2 Mar 2023 04:57:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230443AbjCBJ4b (ORCPT ); Thu, 2 Mar 2023 04:56:31 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFB062B62C; Thu, 2 Mar 2023 01:56:30 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3229Y9L0007938; Thu, 2 Mar 2023 09:56:28 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=MTsgqO7xP3p9rwDXfqj5sodizXPDanLo7GrBOLQSl88=; b=hpO0dG81ZQdeRzaI/JymlVYxAeq2oxjSsfZ2s6VTt1bsox6PqFKdeteJFJtICZsxdLTP fUCetmjOohctHequfh0mvYXjLGetBlTw85UwxCyw2wEg6rrN9LGGXMzotoB1aBXrhRy7 dRHVs7ewAIWAjAgZA0gP9OB8WX/XVHnbOzKU1Rop5JZQ/vvd40gpIWUP2Q90zCicshwI 3A3HXU/nzbYadGJFun8GzY2SG4vtCEjIBz5ldhNu4DxNBCAdFsVNLuhGtIhH2VCOTSNU eCDi5CGrk+zAAnW3kM5nj0ry+Dwx+oU/fRJiVKOROAB5NvMrk5Npz3yILTPcbFwQ9H2W GQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3p2rbg86ut-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 Mar 2023 09:56:28 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3229uSXI004698 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 2 Mar 2023 09:56:28 GMT Received: from youghand-linux.qualcomm.com (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.986.41; Thu, 2 Mar 2023 01:56:25 -0800 From: Youghandhar Chintala To: CC: , , , Youghandhar Chintala Subject: [PATCH v2 1/2] wifi: cfg80211: Add beacon hint notifier support Date: Thu, 2 Mar 2023 15:25:50 +0530 Message-ID: <20230302095551.5510-2-quic_youghand@quicinc.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20230302095551.5510-1-quic_youghand@quicinc.com> References: <20230302095551.5510-1-quic_youghand@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: khrtZ2QWnlU6W8nzttTmPGbLgJ-54qY5 X-Proofpoint-ORIG-GUID: khrtZ2QWnlU6W8nzttTmPGbLgJ-54qY5 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_04,2023-03-02_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxlogscore=999 lowpriorityscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 spamscore=0 malwarescore=0 adultscore=0 bulkscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020086 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759249640392666115?= X-GMAIL-MSGID: =?utf-8?q?1759249640392666115?= There are connection failures in hidden SSID case when the device is with default reg domain WW. For WW reg domain most of the 5 GHz channels are passive. When device listens to the beacon on that channel, the driver is updating its channel flag but firmware is not aware of it and firmware is not sending probes on that channels. Due to this, we are seeing connection failures when the device is trying to connect with hidden SSID AP. In the case of devices using the ath10k driver, it is required to update the change in channel flags to firmware as well. Therefore, we need a mechanism to notify the driver from the regulatory core regarding the channel flag changes. Adding a beacon hint notifier logic, so that drivers can register callbacks to get notified whenever there is a change in channel flags. Signed-off-by: Youghandhar Chintala --- include/net/cfg80211.h | 7 +++++++ net/wireless/reg.c | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 11a370e64143..7a00f5317e1f 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -5096,6 +5096,10 @@ struct wiphy_iftype_akm_suites { * @reg_notifier: the driver's regulatory notification callback, * note that if your driver uses wiphy_apply_custom_regulatory() * the reg_notifier's request can be passed as NULL + * @beacon_hint_notifier: the driver's beacon hint notification callback, + * which will trigger when there is channel flag updates seen in + * beacon hints. The beacon_hint_notifier's request can be passed + * with chan context. * @regd: the driver's regulatory domain, if one was requested via * the regulatory_hint() API. This can be used by the driver * on the reg_notifier() if it chooses to ignore future @@ -5386,6 +5390,9 @@ struct wiphy { void (*reg_notifier)(struct wiphy *wiphy, struct regulatory_request *request); + void (*beacon_hint_notifier)(struct wiphy *wiphy, + struct ieee80211_channel *chan); + /* fields below are read-only, assigned by cfg80211 */ const struct ieee80211_regdomain __rcu *regd; diff --git a/net/wireless/reg.c b/net/wireless/reg.c index c3d950d29432..2dc6880a28c5 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -2219,8 +2219,11 @@ static void handle_reg_beacon(struct wiphy *wiphy, unsigned int chan_idx, channel_changed = true; } - if (channel_changed) + if (channel_changed) { nl80211_send_beacon_hint_event(wiphy, &chan_before, chan); + if (wiphy->beacon_hint_notifier) + wiphy->beacon_hint_notifier(wiphy, chan); + } } /* From patchwork Thu Mar 2 09:55:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Youghandhar Chintala X-Patchwork-Id: 63318 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp4145509wrd; Thu, 2 Mar 2023 01:59:30 -0800 (PST) X-Google-Smtp-Source: AK7set+oXU/WFD4Vt9npil2wMkyqRusCIG5XBDSMXmK45eqipe4BADxFegLRe7uzR4SLMdDVC6BO X-Received: by 2002:a05:6a20:7f8e:b0:cc:1678:4b1c with SMTP id d14-20020a056a207f8e00b000cc16784b1cmr11259890pzj.31.1677751170489; Thu, 02 Mar 2023 01:59:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677751170; cv=none; d=google.com; s=arc-20160816; b=trlzWhDGWZ3f4V9CdlQLFvI9x21wEpEAG8YIG5fqOI2qDewtiNU39KopZsygZG3irq 9sD/r8SW0QeNk1xWd68cnWgrO3ePv5FnWirtrkd0VBAzMMZWKx5M069jhlIdNneJTkha pXQJXypTgVUndjhMadC7q38H2il9dzlVoX7M6W1HcegirpJJWRUpdAV2/WvprZ+EPTsA mUb5mvn/xV8LWtJ1Y5tUZOkKv6bSA/x9jFCdRJEeCdt8EazUchmXmpES4sm5KD6mSSiP bKw9xyJb2dIrL1ySJBuoYBni0AQlD1uvTkQVXp2JFfHgcARTSwUXlHFHXYS48mb9tHjQ ak4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=n4u0QORlDQIiNmr9PqyeFNaeaGjlinS5DG6hnZGlICQ=; b=CMQuk10A4Jn2wWepbU2L1rrmjYbdz6W8qGUPGB1CMCoa77MhU5ah2fEmsv6l4/iD0z uQf1p8BTn+dgMV6OVyVirqTHhX8F0FQ9sfc3blacsJkVNKJ6d68Ku+jFzTqWsUCGmEwB s/ps9AUkNZ3Gq3VabEE6A5HsB74ds7DNAsQl3ZdLHmtgm8V2O0OMhWCNlfz2JNu81J42 LCj/ywl1JJDvBFhb4suAdLOJ7qn1W0pqgLwa+zZMeVqROXRC9mazt/lvCC285E5GbyVu 224omoNsVZBrBvFWusiw4Th11+lRwLDYAY/S/dwUzGeo6lg0o92imAwsoDPuLGBZPKXa kqmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=I9vp27Uf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u185-20020a6385c2000000b004fbd435fc2esi4784888pgd.447.2023.03.02.01.59.18; Thu, 02 Mar 2023 01:59:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=I9vp27Uf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230428AbjCBJ5Q (ORCPT + 99 others); Thu, 2 Mar 2023 04:57:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229632AbjCBJ4f (ORCPT ); Thu, 2 Mar 2023 04:56:35 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DD323D087; Thu, 2 Mar 2023 01:56:35 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3229YABT007962; Thu, 2 Mar 2023 09:56:33 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=n4u0QORlDQIiNmr9PqyeFNaeaGjlinS5DG6hnZGlICQ=; b=I9vp27UfFLSfM1MTuK6ylnKDQT1Jnjtyy2DWEwFZK6psuuB2+1idlFtpUunGbE6e+kzz zQAUdzXNZV0pJOvAAfh1XaetQsjaNT5NCddrta4CoeStkCdFsy1M9GSrJK4fp9c3mTRH sEqsuDqP9BqAQJWkdgsU/WXzkm32+VQBlu+JGTfqDorOWokWuM5CpBlHJlv3/LMQKdvm BYZt+bfEBU/kdYSRzGk1lb8BHciDeEdQ0VdpLXhSycMBmGDmWaXsaicVZ5lJ5kOXMawU hkpYHmawP2PVfIaGrUUrpfWuGUZR632hobievzde2vgSqaKRagnDeSyy+/Xrr6P3nLAO 1Q== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3p2rbg86uv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 Mar 2023 09:56:33 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3229uWda006777 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 2 Mar 2023 09:56:32 GMT Received: from youghand-linux.qualcomm.com (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.986.41; Thu, 2 Mar 2023 01:56:30 -0800 From: Youghandhar Chintala To: CC: , , , Youghandhar Chintala Subject: [PATCH v2 2/2] wifi: ath10k: update the channel list if change in channel flags. Date: Thu, 2 Mar 2023 15:25:51 +0530 Message-ID: <20230302095551.5510-3-quic_youghand@quicinc.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20230302095551.5510-1-quic_youghand@quicinc.com> References: <20230302095551.5510-1-quic_youghand@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: ikjBkfh0fAhWeuvsbqtUXPLbCL1FMQoG X-Proofpoint-ORIG-GUID: ikjBkfh0fAhWeuvsbqtUXPLbCL1FMQoG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_04,2023-03-02_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxlogscore=999 lowpriorityscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 spamscore=0 malwarescore=0 adultscore=0 bulkscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020086 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759249611046923618?= X-GMAIL-MSGID: =?utf-8?q?1759249611046923618?= There are connection failures in hidden SSID case when the device is with default reg domain WW. For WW reg domain most of the 5 GHz channels are passive. When device listens to the beacon on that channel, the driver is updating its channel flag but firmware is not aware of it and firmware is not sending probes on that channels. Due to this, we are seeing connection failures when a device is trying to connect with hidden SSID AP. Register beacon hint notifier to the regulatory core so that driver get notified when there is a change in channel flags. Driver's notifier callback will send the updated flags to the firmware. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.2.2.c10-00754-QCAHLSWMTPL-1 Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00174 Signed-off-by: Youghandhar Chintala --- drivers/net/wireless/ath/ath10k/mac.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index ec8d5b29bc72..91a957295456 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -3534,6 +3534,15 @@ static void ath10k_mac_update_channel_list(struct ath10k *ar, } } +static void ath10k_mac_beacon_notifier(struct wiphy *wiphy) +{ + struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); + struct ath10k *ar = hw->priv; + + if (ath10k_update_channel_list(ar)) + ath10k_warn(ar, "failed to update channel list\n"); +} + static void ath10k_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request) { @@ -10286,6 +10295,8 @@ int ath10k_mac_register(struct ath10k *ar) goto err_unregister; } + ar->hw->wiphy->beacon_hint_notifier = ath10k_mac_beacon_notifier; + return 0; err_unregister: