/* Cesar project {{{ * * Copyright (C) 2008 Spidcom * * <<>> * * }}} */ /** * \file src/beacon.c * \brief « brief description » * \ingroup « module » * * « long description » */ #include "common/std.h" #include "cp/cp.h" #include "cp/beacon/beacon.h" #include "bsu/beacon/beacon.h" void cp_beacon_init (cp_t *ctx) __attribute__((weak)); void cp_beacon_init (cp_t *ctx) {} void cp_beacon_uninit (cp_t *ctx) __attribute__((weak)); void cp_beacon_uninit (cp_t *ctx) {} void cp_beacon_cco_update_beacon_data (cp_t *ctx) __attribute__((weak)); void cp_beacon_cco_update_beacon_data (cp_t *ctx) {} void cp_beacon_poweron_init (cp_t *ctx) __attribute__((weak)); void cp_beacon_poweron_init (cp_t *ctx) {} void cp_beacon_create_default_schedules (cp_t *ctx) __attribute__((weak)); void cp_beacon_create_default_schedules (cp_t *ctx) {} void cp_beacon_get_and_process_beacon (cp_t *ctx) __attribute__((weak)); void cp_beacon_get_and_process_beacon (cp_t *ctx) {} cp_sta_t * cp_beacon_process_beacon_central ( cp_t *ctx, bsu_beacon_t *beacon, cp_net_t *net) __attribute__((weak)); cp_sta_t * cp_beacon_process_beacon_central ( cp_t *ctx, bsu_beacon_t *beacon, cp_net_t *net) { return NULL; } void cp_beacon_process_tracked_avln (cp_t *ctx, bsu_beacon_t *beacon, cp_net_t *net) __attribute__((weak)); void cp_beacon_process_tracked_avln (cp_t *ctx, bsu_beacon_t *beacon, cp_net_t *net) {} void cp_beacon_process_untracked_avln (cp_t *ctx) __attribute__((weak)); void cp_beacon_process_untracked_avln (cp_t *ctx) {} void cp_beacon_beacon_not_received (cp_t *ctx) __attribute__((weak)); void cp_beacon_beacon_not_received (cp_t *ctx) {} void cp_beacon_change_nek (cp_t *ctx, uint eks, cp_key_t nek, bool now) __attribute__((weak)); void cp_beacon_change_nek (cp_t *ctx, uint eks, cp_key_t nek, bool now) {} void cp_beacon_deactivate (cp_t *ctx) __attribute__((weak)); void cp_beacon_deactivate (cp_t *ctx) {} void cp_beacon_change_snid (cp_t *ctx, cp_snid_t snid) __attribute__((weak)); void cp_beacon_change_snid (cp_t *ctx, cp_snid_t snid) {} void cp_beacon_reconfigure_timer (cp_t *ctx, bool cco) __attribute__((weak)); void cp_beacon_reconfigure_timer (cp_t *ctx, bool cco) {} bool cp_beacon_any_countdown_active (cp_t *ctx) __attribute__((weak)); bool cp_beacon_any_countdown_active (cp_t *ctx) { return false; } void cp_beacon_fill (cp_t *ctx, bsu_beacon_t *beacon) __attribute__ ((weak)); void cp_beacon_fill (cp_t *ctx, bsu_beacon_t *beacon) {} bool cp_beacon_synchronised (cp_t *ctx) __attribute__ ((weak)); bool cp_beacon_synchronised (cp_t *ctx) { return true; } void cp_beacon_update_tracking (cp_t *ctx, cp_sta_t *sta) __attribute__ ((weak)); void cp_beacon_update_tracking (cp_t *ctx, cp_sta_t *sta) {} cp_sta_t * cp_beacon_update_sta_peer (cp_t *ctx, bsu_beacon_t *beacon, cp_net_t *net, mac_t mac) __attribute__ ((weak)); cp_sta_t * cp_beacon_update_sta_peer (cp_t *ctx, bsu_beacon_t *beacon, cp_net_t *net, mac_t mac) { return NULL; } void cp_beacon_sta_compute_schedules (cp_t *ctx, bsu_beacon_t *beacon) __attribute__ ((weak)); void cp_beacon_sta_compute_schedules (cp_t *ctx, bsu_beacon_t *beacon) {} void cp_beacon_countdowns (cp_t *ctx) __attribute__ ((weak)); void cp_beacon_countdowns (cp_t *ctx) {}