mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-21 03:17:18 +00:00
ebbeb55561
Also add script used to generate patches and SRC_URI Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
51 lines
1.7 KiB
Diff
51 lines
1.7 KiB
Diff
From 0ecc365ca1e7a92c8fbad58d6a3bac8788be34cc Mon Sep 17 00:00:00 2001
|
|
From: Johannes Berg <johannes.berg@intel.com>
|
|
Date: Fri, 2 Dec 2011 12:22:54 -0800
|
|
Subject: [PATCH 16/49] iwlagn: fix TID use bug
|
|
|
|
commit 9a215e40d70ae63762963ab3ccc7f31dd966dc6a upstream.
|
|
|
|
The driver everywhere uses max TID count as 9,
|
|
which is wrong, it should be 8.
|
|
|
|
I think the reason it uses 9 here is off-by-one
|
|
confusion by whoever wrote this. We do use the
|
|
value IWL_MAX_TID_COUNT for "not QoS/no TID"
|
|
but that is completely correct even if it is 8
|
|
and not 9 since 0-7 are only valid.
|
|
|
|
As a side effect, this fixes the following bug:
|
|
|
|
Open BA session requested for 00:23:cd:16:8a:7e tid 8
|
|
------------[ cut here ]------------
|
|
kernel BUG at drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h:350!
|
|
...
|
|
|
|
when you do
|
|
echo "tx start 8" > /sys/kernel/debug/ieee80211/*/*/*/*/agg_status
|
|
|
|
Reported-by: Nikolay Martynov <mar.kolya@gmail.com>
|
|
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
|
|
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
---
|
|
drivers/net/wireless/iwlwifi/iwl-commands.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
|
|
index 69d5f85..8b9ff28 100644
|
|
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
|
|
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
|
|
@@ -809,7 +809,7 @@ struct iwl_qosparam_cmd {
|
|
#define IWLAGN_STATION_COUNT 16
|
|
|
|
#define IWL_INVALID_STATION 255
|
|
-#define IWL_MAX_TID_COUNT 9
|
|
+#define IWL_MAX_TID_COUNT 8
|
|
|
|
#define STA_FLG_TX_RATE_MSK cpu_to_le32(1 << 2)
|
|
#define STA_FLG_PWR_SAVE_MSK cpu_to_le32(1 << 8)
|
|
--
|
|
1.7.9.4
|
|
|