Commit f7fe29d7 authored by Toke Høiland-Jørgensen's avatar Toke Høiland-Jørgensen Committed by chrome-bot
Browse files

BACKPORT: cfg80211: Add airtime statistics and settings



This adds TX airtime statistics to the cfg80211 station dump (to go along
with the RX info already present), and adds a new parameter to set the
airtime weight of each station. The latter allows userspace to implement
policies for different stations by varying their weights.

Signed-off-by: default avatarToke Hiland-Jrgensen <toke@toke.dk>
[rmanohar@codeaurora.org: fixed checkpatch warnings]
Signed-off-by: default avatarRajkumar Manoharan <rmanohar@codeaurora.org>
[move airtime weight != 0 check into policy]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>

BUG=b:131197056
TEST=Wifi stress and latency under load test

(cherry picked from commit 36647055)

Resloved conflicts in:
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c

Signed-off-by: default avatarKan Yan <kyan@google.com>

Change-Id: I893461f6cfefecf347ebeb676a65f8eaec102739
Reviewed-on: https://chromium-review.googlesource.com/1636898


Tested-by: default avatarKan Yan <kyan@google.com>
Tested-by: default avatarKan Yan <kyan@chromium.org>
Commit-Ready: Kan Yan <kyan@google.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: default avatarJulan Hsu <julanhsu@google.com>
Reviewed-by: default avatarKan Yan <kyan@chromium.org>
parent cac152c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment