summaryrefslogtreecommitdiff
path: root/libopie2/opienet/onetwork.h
Unidiff
Diffstat (limited to 'libopie2/opienet/onetwork.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/onetwork.h29
1 files changed, 22 insertions, 7 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h
index b170ea2..e1545dd 100644
--- a/libopie2/opienet/onetwork.h
+++ b/libopie2/opienet/onetwork.h
@@ -363,3 +363,3 @@ class OWirelessNetworkInterface : public ONetworkInterface
363 */ 363 */
364 virtual void setMonitorMode( bool ); //FIXME: ==> setMode( "monitor" ); 364 virtual void setMonitorMode( bool ); //FIXME: ==> setMode( "monitor" ); Use IW_MONITOR first, if this doesn't work, then use iwpriv!
365 /** 365 /**
@@ -399,8 +399,10 @@ class OWirelessNetworkInterface : public ONetworkInterface
399 virtual void getPrivate( const QString& command ); //FIXME: Implement and document this 399 virtual void getPrivate( const QString& command ); //FIXME: Implement and document this
400
401 virtual bool isAssociated() const {}; //FIXME: Implement and document this
402 /** 400 /**
403 * @returns the MAC address of the Access Point if the 401 * @returns true if the interface is associated to an access point
404 * device is in infrastructure mode. @returns a (more or less random) CELL 402 * @note: This information is only valid if the interface is in managed mode.
405 * address if the device is in adhoc mode. 403 */
404 virtual bool isAssociated() const;
405 /**
406 * @returns the MAC address of the Access Point if the device is in infrastructure mode.
407 * @returns a (more or less random) cell ID address if the device is in adhoc mode.
406 */ 408 */
@@ -416,6 +418,12 @@ class OWirelessNetworkInterface : public ONetworkInterface
416 virtual QString SSID() const; 418 virtual QString SSID() const;
419 /**
420 * Perform scanning the wireless network neighbourhood.
421 * @note: UNSTABLE API - UNDER CONSTRUCTION - DON'T USE!
422 */
423 virtual int scanNetwork();
417 424
418 protected: 425 protected:
419 void buildChannelList(); 426 void buildInformation();
420 void buildPrivateList(); 427 void buildPrivateList();
428 void dumpInformation() const;
421 virtual void init(); 429 virtual void init();
@@ -428,2 +436,3 @@ class OWirelessNetworkInterface : public ONetworkInterface
428 QMap<int,int> _channels; 436 QMap<int,int> _channels;
437 struct iw_range _range;
429 438
@@ -477,2 +486,3 @@ class OCiscoMonitoringInterface : public OMonitoringInterface
477 486
487
478/*====================================================================================== 488/*======================================================================================
@@ -481,2 +491,3 @@ class OCiscoMonitoringInterface : public OMonitoringInterface
481 491
492
482class OWlanNGMonitoringInterface : public OMonitoringInterface 493class OWlanNGMonitoringInterface : public OMonitoringInterface
@@ -494,2 +505,3 @@ class OWlanNGMonitoringInterface : public OMonitoringInterface
494 505
506
495/*====================================================================================== 507/*======================================================================================
@@ -498,2 +510,3 @@ class OWlanNGMonitoringInterface : public OMonitoringInterface
498 510
511
499class OHostAPMonitoringInterface : public OMonitoringInterface 512class OHostAPMonitoringInterface : public OMonitoringInterface
@@ -509,2 +522,3 @@ class OHostAPMonitoringInterface : public OMonitoringInterface
509 522
523
510/*====================================================================================== 524/*======================================================================================
@@ -513,2 +527,3 @@ class OHostAPMonitoringInterface : public OMonitoringInterface
513 527
528
514class OOrinocoMonitoringInterface : public OMonitoringInterface 529class OOrinocoMonitoringInterface : public OMonitoringInterface