forked from lede-project/source
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'lede-17.01' into release
- Loading branch information
Showing
59 changed files
with
229 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
package/kernel/mac80211/patches/090-Revert-rt2800-use-TXOP_BACKOFF-for-probe-frames.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
From 52a192362932f333a7ebafd581c4d9b81da2fec8 Mon Sep 17 00:00:00 2001 | ||
From: Stanislaw Gruszka <[email protected]> | ||
Date: Mon, 28 May 2018 13:25:06 +0200 | ||
Subject: [PATCH] Revert "rt2800: use TXOP_BACKOFF for probe frames" | ||
|
||
This reverts commit fb47ada8dc3c30c8e7b415da155742b49536c61e. | ||
|
||
In some situations when we set TXOP_BACKOFF, the probe frame is | ||
not sent at all. What it worse then sending probe frame as part | ||
of AMPDU and can degrade 11n performance to 11g rates. | ||
|
||
Cc: [email protected] | ||
Signed-off-by: Stanislaw Gruszka <[email protected]> | ||
Signed-off-by: Kalle Valo <[email protected]> | ||
--- | ||
drivers/net/wireless/ralink/rt2x00/rt2x00queue.c | 7 +++---- | ||
1 file changed, 3 insertions(+), 4 deletions(-) | ||
|
||
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c b/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c | ||
index a6884e73d2ab..7ddee980048b 100644 | ||
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c | ||
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c | ||
@@ -372,16 +372,15 @@ static void rt2x00queue_create_tx_descriptor_ht(struct rt2x00_dev *rt2x00dev, | ||
|
||
/* | ||
* Determine IFS values | ||
- * - Use TXOP_BACKOFF for probe and management frames except beacons | ||
+ * - Use TXOP_BACKOFF for management frames except beacons | ||
* - Use TXOP_SIFS for fragment bursts | ||
* - Use TXOP_HTTXOP for everything else | ||
* | ||
* Note: rt2800 devices won't use CTS protection (if used) | ||
* for frames not transmitted with TXOP_HTTXOP | ||
*/ | ||
- if ((ieee80211_is_mgmt(hdr->frame_control) && | ||
- !ieee80211_is_beacon(hdr->frame_control)) || | ||
- (tx_info->flags & IEEE80211_TX_CTL_RATE_CTRL_PROBE)) | ||
+ if (ieee80211_is_mgmt(hdr->frame_control) && | ||
+ !ieee80211_is_beacon(hdr->frame_control)) | ||
txdesc->u.ht.txop = TXOP_BACKOFF; | ||
else if (!(tx_info->flags & IEEE80211_TX_CTL_FIRST_FRAGMENT)) | ||
txdesc->u.ht.txop = TXOP_SIFS; | ||
-- | ||
2.17.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ Signed-off-by: Jacek Anaszewski <[email protected]> | |
#include <linux/pm_runtime.h> | ||
#include <linux/platform_device.h> | ||
|
||
@@ -4945,6 +4946,9 @@ void ata_qc_complete(struct ata_queued_c | ||
@@ -4942,6 +4943,9 @@ void ata_qc_complete(struct ata_queued_c | ||
{ | ||
struct ata_port *ap = qc->ap; | ||
|
||
|
25 changes: 25 additions & 0 deletions
25
target/linux/apm821xx/patches-4.4/302-dw-dma-hprot-fix-and-equal-priortiy.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- a/drivers/dma/dw/core.c | ||
+++ b/drivers/dma/dw/core.c | ||
@@ -150,6 +150,8 @@ static void dwc_initialize(struct dw_dma | ||
cfghi |= DWC_CFGH_DST_PER(dwc->dst_id); | ||
cfghi |= DWC_CFGH_SRC_PER(dwc->src_id); | ||
|
||
+ cfghi |= DWC_CFGH_PROTCTL(3); /* bufferable + privileged access */ | ||
+ | ||
channel_writel(dwc, CFG_LO, cfglo); | ||
channel_writel(dwc, CFG_HI, cfghi); | ||
|
||
@@ -1539,11 +1541,8 @@ int dw_dma_probe(struct dw_dma_chip *chi | ||
else | ||
list_add(&dwc->chan.device_node, &dw->dma.channels); | ||
|
||
- /* 7 is highest priority & 0 is lowest. */ | ||
- if (pdata->chan_priority == CHAN_PRIORITY_ASCENDING) | ||
- dwc->priority = pdata->nr_channels - i - 1; | ||
- else | ||
- dwc->priority = i; | ||
+ /* set all channels to the same priority */ | ||
+ dwc->priority = pdata->nr_channels - 1; | ||
|
||
dwc->ch_regs = &__dw_regs(dw)->CHAN[i]; | ||
spin_lock_init(&dwc->lock); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.