summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/maximus/src/maximus_tmdma.c
diff options
context:
space:
mode:
authorburet2010-02-11 16:52:40 +0000
committerburet2010-02-11 16:52:40 +0000
commit074d0b4c01b516c14a0e0cc8771bc8146662cbfa (patch)
tree4878342dc143b24c05fadfae655f15cf73d690f6 /cesar/hal/phy/maximus/src/maximus_tmdma.c
parentc4b07a41420479db6e49dcbbaa95cba9ed39677a (diff)
cesar/hal/phy/maximus: keep comments concerning errors
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6708 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/hal/phy/maximus/src/maximus_tmdma.c')
-rw-r--r--cesar/hal/phy/maximus/src/maximus_tmdma.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/cesar/hal/phy/maximus/src/maximus_tmdma.c b/cesar/hal/phy/maximus/src/maximus_tmdma.c
index 590dfab10e..237f3940b0 100644
--- a/cesar/hal/phy/maximus/src/maximus_tmdma.c
+++ b/cesar/hal/phy/maximus/src/maximus_tmdma.c
@@ -17,6 +17,10 @@
#include "mac/common/defs.h" // for 'MAC_PB520_BYTES'
#include <errno.h>
+/**
+ * set errno to:
+ * - EINVAL if ctx or tonemask are null
+ */
void
phy_set_tonemask (phy_t *ctx, u32 *tonemask, uint carrier_nb)
{
@@ -53,6 +57,11 @@ phy_set_tonemask (phy_t *ctx, u32 *tonemask, uint carrier_nb)
}
+/**
+ * set errno to:
+ * - EINVAL if ctx or tonemap are null,
+ * or if arguments are out-of-range or incorrect
+ */
void
phy_set_tonemap (phy_t *ctx, blk_t *tonemap)
{