projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mac80211: brcmfmac: add support for get_channel
[openwrt.git]
/
package
/
kernel
/
mac80211
/
patches
/
610-rt2x00-fix-rt3352-ext-pa.patch
diff --git
a/package/kernel/mac80211/patches/610-rt2x00-fix-rt3352-ext-pa.patch
b/package/kernel/mac80211/patches/610-rt2x00-fix-rt3352-ext-pa.patch
index
d6ea384
..
c69d330
100644
(file)
--- a/
package/kernel/mac80211/patches/610-rt2x00-fix-rt3352-ext-pa.patch
+++ b/
package/kernel/mac80211/patches/610-rt2x00-fix-rt3352-ext-pa.patch
@@
-1,6
+1,6
@@
---- a/drivers/net/wireless/rt2x00/rt2800lib.c
-+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
-@@ -352
8,11 +3528
,18 @@ static void rt2800_config_channel(struct
+--- a/drivers/net/wireless/r
alink/r
t2x00/rt2800lib.c
++++ b/drivers/net/wireless/r
alink/r
t2x00/rt2800lib.c
+@@ -352
9,11 +3529
,18 @@ static void rt2800_config_channel(struct
/*
* Change BBP settings
*/
/*
* Change BBP settings
*/
@@
-19,7
+19,7
@@
} else if (rt2x00_rt(rt2x00dev, RT3593)) {
if (rf->channel > 14) {
/* Disable CCK Packet detection on 5GHz */
} else if (rt2x00_rt(rt2x00dev, RT3593)) {
if (rf->channel > 14) {
/* Disable CCK Packet detection on 5GHz */
-@@ -659
4,6 +6601
,12 @@ static void rt2800_init_rfcsr_3290(struc
+@@ -659
5,6 +6602
,12 @@ static void rt2800_init_rfcsr_3290(struc
static void rt2800_init_rfcsr_3352(struct rt2x00_dev *rt2x00dev)
{
static void rt2800_init_rfcsr_3352(struct rt2x00_dev *rt2x00dev)
{
@@
-32,7
+32,7
@@
rt2800_rf_init_calibration(rt2x00dev, 30);
rt2800_rfcsr_write(rt2x00dev, 0, 0xf0);
rt2800_rf_init_calibration(rt2x00dev, 30);
rt2800_rfcsr_write(rt2x00dev, 0, 0xf0);
-@@ -66
29,15 +6642
,30 @@ static void rt2800_init_rfcsr_3352(struc
+@@ -66
30,15 +6643
,30 @@ static void rt2800_init_rfcsr_3352(struc
rt2800_rfcsr_write(rt2x00dev, 31, 0x80);
rt2800_rfcsr_write(rt2x00dev, 32, 0x80);
rt2800_rfcsr_write(rt2x00dev, 33, 0x00);
rt2800_rfcsr_write(rt2x00dev, 31, 0x80);
rt2800_rfcsr_write(rt2x00dev, 32, 0x80);
rt2800_rfcsr_write(rt2x00dev, 33, 0x00);
@@
-66,7
+66,7
@@
rt2800_rfcsr_write(rt2x00dev, 43, 0xdb);
rt2800_rfcsr_write(rt2x00dev, 44, 0xdb);
rt2800_rfcsr_write(rt2x00dev, 45, 0xdb);
rt2800_rfcsr_write(rt2x00dev, 43, 0xdb);
rt2800_rfcsr_write(rt2x00dev, 44, 0xdb);
rt2800_rfcsr_write(rt2x00dev, 45, 0xdb);
-@@ -664
5,15 +6673
,20 @@ static void rt2800_init_rfcsr_3352(struc
+@@ -664
6,15 +6674
,20 @@ static void rt2800_init_rfcsr_3352(struc
rt2800_rfcsr_write(rt2x00dev, 47, 0x0d);
rt2800_rfcsr_write(rt2x00dev, 48, 0x14);
rt2800_rfcsr_write(rt2x00dev, 49, 0x00);
rt2800_rfcsr_write(rt2x00dev, 47, 0x0d);
rt2800_rfcsr_write(rt2x00dev, 48, 0x14);
rt2800_rfcsr_write(rt2x00dev, 49, 0x00);
@@
-96,7
+96,7
@@
rt2800_rfcsr_write(rt2x00dev, 59, 0x00);
rt2800_rfcsr_write(rt2x00dev, 60, 0x00);
rt2800_rfcsr_write(rt2x00dev, 61, 0x00);
rt2800_rfcsr_write(rt2x00dev, 59, 0x00);
rt2800_rfcsr_write(rt2x00dev, 60, 0x00);
rt2800_rfcsr_write(rt2x00dev, 61, 0x00);
-@@ -767
4,6 +7707
,7 @@ static int rt2800_init_eeprom(struct rt2
+@@ -767
5,6 +7708
,7 @@ static int rt2800_init_eeprom(struct rt2
* RT53xx: defined in "EEPROM_CHIP_ID" field
*/
if (rt2x00_rt(rt2x00dev, RT3290) ||
* RT53xx: defined in "EEPROM_CHIP_ID" field
*/
if (rt2x00_rt(rt2x00dev, RT3290) ||
@@
-104,7
+104,7
@@
rt2x00_rt(rt2x00dev, RT5390) ||
rt2x00_rt(rt2x00dev, RT5392))
rt2800_eeprom_read(rt2x00dev, EEPROM_CHIP_ID, &rf);
rt2x00_rt(rt2x00dev, RT5390) ||
rt2x00_rt(rt2x00dev, RT5392))
rt2800_eeprom_read(rt2x00dev, EEPROM_CHIP_ID, &rf);
-@@ -77
69,7 +7803
,8 @@ static int rt2800_init_eeprom(struct rt2
+@@ -77
70,7 +7804
,8 @@ static int rt2800_init_eeprom(struct rt2
/*
* Detect if this device has Bluetooth co-existence.
*/
/*
* Detect if this device has Bluetooth co-existence.
*/
@@
-114,7
+114,7
@@
__set_bit(CAPABILITY_BT_COEXIST, &rt2x00dev->cap_flags);
/*
__set_bit(CAPABILITY_BT_COEXIST, &rt2x00dev->cap_flags);
/*
-@@ -779
8,6 +7833
,22 @@ static int rt2800_init_eeprom(struct rt2
+@@ -779
9,6 +7834
,22 @@ static int rt2800_init_eeprom(struct rt2
EIRP_MAX_TX_POWER_LIMIT)
__set_bit(CAPABILITY_POWER_LIMIT, &rt2x00dev->cap_flags);
EIRP_MAX_TX_POWER_LIMIT)
__set_bit(CAPABILITY_POWER_LIMIT, &rt2x00dev->cap_flags);
@@
-137,8
+137,8
@@
return 0;
}
return 0;
}
---- a/drivers/net/wireless/rt2x00/rt2800.h
-+++ b/drivers/net/wireless/rt2x00/rt2800.h
+--- a/drivers/net/wireless/r
alink/r
t2x00/rt2800.h
++++ b/drivers/net/wireless/r
alink/r
t2x00/rt2800.h
@@ -2335,6 +2335,12 @@ struct mac_iveiv_entry {
#define RFCSR36_RF_BS FIELD8(0x80)
@@ -2335,6 +2335,12 @@ struct mac_iveiv_entry {
#define RFCSR36_RF_BS FIELD8(0x80)
@@
-198,8
+198,8
@@
/*
* EEPROM frequency
/*
* EEPROM frequency
---- a/drivers/net/wireless/rt2x00/rt2x00.h
-+++ b/drivers/net/wireless/rt2x00/rt2x00.h
+--- a/drivers/net/wireless/r
alink/r
t2x00/rt2x00.h
++++ b/drivers/net/wireless/r
alink/r
t2x00/rt2x00.h
@@ -717,6 +717,8 @@ enum rt2x00_capability_flags {
CAPABILITY_DOUBLE_ANTENNA,
CAPABILITY_BT_COEXIST,
@@ -717,6 +717,8 @@ enum rt2x00_capability_flags {
CAPABILITY_DOUBLE_ANTENNA,
CAPABILITY_BT_COEXIST,