author | mickeyl <mickeyl> | 2003-04-05 23:08:46 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-05 23:08:46 (UTC) |
commit | b7682f160fafe69bfd47dcfb1c88f2ac2b1afaf5 (patch) (unidiff) | |
tree | 68c5a0c5da88fff94582d2e6a072d8e9bbeaaf30 /noncore/net/wellenreiter/gui/wellenreiter.cpp | |
parent | 6a949f685bd3fb50f810ad603eaafdb57720077c (diff) | |
download | opie-b7682f160fafe69bfd47dcfb1c88f2ac2b1afaf5.zip opie-b7682f160fafe69bfd47dcfb1c88f2ac2b1afaf5.tar.gz opie-b7682f160fafe69bfd47dcfb1c88f2ac2b1afaf5.tar.bz2 |
- correct beacon bug (off-by-one)
- display hex dump per packet in hex window
- allow saving hex window contents
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index d80a6e6..aa33158 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp | |||
@@ -110,6 +110,8 @@ void Wellenreiter::setConfigWindow( WellenreiterConfigWindow* cw ) | |||
110 | 110 | ||
111 | void Wellenreiter::receivePacket(OPacket* p) | 111 | void Wellenreiter::receivePacket(OPacket* p) |
112 | { | 112 | { |
113 | hexWindow()->log( p->dump( 8 ) ); | ||
114 | |||
113 | // check if we received a beacon frame | 115 | // check if we received a beacon frame |
114 | // static_cast is justified here | 116 | // static_cast is justified here |
115 | OWaveLanManagementPacket* beacon = static_cast<OWaveLanManagementPacket*>( p->child( "802.11 Management" ) ); | 117 | OWaveLanManagementPacket* beacon = static_cast<OWaveLanManagementPacket*>( p->child( "802.11 Management" ) ); |
@@ -161,6 +163,7 @@ void Wellenreiter::startStopClicked() | |||
161 | iface->setPromiscuousMode( false ); | 163 | iface->setPromiscuousMode( false ); |
162 | 164 | ||
163 | system( "cardctl reset; sleep 1" ); //FIXME: Use OProcess | 165 | system( "cardctl reset; sleep 1" ); //FIXME: Use OProcess |
166 | logwindow->log( "(i) Stopped Scanning." ); | ||
164 | 167 | ||
165 | // message the user | 168 | // message the user |
166 | QMessageBox::information( this, "Wellenreiter II", "Your wireless card\nshould now be usable again." ); | 169 | QMessageBox::information( this, "Wellenreiter II", "Your wireless card\nshould now be usable again." ); |
@@ -222,7 +225,7 @@ void Wellenreiter::startStopClicked() | |||
222 | // connect | 225 | // connect |
223 | connect( pcap, SIGNAL( receivedPacket(OPacket*) ), this, SLOT( receivePacket(OPacket*) ) ); | 226 | connect( pcap, SIGNAL( receivedPacket(OPacket*) ), this, SLOT( receivePacket(OPacket*) ) ); |
224 | 227 | ||
225 | logwindow->log( "(i) Daemon has been started." ); | 228 | logwindow->log( "(i) Started Scanning." ); |
226 | #ifdef QWS | 229 | #ifdef QWS |
227 | oApp->setTitle( "Scanning ..." ); | 230 | oApp->setTitle( "Scanning ..." ); |
228 | #else | 231 | #else |