On Fri, 2008-12-19 at 21:55 -0800, Luis R. Rodriguez wrote: > Wireless drivers tend to require calibration or noise floor > checks. Some of these operations are channel specific. Instead > of forcing each driver to keep a separate map for these values > per channel allow for a private area on the ieee80211_channel to > reduce code overhead and size. > > Signed-off-by: Luis R. Rodriguez <lrodriguez@xxxxxxxxxxx> I don't like this much. This is prone to abuse, it'll only be right when you have allocated channel arrays statically. Can't you do something like I do in ar9170 and put the other information into a table that is indexed by hw_key_idx? That even reduces the memory usage :) johannes
Attachment:
signature.asc
Description: This is a digitally signed message part