summaryrefslogtreecommitdiff
path: root/libopie2/opienet/onetwork.h
authormickeyl <mickeyl>2003-04-01 15:03:49 (UTC)
committer mickeyl <mickeyl>2003-04-01 15:03:49 (UTC)
commita7ad29eb41163eec88b3bd835108bd80140ff086 (patch) (side-by-side diff)
tree8fa122e07d475014d8343be06d99f53759af0582 /libopie2/opienet/onetwork.h
parent14d3e700f80f8e26f3f3cceaa7174d5f1c445bd7 (diff)
downloadopie-a7ad29eb41163eec88b3bd835108bd80140ff086.zip
opie-a7ad29eb41163eec88b3bd835108bd80140ff086.tar.gz
opie-a7ad29eb41163eec88b3bd835108bd80140ff086.tar.bz2
introduce a more sophisticated channel hopping scheme
Diffstat (limited to 'libopie2/opienet/onetwork.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/onetwork.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h
index c544454..b57ac3f 100644
--- a/libopie2/opienet/onetwork.h
+++ b/libopie2/opienet/onetwork.h
@@ -33,12 +33,13 @@
#ifndef ONETWORK_H
#define ONETWORK_H
/* QT */
+#include <qvaluelist.h>
#include <qdict.h>
#include <qmap.h>
#include <qobject.h>
#include <qhostaddress.h>
/* OPIE */
@@ -159,15 +160,16 @@ class OChannelHopper : public QObject
void setInterval( int );
int interval() const;
private:
OWirelessNetworkInterface* _iface;
int _interval;
- int _channel;
int _tid;
- int _maxChannel;
+ QValueList<int> _channels;
+ QValueList<int>::Iterator _channel;
+
};
/*======================================================================================
* OWirelessNetworkInterface
*======================================================================================*/