]>
git.ipfire.org Git - thirdparty/hostap.git/blob - src/ap/mbo_ap.h
2 * MBO related functions and structures
3 * Copyright (c) 2016, Qualcomm Atheros, Inc.
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
14 struct ieee802_11_elems
;
18 void mbo_ap_check_sta_assoc(struct hostapd_data
*hapd
, struct sta_info
*sta
,
19 struct ieee802_11_elems
*elems
);
20 int mbo_ap_get_info(struct sta_info
*sta
, char *buf
, size_t buflen
);
21 void mbo_ap_wnm_notification_req(struct hostapd_data
*hapd
, const u8
*addr
,
22 const u8
*buf
, size_t len
);
23 void mbo_ap_sta_free(struct sta_info
*sta
);
25 #else /* CONFIG_MBO */
27 static inline void mbo_ap_check_sta_assoc(struct hostapd_data
*hapd
,
29 struct ieee802_11_elems
*elems
)
33 static inline int mbo_ap_get_info(struct sta_info
*sta
, char *buf
,
39 static inline void mbo_ap_wnm_notification_req(struct hostapd_data
*hapd
,
41 const u8
*buf
, size_t len
)
45 static inline void mbo_ap_sta_free(struct sta_info
*sta
)
49 #endif /* CONFIG_MBO */