Lines Matching defs:txqstats

4445 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats,
4448 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_BYTES))) {
4449 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_BYTES);
4450 txqstats->backlog_bytes = txqi->tin.backlog_bytes;
4453 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS))) {
4454 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS);
4455 txqstats->backlog_packets = txqi->tin.backlog_packets;
4458 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_FLOWS))) {
4459 txqstats->filled |= BIT(NL80211_TXQ_STATS_FLOWS);
4460 txqstats->flows = txqi->tin.flows;
4463 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_DROPS))) {
4464 txqstats->filled |= BIT(NL80211_TXQ_STATS_DROPS);
4465 txqstats->drops = txqi->cstats.drop_count;
4468 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_ECN_MARKS))) {
4469 txqstats->filled |= BIT(NL80211_TXQ_STATS_ECN_MARKS);
4470 txqstats->ecn_marks = txqi->cstats.ecn_mark;
4473 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_OVERLIMIT))) {
4474 txqstats->filled |= BIT(NL80211_TXQ_STATS_OVERLIMIT);
4475 txqstats->overlimit = txqi->tin.overlimit;
4478 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_COLLISIONS))) {
4479 txqstats->filled |= BIT(NL80211_TXQ_STATS_COLLISIONS);
4480 txqstats->collisions = txqi->tin.collisions;
4483 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_TX_BYTES))) {
4484 txqstats->filled |= BIT(NL80211_TXQ_STATS_TX_BYTES);
4485 txqstats->tx_bytes = txqi->tin.tx_bytes;
4488 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_TX_PACKETS))) {
4489 txqstats->filled |= BIT(NL80211_TXQ_STATS_TX_PACKETS);
4490 txqstats->tx_packets = txqi->tin.tx_packets;
4496 struct cfg80211_txq_stats *txqstats)
4511 ieee80211_fill_txq_stats(txqstats, to_txq_info(sdata->vif.txq));
4514 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS) |
4520 txqstats->backlog_packets = local->fq.backlog;
4521 txqstats->backlog_bytes = local->fq.memory_usage;
4522 txqstats->overlimit = local->fq.overlimit;
4523 txqstats->overmemory = local->fq.overmemory;
4524 txqstats->collisions = local->fq.collisions;
4525 txqstats->max_flows = local->fq.flows_cnt;