debugfs_sta.c (0337966d121ebebf73a1c346123e8112796e684e) debugfs_sta.c (484a54c2e597dbc4ace79c1687022282905afba0)
1/*
2 * Copyright 2003-2005 Devicescape Software, Inc.
3 * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz>
4 * Copyright 2007 Johannes Berg <johannes@sipsolutions.net>
5 * Copyright 2013-2014 Intel Mobile Communications GmbH
6 * Copyright(c) 2016 Intel Deutschland GmbH
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 140 unchanged lines hidden (view full) ---

149 if (!buf)
150 return -ENOMEM;
151
152 spin_lock_bh(&local->fq.lock);
153 rcu_read_lock();
154
155 p += scnprintf(p,
156 bufsz+buf-p,
1/*
2 * Copyright 2003-2005 Devicescape Software, Inc.
3 * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz>
4 * Copyright 2007 Johannes Berg <johannes@sipsolutions.net>
5 * Copyright 2013-2014 Intel Mobile Communications GmbH
6 * Copyright(c) 2016 Intel Deutschland GmbH
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 140 unchanged lines hidden (view full) ---

149 if (!buf)
150 return -ENOMEM;
151
152 spin_lock_bh(&local->fq.lock);
153 rcu_read_lock();
154
155 p += scnprintf(p,
156 bufsz+buf-p,
157 "target %uus interval %uus ecn %s\n",
158 codel_time_to_us(sta->cparams.target),
159 codel_time_to_us(sta->cparams.interval),
160 sta->cparams.ecn ? "yes" : "no");
161 p += scnprintf(p,
162 bufsz+buf-p,
157 "tid ac backlog-bytes backlog-packets new-flows drops marks overlimit collisions tx-bytes tx-packets\n");
158
159 for (i = 0; i < IEEE80211_NUM_TIDS; i++) {
160 txqi = to_txq_info(sta->sta.txq[i]);
161 p += scnprintf(p, bufsz+buf-p,
162 "%d %d %u %u %u %u %u %u %u %u %u\n",
163 txqi->txq.tid,
164 txqi->txq.ac,

--- 391 unchanged lines hidden ---
163 "tid ac backlog-bytes backlog-packets new-flows drops marks overlimit collisions tx-bytes tx-packets\n");
164
165 for (i = 0; i < IEEE80211_NUM_TIDS; i++) {
166 txqi = to_txq_info(sta->sta.txq[i]);
167 p += scnprintf(p, bufsz+buf-p,
168 "%d %d %u %u %u %u %u %u %u %u %u\n",
169 txqi->txq.tid,
170 txqi->txq.ac,

--- 391 unchanged lines hidden ---