summaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs.c
diff options
context:
space:
mode:
authorRajkumar Manoharan2016-09-14 09:18:32 +0200
committerJohannes Berg2016-09-15 16:46:20 +0200
commite8a24cd4b87247beedb1addc7b683422092047e5 (patch)
tree07a07b39d1a9a074ba4833dc9fac02ca2bda73ab /net/mac80211/debugfs.c
parentmac80211: remove sta_remove_debugfs driver callback (diff)
downloadkernel-qcow2-linux-e8a24cd4b87247beedb1addc7b683422092047e5.tar.gz
kernel-qcow2-linux-e8a24cd4b87247beedb1addc7b683422092047e5.tar.xz
kernel-qcow2-linux-e8a24cd4b87247beedb1addc7b683422092047e5.zip
mac80211: allow driver to handle packet-loss mechanism
Based on consecutive msdu failures, mac80211 triggers CQM packet-loss mechanism. Drivers like ath10k that have its own connection monitoring algorithm, offloaded to firmware for triggering station kickout. In case of station kickout, driver will report low ack status by mac80211 API (ieee80211_report_low_ack). This flag will enable the driver to completely rely on firmware events for station kickout and bypass mac80211 packet loss mechanism. Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/debugfs.c')
-rw-r--r--net/mac80211/debugfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index 5bbb470f335f..8ca62b6bb02a 100644
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -201,6 +201,7 @@ static const char *hw_flag_names[] = {
FLAG(USES_RSS),
FLAG(TX_AMSDU),
FLAG(TX_FRAG_LIST),
+ FLAG(REPORTS_LOW_ACK),
#undef FLAG
};