summaryrefslogtreecommitdiff
path: root/hal/phy/phy.h
diff options
context:
space:
mode:
authorburet2008-02-25 17:49:46 +0000
committerburet2008-02-25 17:49:46 +0000
commit94e656411960bc97d155c7d9c6e1461b9995512d (patch)
treed94f22269d5c32281d1bdec723f82aa0198bde87 /hal/phy/phy.h
parent7ca22bc9610eed5a558200dc57b54eadbe3ef677 (diff)
Maximus V2: implement the TX false alarm feature.
+ enhance network clock get next element function + replace SAR_MSDU_PAYLOAD_SIZE by the new define of common/defs/ethernet.h git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1458 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'hal/phy/phy.h')
-rw-r--r--hal/phy/phy.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/hal/phy/phy.h b/hal/phy/phy.h
index 3aec217aa9..ea11524abe 100644
--- a/hal/phy/phy.h
+++ b/hal/phy/phy.h
@@ -36,6 +36,13 @@ typedef bool (*phy_access_conf_cb_t) (void *user);
typedef bool (*phy_rx_fc_cb_t) (void *user, u32 rx_date, const u32 *fc_av);
/**
+ * TX FALSE ALARM event callback.
+ * \param user user data
+ * \return true if a DSR is requested
+ */
+typedef bool (*phy_tx_false_alarm_cb_t) (void *user);
+
+/**
* Zero-cross event callback.
* \param user user data
* \return true if a DSR is requested
@@ -66,13 +73,14 @@ BEGIN_DECLS
* \param access_cb ACCESS event callback
* \param access_conf_cb ACCESS CONFIRM event callback
* \param pbdma_cb PB DMA callback
+ * \param tx_false_alarm_cb TX FALSE ALARM callback
* \param deferred_cb DSR callback
* \return the newly created context
*/
phy_t *
phy_init (void *user_data, phy_rx_fc_cb_t rx_fc_cb, phy_access_cb_t access_cb,
phy_access_conf_cb_t access_conf_cb, phy_pbdma_cb_t pbdma_cb,
- phy_deferred_cb_t deferred_cb);
+ phy_tx_false_alarm_cb_t tx_false_alarm_cb, phy_deferred_cb_t deferred_cb);
/**
* Set the tone mask and its related parameters, this is a kind of