1
6
7
8
9
10
11
12
13
14
15
16
17
23
29
30
36
42
43
50
54
55
63
64
65
66
67
68
/* ... */
#ifndef _ESP_MBO_H
#define _ESP_MBO_H
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
/* ... */
enum non_pref_chan_reason {
NON_PREF_CHAN_REASON_UNSPECIFIED = 0,
NON_PREF_CHAN_REASON_RSSI = 1,
NON_PREF_CHAN_REASON_EXT_INTERFERENCE = 2,
NON_PREF_CHAN_REASON_INT_INTERFERENCE = 3,
}{ ... };
/* ... */
struct non_pref_chan {
enum non_pref_chan_reason reason;
uint8_t oper_class;
uint8_t chan;
uint8_t preference;
}{ ... };
/* ... */
struct non_pref_chan_s {
size_t non_pref_chan_num;
struct non_pref_chan chan[];
}{ ... };
/* ... */
int esp_mbo_update_non_pref_chan(struct non_pref_chan_s *non_pref_chan);
#ifdef __cplusplus
}{...}
#endif/* ... */
#endif