#include </home/clem/local/src/opie/libopie2/opienet/onetwork.h>
Inheritance diagram for Opie::Net::OWirelessNetworkInterface:


Public Member Functions | |
| OWirelessNetworkInterface (QObject *parent, const char *name) | |
| virtual | ~OWirelessNetworkInterface () |
| virtual void | setChannel (int channel) const |
| virtual int | channel () const |
| virtual double | frequency () const |
| virtual int | channels () const |
| virtual void | setMode (const QString &mode) |
| virtual QString | mode () const |
| virtual void | setChannelHopping (int interval=0) |
| virtual int | channelHopping () const |
| virtual OChannelHopper * | channelHopper () const |
| virtual void | setNickName (const QString &nickname) |
| virtual QString | nickName () const |
| virtual void | setPrivate (const QString &command, int number,...) |
| virtual bool | hasPrivate (const QString &command) |
| virtual void | getPrivate (const QString &command) |
| virtual bool | isAssociated () const |
| virtual void | setAssociatedAP (const OMacAddress &mac) const |
| virtual OMacAddress | associatedAP () const |
| virtual void | setSSID (const QString &ssid) |
| virtual QString | SSID () const |
| virtual OStationList * | scanNetwork () |
| virtual int | signalStrength () const |
| short | wirelessExtensionDriverVersion () const |
| void | commit () const |
Protected Member Functions | |
| void | buildInformation () |
| void | buildPrivateList () |
| void | dumpInformation () const |
| virtual void | init () |
| iwreq & | iwr () const |
| bool | wioctl (int call) const |
| bool | wioctl (int call, struct iwreq &) const |
Protected Attributes | |
| iwreq | _iwr |
| QMap< int, int > | _channels |
| iw_range | _range |
Private Attributes | |
| OChannelHopper * | _hopper |
| Private * | d |
Friends | |
| class | OMonitoringInterface |
| class | OCiscoMonitoringInterface |
| class | OWlanNGMonitoringInterface |
| class | OHostAPMonitoringInterface |
| class | OOrinocoMonitoringInterface |
| class | OPrivateIOCTL |
This class provides a high-level encapsulation of the Linux wireless extension API.
Definition at line 323 of file onetwork.h.
|
||||||||||||
|
Constructor. Definition at line 458 of file onetwork.cpp. |
|
|
Destructor. Definition at line 466 of file onetwork.cpp. |
|
|
Definition at line 502 of file onetwork.cpp. References Opie::Net::ONetworkInterface::_ifr, Opie::Net::ONetworkInterface::ioctl(), and Opie::Net::OMacAddress::unknown. Referenced by isAssociated(), WirelessApplet::mustRepaint(), and WirelessApplet::updatePopupWindow(). |
|
|
Definition at line 511 of file onetwork.cpp. References _channels, _range, Opie::Net::ONetworkInterface::_sfd, i, QMap< Key, T >::insert(), Opie::Net::ONetworkInterface::ioctl(), len, max, name, odebug, oendl, and owarn. Referenced by init(). |
|
|
Definition at line 593 of file onetwork.cpp. References _iwr, i, name, odebug, oendl, OPrivateIOCTL, owarn, and wioctl(). Referenced by init(). |
|
|
Definition at line 638 of file onetwork.cpp. References _channels, _hopper, _iwr, Opie::Net::OChannelHopper::channel(), Opie::Net::OChannelHopper::isActive(), and wioctl(). Referenced by main(), and Wellenreiter::receivePacket(). |
|
|
Definition at line 713 of file onetwork.cpp. References _hopper. Referenced by Wellenreiter::startClicked(). |
|
|
Definition at line 707 of file onetwork.cpp. References _hopper, and Opie::Net::OChannelHopper::interval(). |
|
|
Definition at line 692 of file onetwork.cpp. References _channels, and QMap< Key, T >::count(). Referenced by Wellenreiter::channelHopped(), and Opie::Net::OChannelHopper::OChannelHopper(). |
|
|
For internal use only. commit pending changes to the driver Definition at line 719 of file onetwork.cpp. References wioctl(). Referenced by OpieStumbler::slotJoinNetwork(). |
|
|
Definition at line 617 of file onetwork.cpp. References _range, name, odebug, oendl, and owarn. Referenced by init(). |
|
|
Definition at line 679 of file onetwork.cpp. References _iwr, and wioctl(). Referenced by main(), WirelessApplet::mustRepaint(), and WirelessApplet::updatePopupWindow(). |
|
|
Definition at line 850 of file onetwork.cpp. |
|
|
Definition at line 856 of file onetwork.cpp. References QString::local8Bit(). Referenced by Opie::Net::OOrinocoMonitoringInterface::setChannel(). |
|
|
Reimplemented from Opie::Net::ONetworkInterface. Definition at line 477 of file onetwork.cpp. References _iwr, buildInformation(), buildPrivateList(), dumpInformation(), odebug, and oendl. Referenced by OWirelessNetworkInterface(). |
|
|
Definition at line 487 of file onetwork.cpp. References associatedAP(), and Opie::Net::OMacAddress::unknown. Referenced by OpieStumbler::slotAssociated(). |
|
|
Definition at line 471 of file onetwork.cpp. References _iwr. |
|
|
Definition at line 773 of file onetwork.cpp. References _iwr, ARPHRD_IEEE80211, Opie::Net::ONetworkInterface::dataLinkType(), Opie::Net::Internal::modeToString(), odebug, oendl, and wioctl(). Referenced by main(), WirelessApplet::mustRepaint(), setMode(), Wellenreiter::startClicked(), and WirelessApplet::updatePopupWindow(). |
|
|
Definition at line 804 of file onetwork.cpp. References _iwr, str, and wioctl(). Referenced by WirelessApplet::updatePopupWindow(). |
|
|
Perform scanning the wireless network neighbourhood.
Definition at line 887 of file onetwork.cpp. References _channels, _iwr, _range, iw_stream_descr::current, Opie::Net::Internal::dumpBytes(), iw_stream_descr::end, IW_EV_POINT_OFF, IW_HEADER_TYPE_ADDR, IW_HEADER_TYPE_CHAR, IW_HEADER_TYPE_FREQ, IW_HEADER_TYPE_NULL, IW_HEADER_TYPE_PARAM, IW_HEADER_TYPE_POINT, IW_HEADER_TYPE_QUAL, IW_HEADER_TYPE_UINT, Opie::Net::Internal::modeToString(), NULL, odebug, oendl, qApp, stations, iw_stream_descr::value, and wioctl(). Referenced by Stumbler::slotRefresh(). |
|
|
Set the mac associated AP address. Definition at line 494 of file onetwork.cpp. References _iwr, ETH_ALEN, Opie::Net::OMacAddress::native(), and wioctl(). Referenced by Stumbler::start(). |
|
|
Setting the channel of the interface changes the radio frequency (RF) of the corresponding wireless network device.
Definition at line 657 of file onetwork.cpp. References _iwr, Opie::Net::ONetworkInterface::_mon, oendl, oerr, Opie::Net::OMonitoringInterface::setChannel(), and wioctl(). Referenced by main(), OpieStumbler::slotJoinNetwork(), Opie::Net::OChannelHopper::timerEvent(), and Wellenreiter::timerEvent(). |
|
|
Set the channel hopping interval. An interval of 0 disables channel hopping.
Definition at line 698 of file onetwork.cpp. References _hopper, and Opie::Net::OChannelHopper::setInterval(). Referenced by Wellenreiter::startClicked(), and Wellenreiter::stopClicked(). |
|
|
Set the IEEE 802.11 operation mode. Valid values are
Definition at line 725 of file onetwork.cpp. References _iwr, Opie::Net::ONetworkInterface::_mon, mode(), odebug, oendl, Opie::Net::OMonitoringInterface::setEnabled(), Opie::Net::Internal::stringToMode(), and wioctl(). Referenced by main(), OpieStumbler::slotJoinNetwork(), Wellenreiter::startClicked(), Wellenreiter::stopClicked(), and Wellenreiter::Wellenreiter(). |
|
|
Set the station nickname. Definition at line 796 of file onetwork.cpp. References _iwr, QString::length(), and wioctl(). |
|
||||||||||||||||
|
Invoke the private IOCTL command with a of parameters on the network interface.
Definition at line 821 of file onetwork.cpp. References _iwr, i, Opie::Net::OPrivateIOCTL::invoke(), name, Opie::Net::OPrivateIOCTL::numberSetArgs(), odebug, oendl, owarn, and Opie::Net::OPrivateIOCTL::setParameter(). Referenced by Opie::Net::OOrinocoMonitoringInterface::setChannel(), Opie::Net::OOrinocoMonitoringInterface::setEnabled(), and Opie::Net::OHostAPMonitoringInterface::setEnabled(). |
|
|
Set the ssid (Service Set ID) string. This is used to decide which network to associate with (use "any" to let the driver decide). Definition at line 879 of file onetwork.cpp. References _iwr, and wioctl(). Referenced by OpieStumbler::slotJoinNetwork(), and Stumbler::start(). |
|
|
Definition at line 1194 of file onetwork.cpp. References _iwr, _range, max, and wioctl(). Referenced by WirelessApplet::mustRepaint(), WirelessApplet::numberOfRings(), and WirelessApplet::updatePopupWindow(). |
|
|
Definition at line 862 of file onetwork.cpp. References _iwr, str, and wioctl(). Referenced by main(), WirelessApplet::mustRepaint(), WirelessApplet::updatePopupWindow(), and Wellenreiter::Wellenreiter(). |
|
||||||||||||
|
Definition at line 1217 of file onetwork.cpp. References Opie::Net::ONetworkInterface::_sfd, Opie::Net::ONetworkInterface::ioctl(), Opie::Net::Internal::DebugMapper::map(), name, odebug, and oendl. |
|
|
Definition at line 1236 of file onetwork.cpp. Referenced by buildPrivateList(), channel(), commit(), frequency(), mode(), nickName(), scanNetwork(), setAssociatedAP(), Opie::Net::OMonitoringInterface::setChannel(), setChannel(), setMode(), setNickName(), setSSID(), signalStrength(), and SSID(). |
|
|
Definition at line 587 of file onetwork.cpp. References _range. |
|
|
Reimplemented from Opie::Net::ONetworkInterface. Definition at line 326 of file onetwork.h. |
|
|
Reimplemented from Opie::Net::ONetworkInterface. Definition at line 328 of file onetwork.h. |
|
|
Reimplemented from Opie::Net::ONetworkInterface. Definition at line 325 of file onetwork.h. |
|
|
Reimplemented from Opie::Net::ONetworkInterface. Definition at line 329 of file onetwork.h. |
|
|
Definition at line 331 of file onetwork.h. Referenced by buildPrivateList(). |
|
|
Reimplemented from Opie::Net::ONetworkInterface. Definition at line 327 of file onetwork.h. |
|
|
Definition at line 470 of file onetwork.h. Referenced by buildInformation(), channel(), channels(), and scanNetwork(). |
|
|
Definition at line 474 of file onetwork.h. Referenced by channel(), channelHopper(), channelHopping(), and setChannelHopping(). |
|
|
Definition at line 469 of file onetwork.h. Referenced by buildPrivateList(), channel(), frequency(), init(), iwr(), mode(), nickName(), scanNetwork(), setAssociatedAP(), Opie::Net::OMonitoringInterface::setChannel(), setChannel(), setMode(), setNickName(), setPrivate(), setSSID(), signalStrength(), SSID(), and wioctl(). |
|
|
Definition at line 471 of file onetwork.h. Referenced by buildInformation(), dumpInformation(), scanNetwork(), signalStrength(), and wirelessExtensionDriverVersion(). |
|
|
Reimplemented from Opie::Net::ONetworkInterface. Definition at line 475 of file onetwork.h. |
1.4.2