Added note about converting dBm to power P
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 29 Sep 2010 09:19:00 +0000 (09:19 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 29 Sep 2010 09:19:00 +0000 (09:19 +0000)
src/transport/transport_selection.h

index 8bc810f84be46974a369236615fef892ee5e232a..7a98e68a3af26191469bf9615db5067d57fc2c39 100644 (file)
@@ -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