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:

> I have had a look at the source code of the driver and as far as I can see, 
> the driver just never looks at the software configuration when enabling 
> promiscuous mode and thus does not pass this information to the 
> system, which explains why packets are never captured in promiscuous 
> mode, even when the user configures the interface that way.

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

-- 
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