1e5b75505Sopenharmony_ci/*
2e5b75505Sopenharmony_ci * MBO related functions and structures
3e5b75505Sopenharmony_ci * Copyright (c) 2016, Qualcomm Atheros, Inc.
4e5b75505Sopenharmony_ci *
5e5b75505Sopenharmony_ci * This software may be distributed under the terms of the BSD license.
6e5b75505Sopenharmony_ci * See README for more details.
7e5b75505Sopenharmony_ci */
8e5b75505Sopenharmony_ci
9e5b75505Sopenharmony_ci#ifndef MBO_AP_H
10e5b75505Sopenharmony_ci#define MBO_AP_H
11e5b75505Sopenharmony_ci
12e5b75505Sopenharmony_cistruct hostapd_data;
13e5b75505Sopenharmony_cistruct sta_info;
14e5b75505Sopenharmony_cistruct ieee802_11_elems;
15e5b75505Sopenharmony_ci
16e5b75505Sopenharmony_ci#ifdef CONFIG_MBO
17e5b75505Sopenharmony_ci
18e5b75505Sopenharmony_civoid mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta,
19e5b75505Sopenharmony_ci			    struct ieee802_11_elems *elems);
20e5b75505Sopenharmony_ciint mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen);
21e5b75505Sopenharmony_civoid mbo_ap_wnm_notification_req(struct hostapd_data *hapd, const u8 *addr,
22e5b75505Sopenharmony_ci				 const u8 *buf, size_t len);
23e5b75505Sopenharmony_civoid mbo_ap_sta_free(struct sta_info *sta);
24e5b75505Sopenharmony_ci
25e5b75505Sopenharmony_ci#else /* CONFIG_MBO */
26e5b75505Sopenharmony_ci
27e5b75505Sopenharmony_cistatic inline void mbo_ap_check_sta_assoc(struct hostapd_data *hapd,
28e5b75505Sopenharmony_ci					  struct sta_info *sta,
29e5b75505Sopenharmony_ci					  struct ieee802_11_elems *elems)
30e5b75505Sopenharmony_ci{
31e5b75505Sopenharmony_ci}
32e5b75505Sopenharmony_ci
33e5b75505Sopenharmony_cistatic inline int mbo_ap_get_info(struct sta_info *sta, char *buf,
34e5b75505Sopenharmony_ci				  size_t buflen)
35e5b75505Sopenharmony_ci{
36e5b75505Sopenharmony_ci	return 0;
37e5b75505Sopenharmony_ci}
38e5b75505Sopenharmony_ci
39e5b75505Sopenharmony_cistatic inline void mbo_ap_wnm_notification_req(struct hostapd_data *hapd,
40e5b75505Sopenharmony_ci					       const u8 *addr,
41e5b75505Sopenharmony_ci					       const u8 *buf, size_t len)
42e5b75505Sopenharmony_ci{
43e5b75505Sopenharmony_ci}
44e5b75505Sopenharmony_ci
45e5b75505Sopenharmony_cistatic inline void mbo_ap_sta_free(struct sta_info *sta)
46e5b75505Sopenharmony_ci{
47e5b75505Sopenharmony_ci}
48e5b75505Sopenharmony_ci
49e5b75505Sopenharmony_ci#endif /* CONFIG_MBO */
50e5b75505Sopenharmony_ci
51e5b75505Sopenharmony_ci#endif /* MBO_AP_H */
52