linux/net/wireless/mesh.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Portions
 * Copyright (C) 2022-2024 Intel Corporation
 */
#include <linux/ieee80211.h>
#include <linux/export.h>
#include <net/cfg80211.h>
#include "nl80211.h"
#include "core.h"
#include "rdev-ops.h"

/* Default values, timeouts in ms */
#define MESH_TTL
#define MESH_DEFAULT_ELEMENT_TTL
#define MESH_MAX_RETR
#define MESH_RET_T
#define MESH_CONF_T
#define MESH_HOLD_T

#define MESH_PATH_TIMEOUT
#define MESH_RANN_INTERVAL
#define MESH_PATH_TO_ROOT_TIMEOUT
#define MESH_ROOT_INTERVAL
#define MESH_ROOT_CONFIRMATION_INTERVAL
#define MESH_DEFAULT_PLINK_TIMEOUT

/*
 * Minimum interval between two consecutive PREQs originated by the same
 * interface
 */
#define MESH_PREQ_MIN_INT
#define MESH_PERR_MIN_INT
#define MESH_DIAM_TRAVERSAL_TIME

#define MESH_RSSI_THRESHOLD

/*
 * A path will be refreshed if it is used PATH_REFRESH_TIME milliseconds
 * before timing out.  This way it will remain ACTIVE and no data frames
 * will be unnecessarily held in the pending queue.
 */
#define MESH_PATH_REFRESH_TIME
#define MESH_MIN_DISCOVERY_TIMEOUT

/* Default maximum number of established plinks per interface */
#define MESH_MAX_ESTAB_PLINKS

#define MESH_MAX_PREQ_RETRIES

#define MESH_SYNC_NEIGHBOR_OFFSET_MAX

#define MESH_DEFAULT_BEACON_INTERVAL
#define MESH_DEFAULT_DTIM_PERIOD
#define MESH_DEFAULT_AWAKE_WINDOW

const struct mesh_config default_mesh_config =;

const struct mesh_setup default_mesh_setup =;

int __cfg80211_join_mesh(struct cfg80211_registered_device *rdev,
			 struct net_device *dev,
			 struct mesh_setup *setup,
			 const struct mesh_config *conf)
{}

int cfg80211_set_mesh_channel(struct cfg80211_registered_device *rdev,
			      struct wireless_dev *wdev,
			      struct cfg80211_chan_def *chandef)
{}

int cfg80211_leave_mesh(struct cfg80211_registered_device *rdev,
			struct net_device *dev)
{}