aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2022-05-16 15:38:31 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2022-06-03 16:56:21 +0000
commit465776a81e2380e1867f8d01ba470f7d51b11b5f (patch)
tree9524aa76512271c19b37882b81ba2ebc409809aa
parent1e80cda00210c5aa61dd61d0feb2d0457710c917 (diff)
downloadsrc-465776a81e2380e1867f8d01ba470f7d51b11b5f.tar.gz
src-465776a81e2380e1867f8d01ba470f7d51b11b5f.zip
LinuxKPI: 802.11 add rfkill_soft_blocked()
Add rfkill_soft_blocked() to the list of things to implement in preparation for an iwlwifi update. Sponsored by: The FreeBSD Foundation (cherry picked from commit 05d6f4d6968a632645a5dcbedec3752098a66624)
-rw-r--r--sys/compat/linuxkpi/common/include/net/cfg80211.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/net/cfg80211.h b/sys/compat/linuxkpi/common/include/net/cfg80211.h
index 29fe65395385..06a3ee626f08 100644
--- a/sys/compat/linuxkpi/common/include/net/cfg80211.h
+++ b/sys/compat/linuxkpi/common/include/net/cfg80211.h
@@ -1117,6 +1117,13 @@ rfkill_blocked(int rfkill) /* argument type? */
return (false);
}
+static __inline bool
+rfkill_soft_blocked(int rfkill)
+{
+ TODO();
+ return (false);
+}
+
static __inline int
reg_query_regdb_wmm(uint8_t *alpha2, uint32_t center_freq,
struct ieee80211_reg_rule *rule)