projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4de7ad
)
Added note about converting dBm to power P
author
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 29 Sep 2010 09:19:00 +0000
(09:19 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 29 Sep 2010 09:19:00 +0000
(09:19 +0000)
src/transport/transport_selection.h
patch
|
blob
|
history
diff --git
a/src/transport/transport_selection.h
b/src/transport/transport_selection.h
index 8bc810f84be46974a369236615fef892ee5e232a..7a98e68a3af26191469bf9615db5067d57fc2c39 100644
(file)
--- a/
src/transport/transport_selection.h
+++ b/
src/transport/transport_selection.h
@@
-92,6
+92,12
@@
enum GNUNET_ATS_Cost_Type
* Power P in Watt (J/s)
* Datarate D in MBit/s
*
+ * Conversion of dBm to Power P used by WLAN:
+ *
+ * Lp(dbm) = 10 log10 (P/ 1mW)
+ *
+ * => P = 1 mW * 10^(Lp(dbm)/10)
+ *
* Unit: [mJ/MB]
*
* Interpretation: less is better