2007/11/29, Francesco Gringoli <francesco.gringoli@xxxxxxxxxxxx>: > Hello everybody, > > I discovered that playing with iface promiscuity to capture traffic > (including control, promisc and all other stuff) is not working on > ath5k as rx_filters are never refreshed. To make things going I added > a single ath5k_hw_set_rx_filters(ah,rfilt) at the end of > ath5k_configure_filter(). I attach the simple patch. Now tcpdump > captures everything in monitor mode when iface is set to promisc. > > By the way, has someone tried to put ath5k into using RTS/CTS procedure? > > Regards, > FG > > > > --- wireless-2.6.old/drivers/net/wireless/ath5k/base.c > 2007-11-29 16:20:27.000000000 +0100 > +++ wireless-2.6/drivers/net/wireless/ath5k/base.c 2007-11-29 > 16:21:24.000000000 +0100 > @@ -2813,6 +2813,9 @@ > rfilt |= AR5K_RX_FILTER_BEACON; > } > + /* Set filters */ > + ath5k_hw_set_rx_filter(ah,rfilt); > + > /* Set multicast bits */ > ath5k_hw_set_mcast_filter(ah, mfilt[0], mfilt[1]); > /* Set the cached hw filter flags, this will alter actually > > Thanx a lot for your patch !, plz check out http://www.linuxwireless.org/en/developers/SubmittingPatches on how to submit your patch on the list and resubmit so it can be included ;-) -- GPG ID: 0xD21DB2DB As you read this post global entropy rises. Have Fun ;-) Nick - 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