> Signed-off-by: Tamizh chelvam <[email protected]>
> ---
> include/net/mac80211.h | 40 +++++++++++++++++++++++++
> net/mac80211/cfg.c | 71
> +++++++++++++++++++++++++++++++++++++++++++++
> net/mac80211/driver-ops.h | 16 ++++++++++
> net/mac80211/trace.h | 34 ++++++++++++++++++++++
> 4 files changed, 161 insertions(+)
>
> diff --git a/include/net/mac80211.h b/include/net/mac80211.h
> index b6cc3e33..7fa7e25 100644
> --- a/include/net/mac80211.h
> +++ b/include/net/mac80211.h
> @@ -1478,6 +1478,35 @@ struct ieee80211_channel_switch {
> u8 count;
> };
>
> +/*
> + * enum ieee80211_tid_conf_change - TID change configuration notification
> flags
> + *
> + * These flags are used with the set_tid_conf() callback
> + * to indicate which TID configuration parameter changed.
> + *
> + * @TID_RETRY_CONF_CHANGED: retry configuration changed.
> + * @TID_AGGR_CONF_CHANGED: Aggregation config changed for the TID.
> + */
> +enum ieee80211_tid_conf_change {
> + TID_RETRY_CONF_CHANGED = BIT(0),
> + TID_AGGR_CONF_CHANGED = BIT(1),
> +};
Following your approach, AMSDU support can be added in addition to
AMPDU. So I would suggest to replace AGGR by AMPDU right away.
> +
> +/*
> + * struct ieee80211_tid_conf - holds the tid configiuration data
> + * The information provided in the structure is required for the driver
> + * to configure TID specific configuration.
> + * @tid: TID number
> + * @retry_short: retry count value
> + * @retry_long: retry count value
> + * @aggr: enable/disable aggregation
> + */
> +struct ieee80211_tid_conf {
> + u8 tid;
> + int retry_short;
> + int retry_long;
> + bool aggr;
> +};
ditto: aggr -> ampdu
Regards,
Sergey