author | mickeyl <mickeyl> | 2003-04-01 15:03:49 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-01 15:03:49 (UTC) |
commit | a7ad29eb41163eec88b3bd835108bd80140ff086 (patch) (side-by-side diff) | |
tree | 8fa122e07d475014d8343be06d99f53759af0582 /libopie2/opienet/onetwork.h | |
parent | 14d3e700f80f8e26f3f3cceaa7174d5f1c445bd7 (diff) | |
download | opie-a7ad29eb41163eec88b3bd835108bd80140ff086.zip opie-a7ad29eb41163eec88b3bd835108bd80140ff086.tar.gz opie-a7ad29eb41163eec88b3bd835108bd80140ff086.tar.bz2 |
introduce a more sophisticated channel hopping scheme
-rw-r--r-- | libopie2/opienet/onetwork.h | 6 |
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 @@ -31,16 +31,17 @@ */ #ifndef ONETWORK_H #define ONETWORK_H /* QT */ +#include <qvaluelist.h> #include <qdict.h> #include <qmap.h> #include <qobject.h> #include <qhostaddress.h> /* OPIE */ #include <opie2/onetutils.h> @@ -157,19 +158,20 @@ class OChannelHopper : public QObject int channel() const; virtual void timerEvent( QTimerEvent* ); 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 *======================================================================================*/ class OWirelessNetworkInterface : public ONetworkInterface |