-rw-r--r-- | libopie2/opienet/onetwork.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h index 0eb4542..eb6c86e 100644 --- a/libopie2/opienet/onetwork.h +++ b/libopie2/opienet/onetwork.h @@ -350,7 +350,6 @@ class OWirelessNetworkInterface : public ONetworkInterface * @returns the current IEEE 802.11 operation mode. * Possible values are <ul><li>adhoc<li>managed<li>monitor<li>master or <li>unknown - */ - virtual QString mode() const; - /** + * + * @note: Important note concerning the 'monitor' mode: * Setting the monitor mode on a wireless network interface enables * listening to IEEE 802.11 data and management frames which normally @@ -363,9 +362,5 @@ class OWirelessNetworkInterface : public ONetworkInterface * @see OMonitoringInterface */ - virtual void setMonitorMode( bool ); //FIXME: ==> setMode( "monitor" ); Use IW_MONITOR first, if this doesn't work, then use iwpriv! - /** - * @returns true if the device is listening in IEEE 802.11 monitor mode - */ - virtual bool monitorMode() const; //FIXME: ==> mode() + virtual QString mode() const; /** * Set the channel hopping @a interval. An @a interval of 0 disables channel hopping. @@ -423,4 +418,8 @@ class OWirelessNetworkInterface : public ONetworkInterface */ virtual OStationList* scanNetwork(); + /** @internal commit pending changes to the driver + * + */ + void commit() const; protected: @@ -457,5 +456,4 @@ class OMonitoringInterface public: virtual void setEnabled( bool ); - virtual bool enabled() const; virtual void setChannel( int ); |