From 487971af0c1b70babcc39fd549dc0d8142cd4865 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Thu, 03 Apr 2003 23:46:04 +0000 Subject: first part of private IOCTL API for OWirelessNetworkInterface implemented --- (limited to 'libopie2/examples/opienet/onetworkdemo') diff --git a/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp b/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp index 7703b4c..b010ac5 100644 --- a/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp +++ b/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp @@ -26,6 +26,14 @@ int main( int argc, char** argv ) qDebug( "DEMO: Associated AP has MAC Address '%s'", (const char*) iface->associatedAP() ); //} + // try to set monitor mode + + // first some wrong calls to check if this is working + iface->setPrivate( "seppel", 10 ); + iface->setPrivate( "monitor", 0 ); + + // now the real deal + iface->setPrivate( "monitor", 2, 2, 3 ); } ++it; } -- cgit v0.9.0.2