20 Aug, 2009
1 commit
-
Over time, a whole bunch of drivers have come up
with their own scheme to delay the configure_filter
operation to a workqueue. To be able to simplify
things, allow configure_filter to sleep, and add
a new prepare_multicast callback that drivers that
need the multicast address list implement. This new
callback must be atomic, but most drivers either
don't care or just calculate a hash which can be
done atomically and then uploaded to the hardware
non-atomically.A cursory look suggests that at76c50x-usb, ar9170,
mwl8k (which is actually very broken now), rt2x00,
wl1251, wl1271 and zd1211 should make use of this
new capability.Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville
25 Jul, 2009
2 commits
-
This patch fixes the following errors:
driver-trace.h:148:1: error: cannot size expression
driver-trace.h:148:1: error: cannot size expression
[...]
driver-trace.h:222:1: error: cannot size expression
driver-trace.h:71:1: error: incompatible types for operation (
driver-trace.h:71:1: right side has type int
driver-trace.h:99:1: error: incompatible types for operation (
driver-trace.h:99:1: right side has type int
driver-trace.h:148:1: error: incompatible types for operation (
driver-trace.h:148:1: right side has type int
driver-trace.h:222:1: error: cannot size expression
driver-trace.h:248:1: error: incompatible types for operation (
driver-trace.h:248:1: right side has type int
driver-trace.h:446:1: error: incompatible types for operation (
driver-trace.h:446:1: right side has type intSigned-off-by: Christian Lamparter
Signed-off-by: John W. Linville -
This makes mac80211 use the event tracing framework
to log all operations as given to the driver. This
will need to be extended with more information, but
as a start it should be good.Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville