summaryrefslogtreecommitdiff
path: root/noncore/net/networksetup/wlan/wextensions.h
authorbenmeyer <benmeyer>2002-12-11 20:16:34 (UTC)
committer benmeyer <benmeyer>2002-12-11 20:16:34 (UTC)
commit3b2ec1e3ba172771365ff7822f623c3c6cb4d378 (patch) (unidiff)
treed65ee26af6ee85b804ca3de5e738ba4fdb37d17c /noncore/net/networksetup/wlan/wextensions.h
parent3faddab31483bda0dd9d093cd473ffb801207b9c (diff)
downloadopie-3b2ec1e3ba172771365ff7822f623c3c6cb4d378.zip
opie-3b2ec1e3ba172771365ff7822f623c3c6cb4d378.tar.gz
opie-3b2ec1e3ba172771365ff7822f623c3c6cb4d378.tar.bz2
Now will display the channel and not the freqency
Diffstat (limited to 'noncore/net/networksetup/wlan/wextensions.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/wlan/wextensions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/networksetup/wlan/wextensions.h b/noncore/net/networksetup/wlan/wextensions.h
index 1565eb5..a89e33a 100644
--- a/noncore/net/networksetup/wlan/wextensions.h
+++ b/noncore/net/networksetup/wlan/wextensions.h
@@ -7,24 +7,25 @@
7#include <linux/wireless.h> 7#include <linux/wireless.h>
8 8
9class WExtensions { 9class WExtensions {
10 10
11public: 11public:
12 WExtensions(QString interfaceName); 12 WExtensions(QString interfaceName);
13 QString getInterfaceName(){return interface;}; 13 QString getInterfaceName(){return interface;};
14 bool doesHaveWirelessExtensions(){return hasWirelessExtensions;}; 14 bool doesHaveWirelessExtensions(){return hasWirelessExtensions;};
15 QString station(); 15 QString station();
16 QString essid(); 16 QString essid();
17 QString mode(); 17 QString mode();
18 double frequency(); 18 double frequency();
19 int channel();
19 double rate(); 20 double rate();
20 QString ap(); 21 QString ap();
21 bool stats( int &signal, int &noise, int &quality); 22 bool stats( int &signal, int &noise, int &quality);
22 23
23private: 24private:
24 bool hasWirelessExtensions; 25 bool hasWirelessExtensions;
25 QString interface; 26 QString interface;
26 27
27 // Used in we calls 28 // Used in we calls
28 struct iwreq iwr; 29 struct iwreq iwr;
29 int fd; 30 int fd;
30 31