mac80211: save tx params per sdata
save and configure tx param per sdata, rather than per hardware. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
f70f01c2eb
commit
f6f3def323
@@ -697,32 +697,38 @@ TRACE_EVENT(drv_sta_remove,
|
||||
);
|
||||
|
||||
TRACE_EVENT(drv_conf_tx,
|
||||
TP_PROTO(struct ieee80211_local *local, u16 queue,
|
||||
TP_PROTO(struct ieee80211_local *local,
|
||||
struct ieee80211_sub_if_data *sdata,
|
||||
u16 queue,
|
||||
const struct ieee80211_tx_queue_params *params),
|
||||
|
||||
TP_ARGS(local, queue, params),
|
||||
TP_ARGS(local, sdata, queue, params),
|
||||
|
||||
TP_STRUCT__entry(
|
||||
LOCAL_ENTRY
|
||||
VIF_ENTRY
|
||||
__field(u16, queue)
|
||||
__field(u16, txop)
|
||||
__field(u16, cw_min)
|
||||
__field(u16, cw_max)
|
||||
__field(u8, aifs)
|
||||
__field(bool, uapsd)
|
||||
),
|
||||
|
||||
TP_fast_assign(
|
||||
LOCAL_ASSIGN;
|
||||
VIF_ASSIGN;
|
||||
__entry->queue = queue;
|
||||
__entry->txop = params->txop;
|
||||
__entry->cw_max = params->cw_max;
|
||||
__entry->cw_min = params->cw_min;
|
||||
__entry->aifs = params->aifs;
|
||||
__entry->uapsd = params->uapsd;
|
||||
),
|
||||
|
||||
TP_printk(
|
||||
LOCAL_PR_FMT " queue:%d",
|
||||
LOCAL_PR_ARG, __entry->queue
|
||||
LOCAL_PR_FMT VIF_PR_FMT " queue:%d",
|
||||
LOCAL_PR_ARG, VIF_PR_ARG, __entry->queue
|
||||
)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user