|
@@ -2719,6 +2719,20 @@ struct cfg80211_bss *cfg80211_get_mesh(struct wiphy *wiphy,
|
|
|
struct ieee80211_channel *channel,
|
|
|
const u8 *meshid, size_t meshidlen,
|
|
|
const u8 *meshcfg);
|
|
|
+/**
|
|
|
+ * cfg80211_ref_bss - reference BSS struct
|
|
|
+ * @bss: the BSS struct to reference
|
|
|
+ *
|
|
|
+ * Increments the refcount of the given BSS struct.
|
|
|
+ */
|
|
|
+void cfg80211_ref_bss(struct cfg80211_bss *bss);
|
|
|
+
|
|
|
+/**
|
|
|
+ * cfg80211_put_bss - unref BSS struct
|
|
|
+ * @bss: the BSS struct
|
|
|
+ *
|
|
|
+ * Decrements the refcount of the given BSS struct.
|
|
|
+ */
|
|
|
void cfg80211_put_bss(struct cfg80211_bss *bss);
|
|
|
|
|
|
/**
|