summaryrefslogtreecommitdiff
path: root/cesar/cp/beacon/inc/beacon.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cp/beacon/inc/beacon.h')
-rw-r--r--cesar/cp/beacon/inc/beacon.h30
1 files changed, 29 insertions, 1 deletions
diff --git a/cesar/cp/beacon/inc/beacon.h b/cesar/cp/beacon/inc/beacon.h
index 56d17c0fd6..09104adb09 100644
--- a/cesar/cp/beacon/inc/beacon.h
+++ b/cesar/cp/beacon/inc/beacon.h
@@ -31,6 +31,27 @@
#define CP_BEACON_COUNTDOWN_HOIP CP_BEACON_COUNTDOWN_DEFAULT
#define CP_BEACON_COUNTDOWN_EKS CP_BEACON_COUNTDOWN_DEFAULT
+struct cp_beacon_discover_info_t
+{
+ /* Discover info data. */
+ BITFIELDS_WORD
+ (
+ u32 updated:1;,
+ u32 cco_cap:2;,
+ u32 proxy_net_cap:1;,
+ u32 backup_cco_cap:1;,
+ u32 cco_status:1;,
+ u32 pco_status:1;,
+ u32 backup_cco_status:1;,
+ u32 num_dis_sta:8;,
+ u32 num_dis_net:8;,
+ u32 authentication:1;,
+ u32 status_user_ap_cco:1;,
+ u32 rsvd:6;
+ )
+};
+typedef struct cp_beacon_discover_info_t cp_beacon_discover_info_t;
+
struct cp_beacon_snid_t
{
/** The new SNID of the AVLN. */
@@ -103,7 +124,7 @@ struct cp_beacon_t
/**
* Discover process use by the CCo. */
cp_beacon_discover_t discover;
- cp_beacon_bentry_discover_info_t discover_info_last;
+ cp_beacon_discover_info_t discover_info_last;
/** Snid countdown structure. */
struct cp_beacon_snid_t snids;
@@ -119,4 +140,11 @@ struct cp_beacon_t
};
typedef struct cp_beacon_t cp_beacon_t;
+BEGIN_DECLS
+
+beacon_t *
+cp_beacon_fill_share_memory (cp_t *ctx);
+
+END_DECLS
+
#endif /* cp_beacon_inc_beacon_h */