summaryrefslogtreecommitdiff
path: root/cesar/cp/sta/mgr/inc
diff options
context:
space:
mode:
authormercadie2009-11-23 13:13:01 +0000
committermercadie2009-11-23 13:13:01 +0000
commit947e3f752e530ad875e03be084e104f669976eea (patch)
treec77c486671f3142d03f66f3df23b0812efeb3a8a /cesar/cp/sta/mgr/inc
parent03713c97969c8652c3508d995733646c15bbd1cd (diff)
cesar/cp/{beacon,sta/mgr}: store new info for each new avln
Add the fields 'hm' and 'avln_num_slots' in cp_net_t structure. Change hm type in cp_beacon_variant_fields_t to mac_coexistence_mode_t. In cp_beacon_get_and_process_beacon store in the context of the avln: - hm (hybrid mode), - avln_num_slots (number of beacon slots in the AVLN), - avln_slot_id (beacon slot id used by this avln), - avln_slot_usage (beacon slot usage in this avln). Please enter the commit message for your changes. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6447 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp/sta/mgr/inc')
-rw-r--r--cesar/cp/sta/mgr/inc/net.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cesar/cp/sta/mgr/inc/net.h b/cesar/cp/sta/mgr/inc/net.h
index 5439efd320..0019fb7730 100644
--- a/cesar/cp/sta/mgr/inc/net.h
+++ b/cesar/cp/sta/mgr/inc/net.h
@@ -49,6 +49,9 @@ struct cp_net_t
/** AVLN slot id. */
u8 avln_slot_id;
+ /** Number of beacon slots in the AVLN. */
+ u8 avln_num_slots;
+
/**
* Slot usage mask read in the AVLN central beacon.
*/
@@ -79,6 +82,11 @@ struct cp_net_t
* Number of associated stations in the net.
*/
uint num_associated_stas;
+
+ /**
+ * Hybrid mode of the avln.
+ */
+ mac_coexistence_mode_t hm;
};
BEGIN_DECLS