1 /** @file mlan_mbo.h
2  *
3  *  @brief Interface for the MBO feature implemented in mlan_mbo.c
4  *
5  *  Driver interface functions and type declarations for the process MBO
6  *    module implemented in mlan_mbo.c.
7  *
8  *  Copyright 2022-2024 NXP
9  *
10  *  SPDX-License-Identifier: BSD-3-Clause
11  *
12  */
13 
14 /********************************************************
15 Change log:
16     8/SEP/2022: initial version
17 ********************************************************/
18 #ifndef _MLAN_MBO_H
19 #define _MLAN_MBO_H
20 
21 #if CONFIG_DRIVER_MBO
22 /** MBO attributes ID */
23 enum MBO_ATTRIB_ID
24 {
25     MBO_AP_CAP_IND = 1,
26     MBO_NON_PERFER_CH_REPORT,
27     MBO_CELLULAR_DATA_CAP,
28     MBO_ASSOC_DISALLOWED,
29     MBO_CELLULAR_DATA_CONNECT_PREFER,
30     MBO_TRANSIT_REASON,
31     MBO_TRANSIT_REJECCT_REASON,
32     MBO_ASSOC_RETRY_DELAY,
33 };
34 
35 extern const t_u8 mbo_oui[];
36 
37 t_u8 *wlan_add_mbo_oui(t_u8 *oui);
38 t_u8 *wlan_add_mbo_oui_type(t_u8 *oui_type);
39 t_u8 *wlan_add_mbo_attr_id(t_u8 *attr_id);
40 t_u8 *wlan_add_mbo_cellular_cap(t_u8 *attrib);
41 t_u8 *wlan_add_mbo_prefer_ch(t_u8 *attrib, t_u8 ch0, t_u8 pefer0, t_u8 ch1, t_u8 pefer1);
42 void wlan_send_mgmt_wnm_notification(
43     t_u8 *src_addr, t_u8 *dst_addr, t_u8 *target_bssid, t_u8 *tag_nr, t_u8 tag_len, bool protect);
44 #endif
45 #endif
46