mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
Move the disable_clc module parameter to regd.c and introduce mt7921_regd_clc_supported() to centralize CLC support checks. Co-developed-by: Sean Wang <[email protected]> Signed-off-by: Sean Wang <[email protected]> Signed-off-by: JB Tsai <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
17 lines
402 B
C
17 lines
402 B
C
/* SPDX-License-Identifier: BSD-3-Clause-Clear */
|
|
/* Copyright (C) 2025 MediaTek Inc. */
|
|
|
|
#ifndef __MT7921_REGD_H
|
|
#define __MT7921_REGD_H
|
|
|
|
struct mt792x_dev;
|
|
struct wiphy;
|
|
struct regulatory_request;
|
|
|
|
void mt7921_regd_update(struct mt792x_dev *dev);
|
|
void mt7921_regd_notifier(struct wiphy *wiphy,
|
|
struct regulatory_request *request);
|
|
bool mt7921_regd_clc_supported(struct mt792x_dev *dev);
|
|
|
|
#endif
|