linux/drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c

// SPDX-License-Identifier: ISC
/*
 * Copyright (C) 2016 Lorenzo Bianconi <[email protected]>
 */

#include "mt76x02.h"

#define RADAR_SPEC(m, len, el, eh, wl, wh,		\
		   w_tolerance, tl, th, t_tolerance,	\
		   bl, bh, event_exp, power_jmp)

static const struct mt76x02_radar_specs etsi_radar_specs[] =;

static const struct mt76x02_radar_specs fcc_radar_specs[] =;

static const struct mt76x02_radar_specs jp_w56_radar_specs[] =;

static const struct mt76x02_radar_specs jp_w53_radar_specs[] =;

static void
mt76x02_dfs_set_capture_mode_ctrl(struct mt76x02_dev *dev, u8 enable)
{}

static void mt76x02_dfs_seq_pool_put(struct mt76x02_dev *dev,
				     struct mt76x02_dfs_sequence *seq)
{}

static struct mt76x02_dfs_sequence *
mt76x02_dfs_seq_pool_get(struct mt76x02_dev *dev)
{}

static int mt76x02_dfs_get_multiple(int val, int frac, int margin)
{}

static void mt76x02_dfs_detector_reset(struct mt76x02_dev *dev)
{}

static bool mt76x02_dfs_check_chirp(struct mt76x02_dev *dev)
{}

static void mt76x02_dfs_get_hw_pulse(struct mt76x02_dev *dev,
				     struct mt76x02_dfs_hw_pulse *pulse)
{}

static bool mt76x02_dfs_check_hw_pulse(struct mt76x02_dev *dev,
				       struct mt76x02_dfs_hw_pulse *pulse)
{}

static bool mt76x02_dfs_fetch_event(struct mt76x02_dev *dev,
				    struct mt76x02_dfs_event *event)
{}

static bool mt76x02_dfs_check_event(struct mt76x02_dev *dev,
				    struct mt76x02_dfs_event *event)
{}

static void mt76x02_dfs_queue_event(struct mt76x02_dev *dev,
				    struct mt76x02_dfs_event *event)
{}

static int mt76x02_dfs_create_sequence(struct mt76x02_dev *dev,
				       struct mt76x02_dfs_event *event,
				       u16 cur_len)
{}

static u16 mt76x02_dfs_add_event_to_sequence(struct mt76x02_dev *dev,
					     struct mt76x02_dfs_event *event)
{}

static bool mt76x02_dfs_check_detection(struct mt76x02_dev *dev)
{}

static void mt76x02_dfs_add_events(struct mt76x02_dev *dev)
{}

static void mt76x02_dfs_check_event_window(struct mt76x02_dev *dev)
{}

static void mt76x02_dfs_tasklet(struct tasklet_struct *t)
{}

static void mt76x02_dfs_init_sw_detector(struct mt76x02_dev *dev)
{}

static void mt76x02_dfs_set_bbp_params(struct mt76x02_dev *dev)
{}

void mt76x02_phy_dfs_adjust_agc(struct mt76x02_dev *dev)
{}
EXPORT_SYMBOL_GPL();

void mt76x02_dfs_init_params(struct mt76x02_dev *dev)
{}
EXPORT_SYMBOL_GPL();

void mt76x02_dfs_init_detector(struct mt76x02_dev *dev)
{}

static void
mt76x02_dfs_set_domain(struct mt76x02_dev *dev,
		       enum nl80211_dfs_regions region)
{}

void mt76x02_regd_notifier(struct wiphy *wiphy,
			   struct regulatory_request *request)
{}