[package] mac80211: add ath9k init values patch
[openwrt.git] / package / mac80211 / patches / 310-rt2x00-Fix-MCS-rx_mask-rt2800usb.patch
index 46e9c92..87e0ca2 100644 (file)
@@ -8,11 +8,9 @@ Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
  drivers/net/wireless/rt2x00/rt2800usb.c |   22 ++++++++++++++++++++--
  1 files changed, 20 insertions(+), 2 deletions(-)
 
-diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
-index ab00d4d..1709e87 100644
 --- a/drivers/net/wireless/rt2x00/rt2800usb.c
 +++ b/drivers/net/wireless/rt2x00/rt2800usb.c
-@@ -2215,6 +2215,13 @@ static int rt2800usb_validate_eeprom(struct rt2x00_dev *rt2x00dev)
+@@ -2215,6 +2215,13 @@ static int rt2800usb_validate_eeprom(str
                rt2x00_set_field16(&word, EEPROM_ANTENNA_RF_TYPE, RF2820);
                rt2x00_eeprom_write(rt2x00dev, EEPROM_ANTENNA, word);
                EEPROM(rt2x00dev, "Antenna: 0x%04x\n", word);
@@ -26,7 +24,7 @@ index ab00d4d..1709e87 100644
        }
  
        rt2x00_eeprom_read(rt2x00dev, EEPROM_NIC, &word);
-@@ -2465,6 +2472,7 @@ static int rt2800usb_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
+@@ -2465,6 +2472,7 @@ static int rt2800usb_probe_hw_mode(struc
        char *tx_power1;
        char *tx_power2;
        unsigned int i;
@@ -34,7 +32,7 @@ index ab00d4d..1709e87 100644
  
        /*
         * Initialize all hw fields.
-@@ -2481,6 +2489,8 @@ static int rt2800usb_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
+@@ -2481,6 +2489,8 @@ static int rt2800usb_probe_hw_mode(struc
                                rt2x00_eeprom_addr(rt2x00dev,
                                                   EEPROM_MAC_ADDR_0));
  
@@ -43,7 +41,7 @@ index ab00d4d..1709e87 100644
        /*
         * Initialize HT information.
         */
-@@ -2495,11 +2505,19 @@ static int rt2800usb_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
+@@ -2495,11 +2505,19 @@ static int rt2800usb_probe_hw_mode(struc
            IEEE80211_HT_CAP_PSMP_SUPPORT;
        spec->ht.ampdu_factor = 3;
        spec->ht.ampdu_density = 4;
@@ -65,6 +63,3 @@ index ab00d4d..1709e87 100644
        /*
         * Initialize hw_mode information.
         */
--- 
-1.6.0
-
This page took 0.022264 seconds and 4 git commands to generate.