From: "Toke Høiland-Jørgensen" <toke@redhat.com> To: Johannes Berg <johannes@sipsolutions.net> Cc: linux-wireless@vger.kernel.org, make-wifi-fast@lists.bufferbloat.net, ath10k@lists.infradead.org, John Crispin <john@phrozen.org>, Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name>, Kan Yan <kyan@google.com>, Rajkumar Manoharan <rmanohar@codeaurora.org>, Kevin Hayes <kevinhayes@google.com> Subject: [PATCH v2 0/4] Add Airtime Queue Limits (AQL) to mac80211 Date: Tue, 15 Oct 2019 19:18:57 +0200 [thread overview] Message-ID: <157115993755.2500430.12214017471129215800.stgit@toke.dk> (raw) This series is a first attempt at porting the Airtime Queue Limits concept from the out-of-tree ath10k implementation[0] to mac80211. This version takes Kan's patch to do the throttling in mac80211, and replaces the driver API with the mechanism from the previous version of my series, which instead calculated the expected airtime at dequeue time inside mac80211, storing it in the SKB cb field. This series also imports Felix' airtime calculation code from mt76 into mac80211, adjusting the API so it can be used from TX dequeue, by extracting the latest TX rate from the tx_stats structure kept for each station. As before, I've only compile tested this (lacking the proper hardware to do more testing). So I'm hoping someone with a proper testing setup can take the whole thing for a spin... :) The series is also available in my git repo here: https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git/log/?h=mac80211-aql-02 Changelog: v2: - Integrate Kan's approach to airtime throttling. - Hopefully fix the cb struct alignment on big-endian architectures. --- Kan Yan (1): mac80211: Implement Airtime-based Queue Limit (AQL) Toke Høiland-Jørgensen (3): mac80211: Rearrange ieee80211_tx_info to make room for tx_time_est mac80211: Import airtime calculation code from mt76 mac80211: Use Airtime-based Queue Limits (AQL) on packet dequeue include/net/cfg80211.h | 7 + include/net/mac80211.h | 52 +++++- net/mac80211/Makefile | 3 net/mac80211/airtime.c | 375 ++++++++++++++++++++++++++++++++++++++++++++ net/mac80211/debugfs.c | 78 +++++++++ net/mac80211/debugfs_sta.c | 43 ++++- net/mac80211/ieee80211_i.h | 8 + net/mac80211/main.c | 9 + net/mac80211/sta_info.c | 32 ++++ net/mac80211/sta_info.h | 8 + net/mac80211/status.c | 38 ++++ net/mac80211/tx.c | 62 +++++++ 12 files changed, 693 insertions(+), 22 deletions(-) create mode 100644 net/mac80211/airtime.c
WARNING: multiple messages have this Message-ID (diff)
From: "Toke Høiland-Jørgensen" <toke@redhat.com> To: Johannes Berg <johannes@sipsolutions.net> Cc: Kan Yan <kyan@google.com>, Rajkumar Manoharan <rmanohar@codeaurora.org>, Kevin Hayes <kevinhayes@google.com>, make-wifi-fast@lists.bufferbloat.net, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, John Crispin <john@phrozen.org>, Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name> Subject: [PATCH v2 0/4] Add Airtime Queue Limits (AQL) to mac80211 Date: Tue, 15 Oct 2019 19:18:57 +0200 [thread overview] Message-ID: <157115993755.2500430.12214017471129215800.stgit@toke.dk> (raw) This series is a first attempt at porting the Airtime Queue Limits concept from the out-of-tree ath10k implementation[0] to mac80211. This version takes Kan's patch to do the throttling in mac80211, and replaces the driver API with the mechanism from the previous version of my series, which instead calculated the expected airtime at dequeue time inside mac80211, storing it in the SKB cb field. This series also imports Felix' airtime calculation code from mt76 into mac80211, adjusting the API so it can be used from TX dequeue, by extracting the latest TX rate from the tx_stats structure kept for each station. As before, I've only compile tested this (lacking the proper hardware to do more testing). So I'm hoping someone with a proper testing setup can take the whole thing for a spin... :) The series is also available in my git repo here: https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git/log/?h=mac80211-aql-02 Changelog: v2: - Integrate Kan's approach to airtime throttling. - Hopefully fix the cb struct alignment on big-endian architectures. --- Kan Yan (1): mac80211: Implement Airtime-based Queue Limit (AQL) Toke Høiland-Jørgensen (3): mac80211: Rearrange ieee80211_tx_info to make room for tx_time_est mac80211: Import airtime calculation code from mt76 mac80211: Use Airtime-based Queue Limits (AQL) on packet dequeue include/net/cfg80211.h | 7 + include/net/mac80211.h | 52 +++++- net/mac80211/Makefile | 3 net/mac80211/airtime.c | 375 ++++++++++++++++++++++++++++++++++++++++++++ net/mac80211/debugfs.c | 78 +++++++++ net/mac80211/debugfs_sta.c | 43 ++++- net/mac80211/ieee80211_i.h | 8 + net/mac80211/main.c | 9 + net/mac80211/sta_info.c | 32 ++++ net/mac80211/sta_info.h | 8 + net/mac80211/status.c | 38 ++++ net/mac80211/tx.c | 62 +++++++ 12 files changed, 693 insertions(+), 22 deletions(-) create mode 100644 net/mac80211/airtime.c _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k
next reply other threads:[~2019-10-15 17:19 UTC|newest] Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-10-15 17:18 Toke Høiland-Jørgensen [this message] 2019-10-15 17:18 ` [PATCH v2 0/4] Add Airtime Queue Limits (AQL) to mac80211 Toke Høiland-Jørgensen 2019-10-15 17:18 ` [PATCH v2 1/4] mac80211: Rearrange ieee80211_tx_info to make room for tx_time_est Toke Høiland-Jørgensen 2019-10-15 17:18 ` Toke Høiland-Jørgensen 2019-10-18 0:50 ` Kan Yan 2019-10-18 0:50 ` Kan Yan 2019-10-18 10:15 ` Toke Høiland-Jørgensen 2019-10-18 10:15 ` Toke Høiland-Jørgensen 2019-10-18 12:21 ` Johannes Berg 2019-10-18 12:21 ` Johannes Berg 2019-10-18 13:31 ` Toke Høiland-Jørgensen 2019-10-18 13:31 ` Toke Høiland-Jørgensen 2019-10-18 13:48 ` Johannes Berg 2019-10-18 13:48 ` Johannes Berg 2019-10-18 14:01 ` Toke Høiland-Jørgensen 2019-10-18 14:01 ` Toke Høiland-Jørgensen 2019-10-18 14:07 ` Johannes Berg 2019-10-18 14:07 ` Johannes Berg 2019-10-18 14:22 ` Toke Høiland-Jørgensen 2019-10-18 14:22 ` Toke Høiland-Jørgensen 2019-10-18 14:14 ` Johannes Berg 2019-10-18 14:14 ` Johannes Berg 2019-10-18 14:30 ` Toke Høiland-Jørgensen 2019-10-18 14:30 ` Toke Høiland-Jørgensen 2019-10-18 12:35 ` Johannes Berg 2019-10-18 12:35 ` Johannes Berg 2019-10-18 13:01 ` Ben Greear 2019-10-18 13:01 ` Ben Greear 2019-10-15 17:18 ` [PATCH v2 2/4] mac80211: Import airtime calculation code from mt76 Toke Høiland-Jørgensen 2019-10-15 17:18 ` Toke Høiland-Jørgensen 2019-10-15 17:19 ` [PATCH v2 3/4] mac80211: Implement Airtime-based Queue Limit (AQL) Toke Høiland-Jørgensen 2019-10-15 17:19 ` Toke Høiland-Jørgensen 2019-10-15 17:19 ` [PATCH v2 4/4] mac80211: Use Airtime-based Queue Limits (AQL) on packet dequeue Toke Høiland-Jørgensen 2019-10-15 17:19 ` Toke Høiland-Jørgensen 2019-10-17 0:33 ` Kan Yan 2019-10-17 0:33 ` Kan Yan 2019-10-17 9:44 ` Toke Høiland-Jørgensen 2019-10-17 9:44 ` Toke Høiland-Jørgensen 2019-10-17 9:57 ` [Make-wifi-fast] " Sebastian Moeller 2019-10-17 9:57 ` Sebastian Moeller 2019-10-17 10:24 ` Toke Høiland-Jørgensen 2019-10-17 10:24 ` Toke Høiland-Jørgensen 2019-10-17 10:25 ` Sebastian Moeller 2019-10-17 10:25 ` Sebastian Moeller 2019-10-18 1:11 ` Kan Yan 2019-10-18 1:11 ` Kan Yan 2019-10-18 14:15 ` Johannes Berg 2019-10-18 14:15 ` Johannes Berg
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=157115993755.2500430.12214017471129215800.stgit@toke.dk \ --to=toke@redhat.com \ --cc=ath10k@lists.infradead.org \ --cc=johannes@sipsolutions.net \ --cc=john@phrozen.org \ --cc=kevinhayes@google.com \ --cc=kyan@google.com \ --cc=linux-wireless@vger.kernel.org \ --cc=lorenzo@kernel.org \ --cc=make-wifi-fast@lists.bufferbloat.net \ --cc=nbd@nbd.name \ --cc=rmanohar@codeaurora.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.