Hi, I've thought about doing exactly that with the BSD ath/hal statistics code. It's useful having all those fine grained counters, but I do think some users will want to compile them out for whatever the performance reason is. Especially in the net80211 case where it may have to do a hashtable lookup just to add some error counters. I'd do it with some kind of macro which does the statistics incrementing, then compile that macro to a null statement if stats aren't being kept. Adrian -- 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