core.h (0ee28c9ae042e77100fae2cd82a54750668aafce) core.h (9d027a35a52a4ea9400390ef4414e4e9dcd54193)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Wireless configuration interface internals.
4 *
5 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Wireless configuration interface internals.
4 *
5 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
6 * Copyright (C) 2018-2022 Intel Corporation
6 * Copyright (C) 2018-2023 Intel Corporation
7 */
8#ifndef __NET_WIRELESS_CORE_H
9#define __NET_WIRELESS_CORE_H
10#include <linux/list.h>
11#include <linux/netdevice.h>
12#include <linux/rbtree.h>
13#include <linux/debugfs.h>
14#include <linux/rfkill.h>

--- 529 unchanged lines hidden (view full) ---

544void cfg80211_pmsr_free_wk(struct work_struct *work);
545
546void cfg80211_remove_link(struct wireless_dev *wdev, unsigned int link_id);
547void cfg80211_remove_links(struct wireless_dev *wdev);
548int cfg80211_remove_virtual_intf(struct cfg80211_registered_device *rdev,
549 struct wireless_dev *wdev);
550void cfg80211_wdev_release_link_bsses(struct wireless_dev *wdev, u16 link_mask);
551
7 */
8#ifndef __NET_WIRELESS_CORE_H
9#define __NET_WIRELESS_CORE_H
10#include <linux/list.h>
11#include <linux/netdevice.h>
12#include <linux/rbtree.h>
13#include <linux/debugfs.h>
14#include <linux/rfkill.h>

--- 529 unchanged lines hidden (view full) ---

544void cfg80211_pmsr_free_wk(struct work_struct *work);
545
546void cfg80211_remove_link(struct wireless_dev *wdev, unsigned int link_id);
547void cfg80211_remove_links(struct wireless_dev *wdev);
548int cfg80211_remove_virtual_intf(struct cfg80211_registered_device *rdev,
549 struct wireless_dev *wdev);
550void cfg80211_wdev_release_link_bsses(struct wireless_dev *wdev, u16 link_mask);
551
552#if IS_ENABLED(CONFIG_CFG80211_KUNIT_TEST)
553#define EXPORT_SYMBOL_IF_CFG80211_KUNIT(sym) EXPORT_SYMBOL_IF_KUNIT(sym)
554#define VISIBLE_IF_CFG80211_KUNIT
555size_t cfg80211_gen_new_ie(const u8 *ie, size_t ielen,
556 const u8 *subie, size_t subie_len,
557 u8 *new_ie, size_t new_ie_len);
558#else
559#define EXPORT_SYMBOL_IF_CFG80211_KUNIT(sym)
560#define VISIBLE_IF_CFG80211_KUNIT static
561#endif /* IS_ENABLED(CONFIG_CFG80211_KUNIT_TEST) */
562
552#endif /* __NET_WIRELESS_CORE_H */
563#endif /* __NET_WIRELESS_CORE_H */