summaryrefslogtreecommitdiff
path: root/mac/ca/ca.h
diff options
context:
space:
mode:
authorschodet2008-02-19 14:34:10 +0000
committerschodet2008-02-19 14:34:10 +0000
commit3d6e6e21bc18e615fb2ebf4932144c6a78de7e8b (patch)
treec7ada8a9e3e181dfec41c466ea0bbb01a143f2b0 /mac/ca/ca.h
parentbf235e2a25d89d492fe471695a22631d05754983 (diff)
* mac/ca:
- store CW start date in access param for software slot count. - real eifs after a ca_init. - do not activate RX when using a PRP. - activate RX in ca_access_vcs_restart when not eifs. - enter PRP even when no PB available, to sense CAP. - play backoff after an eifs. - deactivate RX in AIFS start. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1432 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'mac/ca/ca.h')
-rw-r--r--mac/ca/ca.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/mac/ca/ca.h b/mac/ca/ca.h
index 8b11bc7c7b..8de7a4551d 100644
--- a/mac/ca/ca.h
+++ b/mac/ca/ca.h
@@ -104,12 +104,14 @@ typedef struct ca_schedule_t ca_schedule_t;
* This structure is read by PB Processing to prepare its new MPDU. */
struct ca_access_param_t
{
- /** Scheduled MFS borrowed reference or NULL if none. */
+ /** Scheduled MFS borrowed reference or NULL if none. If NULL, only
+ * access_date and cw_start_date are initialised. */
mfs_tx_t *mfs;
/** Programmed ACCESS date. Does not include anticipation, but does
- * include backoff. This is the only member initialised if mfs is
- * NULL. */
+ * include backoff. */
u32 access_date;
+ /** Contention window start date. This is used to compute slot count. */
+ u32 cw_start_date;
/** Beacon period start. Should be used to locate a tonemap. */
uint beacon_period_start_date;
/** Available time. */
@@ -118,8 +120,6 @@ struct ca_access_param_t
* know if a frame might be transmitted right after this one and we have
* to hurry. */
bool cfp:1;
- /** Should it content for ACCESS? */
- bool content:1;
/** Use an hybrid frame control? */
bool hybrid:1;
};