Search Linux Wireless

Re: [BUG] Two bugs in monitor mode, iwl3945

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 23, 2008 at 11:10 AM, Maxim Levitsky
<maximlevitsky@xxxxxxxxx> wrote:
> I noticed two bugs:
>
> 1) Monitor mode hangs the system randomly, and what is interesting that this
> bug disappears if I patch the driver with packet injection patch from Gábor
> Stefanik.
> I noticed this bug, after I removed his patch to see if it caused some
> problems.
> Always reproducible, usually hangs just after airodump launch.

Something tries to transmit on the monitor interface, which is
impossible without the injection patch. However, the method used for
preventing TX in monitor mode is incorrect (it just drops the packet
silently, without notifying mac80211, which, in the absence of an ACK,
tries to retransmit the packet - an obvious infinite loop). This is
what causes the freeze. (Do you have networkmanager running? That
often tends to interfere with monitor interfaces.)

>
> 2) If I enable monitor mode regardless of injection patch, the scanning
> results got garbaged,
> iwlist scan reports > 100 quality on most APs, or 0% quality on my router,
> shows extremely low and hi power levels, like
> -127dBm or 160 dBm, and those levels change rapidly.
> This why I removed the injection patch, I suspected it, but this bug appears
> to be not related to it.

Does this also happen if you create an extra managed or AP (AP
requires a patch to mac80211) interface, or is it specific to monitor
interfaces?

>
>
> Injection patch from Gábor Stefanik <netrolller.3d@xxxxxxxxx> attached
> (I modified the patch to apply on latest wireless -git, but patch is the
> same)
>
> I use iw to create new monitor interface and use it.
>
> Best regards,
>        Maxim Levitsky
>



-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux