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> --- include/net/wireless.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/net/wireless.h b/include/net/wireless.h index aedefa5..ecb5cf1 100644 --- a/include/net/wireless.h +++ b/include/net/wireless.h @@ -71,6 +71,8 @@ enum ieee80211_channel_flags { * @max_power: maximum transmission power (in dBm) * @orig_mag: internal use * @orig_mpwr: internal use + * @priv: used by the driver for any of its own needs, + * could be used for example for calibration data. */ struct ieee80211_channel { enum ieee80211_band band; @@ -82,6 +84,7 @@ struct ieee80211_channel { int max_power; u32 orig_flags; int orig_mag, orig_mpwr; + void *priv; }; /** -- 1.5.6.rc2.15.g457bb.dirty -- 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