linux/net/ieee802154/pan.c

// SPDX-License-Identifier: GPL-2.0
/*
 * IEEE 802.15.4 PAN management
 *
 * Copyright (C) 2023 Qorvo US, Inc
 * Authors:
 *   - David Girault <[email protected]>
 *   - Miquel Raynal <[email protected]>
 */

#include <linux/kernel.h>
#include <net/cfg802154.h>
#include <net/af_ieee802154.h>

/* Checks whether a device address matches one from the PAN list.
 * This helper is meant to be used only during PAN management, when we expect
 * extended addresses to be used.
 */
static bool cfg802154_pan_device_is_matching(struct ieee802154_pan_device *pan_dev,
					     struct ieee802154_addr *ext_dev)
{}

bool cfg802154_device_is_associated(struct wpan_dev *wpan_dev)
{}

bool cfg802154_device_is_parent(struct wpan_dev *wpan_dev,
				struct ieee802154_addr *target)
{}
EXPORT_SYMBOL_GPL();

struct ieee802154_pan_device *
cfg802154_device_is_child(struct wpan_dev *wpan_dev,
			  struct ieee802154_addr *target)
{}
EXPORT_SYMBOL_GPL();

__le16 cfg802154_get_free_short_addr(struct wpan_dev *wpan_dev)
{}
EXPORT_SYMBOL_GPL();

unsigned int cfg802154_set_max_associations(struct wpan_dev *wpan_dev,
					    unsigned int max)
{}
EXPORT_SYMBOL_GPL();