Search Linux Wireless

Re: ath9k has buggy promiscuous mode

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

 



Erwin Van de Velde <erwin.vandevelde@xxxxxxxxx> writes:

> On Wednesday 30 January 2013 16:17:25 Kalle Valo wrote:
>> I don't understand, what do you mean software configuration?
>> 
>> A quick grep show that at least ath9k checks for the promisc filter:
>> 
>> ath9k/htc_drv_main.c:   (FIF_PROMISC_IN_BSS |                   \
>> ath9k/htc_drv_txrx.c:    * Set promiscuous mode when 
> FIF_PROMISC_IN_BSS
>> is enabled for station
>> ath9k/htc_drv_txrx.c:        (priv->rxfilter & FIF_PROMISC_IN_BSS)) ||
>> ath9k/main.c:   (FIF_PROMISC_IN_BSS |                   \
>> ath9k/recv.c:    * Set promiscuous mode when FIF_PROMISC_IN_BSS is
>> enabled for station
>
> I tried understanding the code, but it is hard without decent study of 
> course. FIF_PROMISC IN BSS I saw there in comment, but not in the code 
> :-) For monitor mode there is something like:
>
> if (sc->sc_ah->is_monitoring)
>                 rfilt |= ATH9K_RX_FILTER_PROM;

To be honest I don't know ath9k at all and I don't have time to look at
it either. I think we need to hope that either Shafi or Sujith notices
this thread and jump in.

Or you could try to debug it yourself. Sprinkle printks everywhere and
see what's happening inside the driver :)

-- 
Kalle Valo
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux