mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
MediaTek has asked to switch from the ISC license to BSD-3-Clause-Clear, in order to improve clarity and the legal integrity of the code. The BSD-3-Clause license includes the "no endorsement" clause, which is important for protecting the reputation of the original authors and contributors by preventing unauthorized use of their names for endorsement purposes. This clause is absent in the BSD-2-Clause license, which is more permissive but lacks this specific protection. This change also cleans up the license of some Kconfig/Makefile files, which were accidentally marked as GPL. The GPL 2.0 remains in use on mt76x0, as well as two source files in mt7615 for which the license situation still needs to be clarified. Signed-off-by: Felix Fietkau <[email protected]>
46 lines
774 B
C
46 lines
774 B
C
/* SPDX-License-Identifier: BSD-3-Clause-Clear */
|
|
/*
|
|
* Copyright (C) 2022 MediaTek Inc.
|
|
*/
|
|
|
|
#ifndef __MT7996_MAC_H
|
|
#define __MT7996_MAC_H
|
|
|
|
#include "../mt76_connac3_mac.h"
|
|
|
|
struct mt7996_dfs_pulse {
|
|
u32 max_width; /* us */
|
|
int max_pwr; /* dbm */
|
|
int min_pwr; /* dbm */
|
|
u32 min_stgr_pri; /* us */
|
|
u32 max_stgr_pri; /* us */
|
|
u32 min_cr_pri; /* us */
|
|
u32 max_cr_pri; /* us */
|
|
};
|
|
|
|
struct mt7996_dfs_pattern {
|
|
u8 enb;
|
|
u8 stgr;
|
|
u8 min_crpn;
|
|
u8 max_crpn;
|
|
u8 min_crpr;
|
|
u8 min_pw;
|
|
u32 min_pri;
|
|
u32 max_pri;
|
|
u8 max_pw;
|
|
u8 min_crbn;
|
|
u8 max_crbn;
|
|
u8 min_stgpn;
|
|
u8 max_stgpn;
|
|
u8 min_stgpr;
|
|
u8 rsv[2];
|
|
u32 min_stgpr_diff;
|
|
} __packed;
|
|
|
|
struct mt7996_dfs_radar_spec {
|
|
struct mt7996_dfs_pulse pulse_th;
|
|
struct mt7996_dfs_pattern radar_pattern[16];
|
|
};
|
|
|
|
#endif
|