rtap mode.

David Woodhouse dwmw2 at infradead.org
Sun Dec 9 18:40:28 EST 2007


On Sun, 2007-12-09 at 09:34 +0000, David Woodhouse wrote:
> On Sat, 2007-12-08 at 21:25 -0500, Michail Bletsas wrote: 
> > > What was wrong with 'iwconfig eth1 mode monitor', anyway?
> > > 
> > It does not allow sniffing with the interface running.
> 
> Ah, right. Still, what we have at the moment doesn't seem to allow
> sniffing at all, unless I'm just too dim to drive it... :)

And furthermore it doesn't allow sending packets while it's _trying_ to
sniff either...

static int libertas_pre_start_xmit(struct sk_buff *skb, struct net_device *dev)
{
        wlan_private *priv = dev->priv;
        int ret;

        lbs_deb_enter(LBS_DEB_NET);

        if(priv->adapter->monitormode != WLAN_MONITOR_OFF) {
                netif_stop_queue(dev);
                return -EOPNOTSUPP;
        }


-- 
dwmw2




More information about the libertas-dev mailing list