mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:56:14 +02:00
mac80211: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34464 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
74b2b6e964
commit
a81af1e631
@ -1,6 +1,6 @@
|
|||||||
--- a/net/mac80211/mesh_pathtbl.c
|
--- a/net/mac80211/mesh_pathtbl.c
|
||||||
+++ b/net/mac80211/mesh_pathtbl.c
|
+++ b/net/mac80211/mesh_pathtbl.c
|
||||||
@@ -813,7 +813,6 @@ static void table_flush_by_iface(struct
|
@@ -813,7 +813,6 @@ static void table_flush_by_iface(struct
|
||||||
struct hlist_node *p;
|
struct hlist_node *p;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -189,7 +189,7 @@
|
|||||||
static void ieee80211_iface_work(struct work_struct *work)
|
static void ieee80211_iface_work(struct work_struct *work)
|
||||||
{
|
{
|
||||||
struct ieee80211_sub_if_data *sdata =
|
struct ieee80211_sub_if_data *sdata =
|
||||||
@@ -1101,6 +1144,9 @@ static void ieee80211_iface_work(struct
|
@@ -1101,6 +1144,9 @@ static void ieee80211_iface_work(struct
|
||||||
break;
|
break;
|
||||||
ieee80211_mesh_rx_queued_mgmt(sdata, skb);
|
ieee80211_mesh_rx_queued_mgmt(sdata, skb);
|
||||||
break;
|
break;
|
||||||
@ -266,7 +266,7 @@
|
|||||||
WLAN_STA_BLOCK_BA,
|
WLAN_STA_BLOCK_BA,
|
||||||
--- a/net/mac80211/status.c
|
--- a/net/mac80211/status.c
|
||||||
+++ b/net/mac80211/status.c
|
+++ b/net/mac80211/status.c
|
||||||
@@ -34,7 +34,7 @@ void ieee80211_tx_status_irqsafe(struct
|
@@ -34,7 +34,7 @@ void ieee80211_tx_status_irqsafe(struct
|
||||||
skb_queue_len(&local->skb_queue_unreliable);
|
skb_queue_len(&local->skb_queue_unreliable);
|
||||||
while (tmp > IEEE80211_IRQSAFE_QUEUE_LIMIT &&
|
while (tmp > IEEE80211_IRQSAFE_QUEUE_LIMIT &&
|
||||||
(skb = skb_dequeue(&local->skb_queue_unreliable))) {
|
(skb = skb_dequeue(&local->skb_queue_unreliable))) {
|
||||||
@ -847,7 +847,7 @@
|
|||||||
}
|
}
|
||||||
--- a/drivers/net/wireless/ath/ath9k/xmit.c
|
--- a/drivers/net/wireless/ath/ath9k/xmit.c
|
||||||
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
|
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
|
||||||
@@ -386,7 +386,7 @@ static void ath_tx_complete_aggr(struct
|
@@ -386,7 +386,7 @@ static void ath_tx_complete_aggr(struct
|
||||||
u16 seq_st = 0, acked_cnt = 0, txfail_cnt = 0, seq_first;
|
u16 seq_st = 0, acked_cnt = 0, txfail_cnt = 0, seq_first;
|
||||||
u32 ba[WME_BA_BMP_SIZE >> 5];
|
u32 ba[WME_BA_BMP_SIZE >> 5];
|
||||||
int isaggr, txfail, txpending, sendbar = 0, needreset = 0, nbad = 0;
|
int isaggr, txfail, txpending, sendbar = 0, needreset = 0, nbad = 0;
|
||||||
@ -856,7 +856,7 @@
|
|||||||
struct ieee80211_tx_rate rates[4];
|
struct ieee80211_tx_rate rates[4];
|
||||||
struct ath_frame_info *fi;
|
struct ath_frame_info *fi;
|
||||||
int nframes;
|
int nframes;
|
||||||
@@ -430,13 +430,17 @@ static void ath_tx_complete_aggr(struct
|
@@ -430,13 +430,17 @@ static void ath_tx_complete_aggr(struct
|
||||||
tidno = ieee80211_get_qos_ctl(hdr)[0] & IEEE80211_QOS_CTL_TID_MASK;
|
tidno = ieee80211_get_qos_ctl(hdr)[0] & IEEE80211_QOS_CTL_TID_MASK;
|
||||||
tid = ATH_AN_2_TID(an, tidno);
|
tid = ATH_AN_2_TID(an, tidno);
|
||||||
seq_first = tid->seq_start;
|
seq_first = tid->seq_start;
|
||||||
@ -889,7 +889,7 @@
|
|||||||
default:
|
default:
|
||||||
--- a/net/mac80211/tx.c
|
--- a/net/mac80211/tx.c
|
||||||
+++ b/net/mac80211/tx.c
|
+++ b/net/mac80211/tx.c
|
||||||
@@ -354,7 +354,7 @@ static void purge_old_ps_buffers(struct
|
@@ -354,7 +354,7 @@ static void purge_old_ps_buffers(struct
|
||||||
total += skb_queue_len(&sta->ps_tx_buf[ac]);
|
total += skb_queue_len(&sta->ps_tx_buf[ac]);
|
||||||
if (skb) {
|
if (skb) {
|
||||||
purged++;
|
purged++;
|
||||||
@ -984,7 +984,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -2190,7 +2195,7 @@ void ieee80211_tx_pending(unsigned long
|
@@ -2190,7 +2195,7 @@ void ieee80211_tx_pending(unsigned long
|
||||||
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
|
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
|
||||||
|
|
||||||
if (WARN_ON(!info->control.vif)) {
|
if (WARN_ON(!info->control.vif)) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include <asm/unaligned.h>
|
#include <asm/unaligned.h>
|
||||||
|
|
||||||
#include "hw.h"
|
#include "hw.h"
|
||||||
@@ -523,8 +524,16 @@ static int ath9k_hw_init_macaddr(struct
|
@@ -523,8 +524,16 @@ static int ath9k_hw_init_macaddr(struct
|
||||||
common->macaddr[2 * i] = eeval >> 8;
|
common->macaddr[2 * i] = eeval >> 8;
|
||||||
common->macaddr[2 * i + 1] = eeval & 0xff;
|
common->macaddr[2 * i + 1] = eeval & 0xff;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c
|
--- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c
|
||||||
+++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c
|
+++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c
|
||||||
@@ -89,13 +89,8 @@ ath5k_add_interface(struct ieee80211_hw
|
@@ -89,13 +89,8 @@ ath5k_add_interface(struct ieee80211_hw
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
static bool
|
static bool
|
||||||
ath5k_pci_eeprom_read(struct ath_common *common, u32 offset, u16 *data)
|
ath5k_pci_eeprom_read(struct ath_common *common, u32 offset, u16 *data)
|
||||||
@@ -82,6 +83,19 @@ ath5k_pci_eeprom_read(struct ath_common
|
@@ -82,6 +83,19 @@ ath5k_pci_eeprom_read(struct ath_common
|
||||||
struct ath5k_hw *ah = (struct ath5k_hw *) common->ah;
|
struct ath5k_hw *ah = (struct ath5k_hw *) common->ah;
|
||||||
u32 status, timeout;
|
u32 status, timeout;
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ drivers/net/wireless/ath/ath5k/debug.c | 86 ++++++++++++++++++++++++++++++++
|
|||||||
|
|
||||||
/* debugfs: queues etc */
|
/* debugfs: queues etc */
|
||||||
|
|
||||||
@@ -904,6 +987,9 @@ ath5k_debug_init_device(struct ath5k_hw
|
@@ -904,6 +987,9 @@ ath5k_debug_init_device(struct ath5k_hw
|
||||||
debugfs_create_file("beacon", S_IWUSR | S_IRUSR, phydir, ah,
|
debugfs_create_file("beacon", S_IWUSR | S_IRUSR, phydir, ah,
|
||||||
&fops_beacon);
|
&fops_beacon);
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@
|
|||||||
|
|
||||||
--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
|
--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
|
||||||
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
|
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
|
||||||
@@ -458,12 +458,12 @@ int ath9k_hw_process_rxdesc_edma(struct
|
@@ -458,12 +458,12 @@ int ath9k_hw_process_rxdesc_edma(struct
|
||||||
|
|
||||||
/* XXX: Keycache */
|
/* XXX: Keycache */
|
||||||
rxs->rs_rssi = MS(rxsp->status5, AR_RxRSSICombined);
|
rxs->rs_rssi = MS(rxsp->status5, AR_RxRSSICombined);
|
||||||
@ -227,7 +227,7 @@
|
|||||||
if (ads.ds_rxstatus8 & AR_RxKeyIdxValid)
|
if (ads.ds_rxstatus8 & AR_RxKeyIdxValid)
|
||||||
--- a/drivers/net/wireless/ath/ath9k/debug.c
|
--- a/drivers/net/wireless/ath/ath9k/debug.c
|
||||||
+++ b/drivers/net/wireless/ath/ath9k/debug.c
|
+++ b/drivers/net/wireless/ath/ath9k/debug.c
|
||||||
@@ -997,12 +997,12 @@ void ath_debug_stat_rx(struct ath_softc
|
@@ -997,12 +997,12 @@ void ath_debug_stat_rx(struct ath_softc
|
||||||
#ifdef CONFIG_ATH9K_MAC_DEBUG
|
#ifdef CONFIG_ATH9K_MAC_DEBUG
|
||||||
spin_lock(&sc->debug.samp_lock);
|
spin_lock(&sc->debug.samp_lock);
|
||||||
RX_SAMP_DBG(jiffies) = jiffies;
|
RX_SAMP_DBG(jiffies) = jiffies;
|
||||||
@ -363,7 +363,7 @@
|
|||||||
* hardware stores this as 8 bit signed value.
|
* hardware stores this as 8 bit signed value.
|
||||||
--- a/drivers/net/wireless/ath/ath9k/antenna.c
|
--- a/drivers/net/wireless/ath/ath9k/antenna.c
|
||||||
+++ b/drivers/net/wireless/ath/ath9k/antenna.c
|
+++ b/drivers/net/wireless/ath/ath9k/antenna.c
|
||||||
@@ -529,14 +529,14 @@ void ath_ant_comb_scan(struct ath_softc
|
@@ -529,14 +529,14 @@ void ath_ant_comb_scan(struct ath_softc
|
||||||
struct ath_ant_comb *antcomb = &sc->ant_comb;
|
struct ath_ant_comb *antcomb = &sc->ant_comb;
|
||||||
int alt_ratio = 0, alt_rssi_avg = 0, main_rssi_avg = 0, curr_alt_set;
|
int alt_ratio = 0, alt_rssi_avg = 0, main_rssi_avg = 0, curr_alt_set;
|
||||||
int curr_main_set;
|
int curr_main_set;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/net/wireless/reg.c
|
--- a/net/wireless/reg.c
|
||||||
+++ b/net/wireless/reg.c
|
+++ b/net/wireless/reg.c
|
||||||
@@ -908,8 +908,7 @@ static void handle_channel(struct wiphy
|
@@ -908,8 +908,7 @@ static void handle_channel(struct wiphy
|
||||||
|
|
||||||
chan->beacon_found = false;
|
chan->beacon_found = false;
|
||||||
chan->flags = flags | bw_flags | map_regdom_flags(reg_rule->flags);
|
chan->flags = flags | bw_flags | map_regdom_flags(reg_rule->flags);
|
||||||
|
@ -106,10 +106,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* policy for the key attributes */
|
/* policy for the key attributes */
|
||||||
@@ -1604,6 +1605,22 @@ static int nl80211_set_wiphy(struct sk_b
|
@@ -1603,6 +1604,22 @@ static int nl80211_set_wiphy(struct sk_b
|
||||||
|
if (result)
|
||||||
goto bad_res;
|
goto bad_res;
|
||||||
}
|
}
|
||||||
|
+
|
||||||
+ if (info->attrs[NL80211_ATTR_WIPHY_ANTENNA_GAIN]) {
|
+ if (info->attrs[NL80211_ATTR_WIPHY_ANTENNA_GAIN]) {
|
||||||
+ int idx, dbi = 0;
|
+ int idx, dbi = 0;
|
||||||
+
|
+
|
||||||
@ -125,10 +126,9 @@
|
|||||||
+ if (result)
|
+ if (result)
|
||||||
+ goto bad_res;
|
+ goto bad_res;
|
||||||
+ }
|
+ }
|
||||||
+
|
|
||||||
if (info->attrs[NL80211_ATTR_WIPHY_ANTENNA_TX] &&
|
if (info->attrs[NL80211_ATTR_WIPHY_ANTENNA_TX] &&
|
||||||
info->attrs[NL80211_ATTR_WIPHY_ANTENNA_RX]) {
|
info->attrs[NL80211_ATTR_WIPHY_ANTENNA_RX]) {
|
||||||
u32 tx_ant, rx_ant;
|
|
||||||
--- a/net/mac80211/cfg.c
|
--- a/net/mac80211/cfg.c
|
||||||
+++ b/net/mac80211/cfg.c
|
+++ b/net/mac80211/cfg.c
|
||||||
@@ -1984,6 +1984,19 @@ static int ieee80211_get_tx_power(struct
|
@@ -1984,6 +1984,19 @@ static int ieee80211_get_tx_power(struct
|
||||||
@ -151,7 +151,7 @@
|
|||||||
static int ieee80211_set_wds_peer(struct wiphy *wiphy, struct net_device *dev,
|
static int ieee80211_set_wds_peer(struct wiphy *wiphy, struct net_device *dev,
|
||||||
const u8 *addr)
|
const u8 *addr)
|
||||||
{
|
{
|
||||||
@@ -3085,6 +3098,7 @@ struct cfg80211_ops mac80211_config_ops
|
@@ -3085,6 +3098,7 @@ struct cfg80211_ops mac80211_config_ops
|
||||||
.set_wiphy_params = ieee80211_set_wiphy_params,
|
.set_wiphy_params = ieee80211_set_wiphy_params,
|
||||||
.set_tx_power = ieee80211_set_tx_power,
|
.set_tx_power = ieee80211_set_tx_power,
|
||||||
.get_tx_power = ieee80211_get_tx_power,
|
.get_tx_power = ieee80211_get_tx_power,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/net/wireless/reg.c
|
--- a/net/wireless/reg.c
|
||||||
+++ b/net/wireless/reg.c
|
+++ b/net/wireless/reg.c
|
||||||
@@ -901,7 +901,7 @@ static void handle_channel(struct wiphy
|
@@ -901,7 +901,7 @@ static void handle_channel(struct wiphy
|
||||||
map_regdom_flags(reg_rule->flags) | bw_flags;
|
map_regdom_flags(reg_rule->flags) | bw_flags;
|
||||||
chan->max_antenna_gain = chan->orig_mag =
|
chan->max_antenna_gain = chan->orig_mag =
|
||||||
(int) MBI_TO_DBI(power_rule->max_antenna_gain);
|
(int) MBI_TO_DBI(power_rule->max_antenna_gain);
|
||||||
|
@ -171,7 +171,7 @@
|
|||||||
|
|
||||||
--- a/drivers/net/wireless/ath/ath9k/init.c
|
--- a/drivers/net/wireless/ath/ath9k/init.c
|
||||||
+++ b/drivers/net/wireless/ath/ath9k/init.c
|
+++ b/drivers/net/wireless/ath/ath9k/init.c
|
||||||
@@ -811,7 +811,7 @@ int ath9k_init_device(u16 devid, struct
|
@@ -811,7 +811,7 @@ int ath9k_init_device(u16 devid, struct
|
||||||
|
|
||||||
#ifdef CONFIG_MAC80211_LEDS
|
#ifdef CONFIG_MAC80211_LEDS
|
||||||
/* must be initialized before ieee80211_register_hw */
|
/* must be initialized before ieee80211_register_hw */
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/net/wireless/ath/ath9k/mac.c
|
--- a/drivers/net/wireless/ath/ath9k/mac.c
|
||||||
+++ b/drivers/net/wireless/ath/ath9k/mac.c
|
+++ b/drivers/net/wireless/ath/ath9k/mac.c
|
||||||
@@ -689,7 +689,7 @@ bool ath9k_hw_stopdmarecv(struct ath_hw
|
@@ -689,7 +689,7 @@ bool ath9k_hw_stopdmarecv(struct ath_hw
|
||||||
{
|
{
|
||||||
#define AH_RX_STOP_DMA_TIMEOUT 10000 /* usec */
|
#define AH_RX_STOP_DMA_TIMEOUT 10000 /* usec */
|
||||||
struct ath_common *common = ath9k_hw_common(ah);
|
struct ath_common *common = ath9k_hw_common(ah);
|
||||||
@ -9,7 +9,7 @@
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* Enable access to the DMA observation bus */
|
/* Enable access to the DMA observation bus */
|
||||||
@@ -719,6 +719,16 @@ bool ath9k_hw_stopdmarecv(struct ath_hw
|
@@ -719,6 +719,16 @@ bool ath9k_hw_stopdmarecv(struct ath_hw
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
|
@ -186,7 +186,7 @@
|
|||||||
obj-$(CONFIG_RT2X00_LIB_PCI) += rt2x00pci.o
|
obj-$(CONFIG_RT2X00_LIB_PCI) += rt2x00pci.o
|
||||||
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
|
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
|
||||||
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
|
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
|
||||||
@@ -89,20 +89,10 @@ static void rt2800pci_mcu_status(struct
|
@@ -89,20 +89,10 @@ static void rt2800pci_mcu_status(struct
|
||||||
rt2x00pci_register_write(rt2x00dev, H2M_MAILBOX_CID, ~0);
|
rt2x00pci_register_write(rt2x00dev, H2M_MAILBOX_CID, ~0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -198,12 +198,12 @@
|
|||||||
- memcpy_fromio(rt2x00dev->eeprom, base_addr, EEPROM_SIZE);
|
- memcpy_fromio(rt2x00dev->eeprom, base_addr, EEPROM_SIZE);
|
||||||
-
|
-
|
||||||
- iounmap(base_addr);
|
- iounmap(base_addr);
|
||||||
+ memcpy(rt2x00dev->eeprom, rt2x00dev->eeprom_file->data, EEPROM_SIZE);
|
-}
|
||||||
}
|
|
||||||
-#else
|
-#else
|
||||||
-static inline void rt2800pci_read_eeprom_soc(struct rt2x00_dev *rt2x00dev)
|
-static inline void rt2800pci_read_eeprom_soc(struct rt2x00_dev *rt2x00dev)
|
||||||
-{
|
-{
|
||||||
-}
|
+ memcpy(rt2x00dev->eeprom, rt2x00dev->eeprom_file->data, EEPROM_SIZE);
|
||||||
|
}
|
||||||
-#endif /* CONFIG_RALINK_RT288X || CONFIG_RALINK_RT305X */
|
-#endif /* CONFIG_RALINK_RT288X || CONFIG_RALINK_RT305X */
|
||||||
|
|
||||||
#ifdef CONFIG_PCI
|
#ifdef CONFIG_PCI
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
|
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
|
||||||
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
|
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
|
||||||
@@ -89,7 +89,7 @@ static void rt2800pci_mcu_status(struct
|
@@ -89,7 +89,7 @@ static void rt2800pci_mcu_status(struct
|
||||||
rt2x00pci_register_write(rt2x00dev, H2M_MAILBOX_CID, ~0);
|
rt2x00pci_register_write(rt2x00dev, H2M_MAILBOX_CID, ~0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int rt2800_get_gain_calibration_delta(struct rt2x00_dev *rt2x00dev)
|
static int rt2800_get_gain_calibration_delta(struct rt2x00_dev *rt2x00dev)
|
||||||
@@ -2998,6 +3073,10 @@ static int rt2800_init_registers(struct
|
@@ -2998,6 +3073,10 @@ static int rt2800_init_registers(struct
|
||||||
rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000400);
|
rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000400);
|
||||||
rt2800_register_write(rt2x00dev, TX_SW_CFG1, 0x00000000);
|
rt2800_register_write(rt2x00dev, TX_SW_CFG1, 0x00000000);
|
||||||
rt2800_register_write(rt2x00dev, TX_SW_CFG2, 0x00000030);
|
rt2800_register_write(rt2x00dev, TX_SW_CFG2, 0x00000030);
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
Index: compat-wireless-2012-09-07/drivers/net/wireless/rt2x00/rt2800lib.c
|
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
|
||||||
===================================================================
|
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
|
||||||
--- compat-wireless-2012-09-07.orig/drivers/net/wireless/rt2x00/rt2800lib.c
|
|
||||||
+++ compat-wireless-2012-09-07/drivers/net/wireless/rt2x00/rt2800lib.c
|
|
||||||
@@ -5072,6 +5072,27 @@ static const struct rf_channel rf_vals_3
|
@@ -5072,6 +5072,27 @@ static const struct rf_channel rf_vals_3
|
||||||
{173, 0x61, 0, 9},
|
{173, 0x61, 0, 9},
|
||||||
};
|
};
|
||||||
@ -87,10 +85,8 @@ Index: compat-wireless-2012-09-07/drivers/net/wireless/rt2x00/rt2800lib.c
|
|||||||
* Initialize hw specifications.
|
* Initialize hw specifications.
|
||||||
*/
|
*/
|
||||||
retval = rt2800_probe_hw_mode(rt2x00dev);
|
retval = rt2800_probe_hw_mode(rt2x00dev);
|
||||||
Index: compat-wireless-2012-09-07/drivers/net/wireless/rt2x00/rt2x00.h
|
--- a/drivers/net/wireless/rt2x00/rt2x00.h
|
||||||
===================================================================
|
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
|
||||||
--- compat-wireless-2012-09-07.orig/drivers/net/wireless/rt2x00/rt2x00.h
|
|
||||||
+++ compat-wireless-2012-09-07/drivers/net/wireless/rt2x00/rt2x00.h
|
|
||||||
@@ -421,6 +421,7 @@ static inline struct rt2x00_intf* vif_to
|
@@ -421,6 +421,7 @@ static inline struct rt2x00_intf* vif_to
|
||||||
* @channels: Device/chipset specific channel values (See &struct rf_channel).
|
* @channels: Device/chipset specific channel values (See &struct rf_channel).
|
||||||
* @channels_info: Additional information for channels (See &struct channel_info).
|
* @channels_info: Additional information for channels (See &struct channel_info).
|
||||||
@ -107,10 +103,8 @@ Index: compat-wireless-2012-09-07/drivers/net/wireless/rt2x00/rt2x00.h
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Index: compat-wireless-2012-09-07/include/linux/rt2x00_platform.h
|
--- a/include/linux/rt2x00_platform.h
|
||||||
===================================================================
|
+++ b/include/linux/rt2x00_platform.h
|
||||||
--- compat-wireless-2012-09-07.orig/include/linux/rt2x00_platform.h
|
|
||||||
+++ compat-wireless-2012-09-07/include/linux/rt2x00_platform.h
|
|
||||||
@@ -18,6 +18,7 @@ struct rt2x00_platform_data {
|
@@ -18,6 +18,7 @@ struct rt2x00_platform_data {
|
||||||
|
|
||||||
int disable_2ghz;
|
int disable_2ghz;
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
BCMA_CORETABLE_END
|
BCMA_CORETABLE_END
|
||||||
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
||||||
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
||||||
@@ -734,7 +734,7 @@ static void brcms_c_ucode_bsinit(struct
|
@@ -734,7 +734,7 @@ static void brcms_c_ucode_bsinit(struct
|
||||||
brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs);
|
brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs);
|
||||||
|
|
||||||
/* do band-specific ucode IHR, SHM, and SCR inits */
|
/* do band-specific ucode IHR, SHM, and SCR inits */
|
||||||
@ -19,7 +19,7 @@
|
|||||||
if (BRCMS_ISNPHY(wlc_hw->band))
|
if (BRCMS_ISNPHY(wlc_hw->band))
|
||||||
brcms_c_write_inits(wlc_hw, ucode->d11n0bsinitvals16);
|
brcms_c_write_inits(wlc_hw, ucode->d11n0bsinitvals16);
|
||||||
else
|
else
|
||||||
@@ -2259,7 +2259,7 @@ static void brcms_ucode_download(struct
|
@@ -2259,7 +2259,7 @@ static void brcms_ucode_download(struct
|
||||||
if (wlc_hw->ucode_loaded)
|
if (wlc_hw->ucode_loaded)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
MODULE_DEVICE_TABLE(bcma, brcms_coreid_table);
|
MODULE_DEVICE_TABLE(bcma, brcms_coreid_table);
|
||||||
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
||||||
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
||||||
@@ -734,7 +734,7 @@ static void brcms_c_ucode_bsinit(struct
|
@@ -734,7 +734,7 @@ static void brcms_c_ucode_bsinit(struct
|
||||||
brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs);
|
brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs);
|
||||||
|
|
||||||
/* do band-specific ucode IHR, SHM, and SCR inits */
|
/* do band-specific ucode IHR, SHM, and SCR inits */
|
||||||
@ -19,7 +19,7 @@
|
|||||||
if (BRCMS_ISNPHY(wlc_hw->band))
|
if (BRCMS_ISNPHY(wlc_hw->band))
|
||||||
brcms_c_write_inits(wlc_hw, ucode->d11n0bsinitvals16);
|
brcms_c_write_inits(wlc_hw, ucode->d11n0bsinitvals16);
|
||||||
else
|
else
|
||||||
@@ -2259,7 +2259,7 @@ static void brcms_ucode_download(struct
|
@@ -2259,7 +2259,7 @@ static void brcms_ucode_download(struct
|
||||||
if (wlc_hw->ucode_loaded)
|
if (wlc_hw->ucode_loaded)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user