cfg80211.h (4a07abdeb8ce5271996d85f648832e3d7bc741a7) cfg80211.h (9d9ba2b79b3196935431879efd9094eb9bfedd95)
1/*-
2 * Copyright (c) 2020-2021 The FreeBSD Foundation
3 * Copyright (c) 2021-2022 Bjoern A. Zeeb
4 *
5 * This software was developed by Björn Zeeb under sponsorship from
6 * the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

39#include <linux/ethtool.h>
40#include <linux/device.h>
41#include <linux/netdevice.h>
42#include <linux/random.h>
43#include <linux/skbuff.h>
44#include <net/regulatory.h>
45
46/* linux_80211.c */
1/*-
2 * Copyright (c) 2020-2021 The FreeBSD Foundation
3 * Copyright (c) 2021-2022 Bjoern A. Zeeb
4 *
5 * This software was developed by Björn Zeeb under sponsorship from
6 * the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

39#include <linux/ethtool.h>
40#include <linux/device.h>
41#include <linux/netdevice.h>
42#include <linux/random.h>
43#include <linux/skbuff.h>
44#include <net/regulatory.h>
45
46/* linux_80211.c */
47extern int debug_80211;
47extern int linuxkpi_debug_80211;
48#ifndef D80211_TODO
49#define D80211_TODO 0x1
50#endif
51#ifndef D80211_IMPROVE
52#define D80211_IMPROVE 0x2
53#endif
48#ifndef D80211_TODO
49#define D80211_TODO 0x1
50#endif
51#ifndef D80211_IMPROVE
52#define D80211_IMPROVE 0x2
53#endif
54#define TODO() if (debug_80211 & D80211_TODO) \
54#define TODO() if (linuxkpi_debug_80211 & D80211_TODO) \
55 printf("%s:%d: XXX LKPI80211 TODO\n", __func__, __LINE__)
55 printf("%s:%d: XXX LKPI80211 TODO\n", __func__, __LINE__)
56#define IMPROVE(...) if (debug_80211 & D80211_IMPROVE) \
56#define IMPROVE(...) if (linuxkpi_debug_80211 & D80211_IMPROVE) \
57 printf("%s:%d: XXX LKPI80211 IMPROVE\n", __func__, __LINE__)
58
59enum rfkill_hard_block_reasons {
60 RFKILL_HARD_BLOCK_NOT_OWNER = BIT(0),
61};
62
63#define WIPHY_PARAM_FRAG_THRESHOLD __LINE__ /* TODO FIXME brcmfmac */
64#define WIPHY_PARAM_RETRY_LONG __LINE__ /* TODO FIXME brcmfmac */

--- 1566 unchanged lines hidden ---
57 printf("%s:%d: XXX LKPI80211 IMPROVE\n", __func__, __LINE__)
58
59enum rfkill_hard_block_reasons {
60 RFKILL_HARD_BLOCK_NOT_OWNER = BIT(0),
61};
62
63#define WIPHY_PARAM_FRAG_THRESHOLD __LINE__ /* TODO FIXME brcmfmac */
64#define WIPHY_PARAM_RETRY_LONG __LINE__ /* TODO FIXME brcmfmac */

--- 1566 unchanged lines hidden ---