Diffstat (limited to 'noncore/net/networksetup/wlan/wextensions.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/wlan/wextensions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/networksetup/wlan/wextensions.h b/noncore/net/networksetup/wlan/wextensions.h index 29997f5..1565eb5 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 | ||
9 | class WExtensions { | 9 | class WExtensions { |
10 | 10 | ||
11 | public: | 11 | public: |
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 | double rate(); | ||
19 | QString ap(); | 20 | QString ap(); |
20 | bool stats( int &signal, int &noise, int &quality); | 21 | bool stats( int &signal, int &noise, int &quality); |
21 | 22 | ||
22 | private: | 23 | private: |
23 | bool hasWirelessExtensions; | 24 | bool hasWirelessExtensions; |
24 | QString interface; | 25 | QString interface; |
25 | 26 | ||
26 | // Used in we calls | 27 | // Used in we calls |
27 | struct iwreq iwr; | 28 | struct iwreq iwr; |
28 | int fd; | 29 | int fd; |
29 | 30 | ||
30 | }; | 31 | }; |