-rw-r--r-- | libopie2/opienet/onetwork.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h index 4d9912d..fa9f39f 100644 --- a/libopie2/opienet/onetwork.h +++ b/libopie2/opienet/onetwork.h | |||
@@ -392,48 +392,51 @@ class OWirelessNetworkInterface : public ONetworkInterface | |||
392 | virtual OChannelHopper* channelHopper() const; | 392 | virtual OChannelHopper* channelHopper() const; |
393 | /** | 393 | /** |
394 | * Set the station @a nickname. | 394 | * Set the station @a nickname. |
395 | */ | 395 | */ |
396 | virtual void setNickName( const QString& nickname ); | 396 | virtual void setNickName( const QString& nickname ); |
397 | /** | 397 | /** |
398 | * @returns the current station nickname. | 398 | * @returns the current station nickname. |
399 | */ | 399 | */ |
400 | virtual QString nickName() const; | 400 | virtual QString nickName() const; |
401 | /** | 401 | /** |
402 | * Invoke the private IOCTL @a command with a @number of parameters on the network interface. | 402 | * Invoke the private IOCTL @a command with a @number of parameters on the network interface. |
403 | * @see OPrivateIOCTL | 403 | * @see OPrivateIOCTL |
404 | */ | 404 | */ |
405 | virtual void setPrivate( const QString& command, int number, ... ); | 405 | virtual void setPrivate( const QString& command, int number, ... ); |
406 | /** | 406 | /** |
407 | * @returns true if the interface is featuring the private IOCTL @command. | 407 | * @returns true if the interface is featuring the private IOCTL @command. |
408 | */ | 408 | */ |
409 | virtual bool hasPrivate( const QString& command ); | 409 | virtual bool hasPrivate( const QString& command ); |
410 | virtual void getPrivate( const QString& command ); //FIXME: Implement and document this | 410 | virtual void getPrivate( const QString& command ); //FIXME: Implement and document this |
411 | /** | 411 | /** |
412 | * @returns true if the interface is associated to an access point | 412 | * @returns true if the interface is associated to an access point |
413 | * @note: This information is only valid if the interface is in managed mode. | 413 | * @note: This information is only valid if the interface is in managed mode. |
414 | */ | 414 | */ |
415 | virtual bool isAssociated() const; | 415 | virtual bool isAssociated() const; |
416 | /** Set the @a mac associated AP address. | ||
417 | */ | ||
418 | virtual void setAssociatedAP( const OMacAddress& mac ) const; | ||
416 | /** | 419 | /** |
417 | * @returns the MAC address of the Access Point if the device is in infrastructure mode. | 420 | * @returns the MAC address of the Access Point if the device is in infrastructure mode. |
418 | * @returns a (more or less random) cell ID address if the device is in adhoc mode. | 421 | * @returns a (more or less random) cell ID address if the device is in adhoc mode. |
419 | */ | 422 | */ |
420 | virtual OMacAddress associatedAP() const; | 423 | virtual OMacAddress associatedAP() const; |
421 | /** | 424 | /** |
422 | * Set the @a ssid (Service Set ID) string. This is used to decide | 425 | * Set the @a ssid (Service Set ID) string. This is used to decide |
423 | * which network to associate with (use "any" to let the driver decide). | 426 | * which network to associate with (use "any" to let the driver decide). |
424 | */ | 427 | */ |
425 | virtual void setSSID( const QString& ssid ); | 428 | virtual void setSSID( const QString& ssid ); |
426 | /** | 429 | /** |
427 | * @returns the current SSID (Service Set ID). | 430 | * @returns the current SSID (Service Set ID). |
428 | */ | 431 | */ |
429 | virtual QString SSID() const; | 432 | virtual QString SSID() const; |
430 | /** | 433 | /** |
431 | * Perform scanning the wireless network neighbourhood. | 434 | * Perform scanning the wireless network neighbourhood. |
432 | * @note: UNSTABLE API - UNDER CONSTRUCTION - DON'T USE! | 435 | * @note: UNSTABLE API - UNDER CONSTRUCTION - DON'T USE! |
433 | */ | 436 | */ |
434 | virtual OStationList* scanNetwork(); | 437 | virtual OStationList* scanNetwork(); |
435 | /** | 438 | /** |
436 | * @return signal strength to associated neighbour (in percent). | 439 | * @return signal strength to associated neighbour (in percent). |
437 | * In infrastructure mode, this is the signal strength of the Access Point. | 440 | * In infrastructure mode, this is the signal strength of the Access Point. |
438 | * In other modes the result is driver dependent. | 441 | * In other modes the result is driver dependent. |
439 | */ | 442 | */ |