summaryrefslogtreecommitdiff
authorbenmeyer <benmeyer>2002-12-11 20:26:40 (UTC)
committer benmeyer <benmeyer>2002-12-11 20:26:40 (UTC)
commitb433feb7b048d5155e085c12f88ac5531d045140 (patch) (side-by-side diff)
tree9acc6fa0b1722bdbf04fe4730562972b31896303
parent3b2ec1e3ba172771365ff7822f623c3c6cb4d378 (diff)
downloadopie-b433feb7b048d5155e085c12f88ac5531d045140.zip
opie-b433feb7b048d5155e085c12f88ac5531d045140.tar.gz
opie-b433feb7b048d5155e085c12f88ac5531d045140.tar.bz2
Added PDF url
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/wlan/wextensions.cpp3
-rw-r--r--noncore/settings/networksettings/wlan/wextensions.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/networksetup/wlan/wextensions.cpp b/noncore/net/networksetup/wlan/wextensions.cpp
index 16654bb..827d075 100644
--- a/noncore/net/networksetup/wlan/wextensions.cpp
+++ b/noncore/net/networksetup/wlan/wextensions.cpp
@@ -102,2 +102,5 @@ int WExtensions::channel(){
return 0;
+
+ // http://www.elanix.com/pdf/an137e.pdf
+
double num = (double( iwr.u.freq.m ) * pow( 10, iwr.u.freq.e ) / 1000000000);
diff --git a/noncore/settings/networksettings/wlan/wextensions.cpp b/noncore/settings/networksettings/wlan/wextensions.cpp
index 16654bb..827d075 100644
--- a/noncore/settings/networksettings/wlan/wextensions.cpp
+++ b/noncore/settings/networksettings/wlan/wextensions.cpp
@@ -102,2 +102,5 @@ int WExtensions::channel(){
return 0;
+
+ // http://www.elanix.com/pdf/an137e.pdf
+
double num = (double( iwr.u.freq.m ) * pow( 10, iwr.u.freq.e ) / 1000000000);