Please pull 'upstream-fixes' branch of wireless-2.6
The following changes since commit 08e15e81a40e3241ce93b4a43886f3abda184aa6:
Linus Torvalds (1):
Linux 2.6.21-rc3
are found in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git upstream-fixes
Joerg Sommer (1):
bcm43xx: Fix bug in frequency to channel conversion
Larry Finger (1):
bcm43xx: Fix errors in specs to code translation in B6PHY init
Pavel Roskin (1):
bcm43xx: Fix assertion failures in interrupt handler
drivers/net/wireless/bcm43xx/bcm43xx_main.c | 6 +++--- drivers/net/wireless/bcm43xx/bcm43xx_phy.c | 10 ++++++++-- drivers/net/wireless/bcm43xx/bcm43xx_wx.c | 10 ++++++++-- 3 files changed, 19 insertions(+), 7 deletions(-)
drivers/net/wireless/bcm43xx/bcm43xx_main.c +3 -3
@@ -1858,9 +1858,6 @@ static irqreturn_t bcm43xx_interrupt_handler(int irq, void *dev_id)spin_lock (&bcm->irq_lock); -assert (bcm43xx_status (bcm) == BCM43xx_STAT_INITIALIZED); -assert (bcm->current_core->id == BCM43xx_COREID_80211); - reason =bcm43xx_read32 (bcm, BCM43xx_MMIO_GEN_IRQ_REASON);if (reason ==0xffffffff ) {/* irq not for us (shared irq) */
@@ -1871,6 +1868,9 @@ static irqreturn_t bcm43xx_interrupt_handler(int irq, void *dev_id)if (!reason) goto out; +assert (bcm43xx_status (bcm) == BCM43xx_STAT_INITIALIZED); +assert (bcm->current_core->id == BCM43xx_COREID_80211); + bcm->dma_reason[0 ] =bcm43xx_read32 (bcm, BCM43xx_MMIO_DMA0_REASON) &0x0001DC00 ; bcm->dma_reason[1 ] =bcm43xx_read32 (bcm, BCM43xx_MMIO_DMA1_REASON)
drivers/net/wireless/bcm43xx/bcm43xx_phy.c +8 -2
@@ -859,6 +859,11 @@ static void bcm43xx_phy_initb6(struct bcm43xx_private *bcm)bcm43xx_radio_write16 (bcm,0x005D ,0x0088 );bcm43xx_radio_write16 (bcm,0x005E ,0x0088 );bcm43xx_radio_write16 (bcm,0x007D ,0x0088 ); +bcm43xx_shm_write32 (bcm, BCM43xx_SHM_SHARED, + BCM43xx_UCODEFLAGS_OFFSET, + (bcm43xx_shm_read32 (bcm, BCM43xx_SHM_SHARED, + BCM43xx_UCODEFLAGS_OFFSET) + |0x00000200 )); }if (radio->revision ==8 ) {bcm43xx_radio_write16 (bcm,0x0051 ,0x0000 );
@@ -941,7 +946,8 @@ static void bcm43xx_phy_initb6(struct bcm43xx_private *bcm)bcm43xx_phy_write (bcm,0x0038 ,0x0668 );bcm43xx_radio_set_txpower_bg (bcm,0xFFFF ,0xFFFF ,0xFFFF );if (radio->revision <=5 ) -bcm43xx_phy_write (bcm,0x005D ,bcm43xx_phy_read (bcm,0x005D ) |0x0003 ); +bcm43xx_phy_write (bcm,0x005D , (bcm43xx_phy_read (bcm,0x005D ) + &0xFF80 ) |0x0003 );if (radio->revision <=2 )bcm43xx_radio_write16 (bcm,0x005D ,0x000D );
@@ -958,7 +964,7 @@ static void bcm43xx_phy_initb6(struct bcm43xx_private *bcm)bcm43xx_phy_write (bcm,0x0016 ,0x0410 );bcm43xx_phy_write (bcm,0x0017 ,0x0820 );bcm43xx_phy_write (bcm,0x0062 ,0x0007 ); - (void )bcm43xx_radio_calibrationvalue (bcm); +bcm43xx_radio_init2050 (bcm);bcm43xx_phy_lo_g_measure (bcm);if (bcm->sprom.boardflags & BCM43xx_BFL_RSSI) {bcm43xx_calc_nrssi_slope (bcm);
drivers/net/wireless/bcm43xx/bcm43xx_wx.c +8 -2
@@ -105,18 +105,24 @@ static int bcm43xx_wx_set_channelfreq(struct net_device *net_dev,struct bcm43xx_private *bcm =bcm43xx_priv (net_dev);unsigned long flags;u8 channel; +s8 expon;int freq;int err = -EINVAL ;mutex_lock (&bcm->mutex);spin_lock_irqsave (&bcm->irq_lock, flags); -if ((data->freq.m >=0 ) && (data->freq.m <=1000 )) { +if ((data->freq.e ==0 ) && + (data->freq.m >=0 ) && (data->freq.m <=1000 )) { channel = data->freq.m; freq =bcm43xx_channel_to_freq (bcm, channel); }else { - channel =bcm43xx_freq_to_channel (bcm, data->freq.m); freq = data->freq.m; + expon =6 - data->freq.e; +while (--expon >=0 )/* scale down the frequency to MHz */ + freq /=10 ; +assert (freq >1000 ); + channel =bcm43xx_freq_to_channel (bcm, freq); }if (!ieee80211_is_valid_channel (bcm->ieee, channel)) goto out_unlock;
Signature · 2 lines
John W. Linville [email protected]
Please pull 'upstream' branch of wireless-2.6
The following changes since commit 9b73d945c4269f61d2ecf0555150b577a965bc99:
John W. Linville (1):
Merge branch 'upstream-fixes' into upstream
are found in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git upstream
Andrew Morton (1):
ipw2200: fix ieee80211_get_geo typo
Jouni Malinen (1):
hostap: Add D-Link DWL-650 Rev. P1 product id
Sam Ravnborg (1):
bcm43xx: do not rebuild when kernel version changes
drivers/net/wireless/bcm43xx/bcm43xx_ethtool.c | 4 ++-- drivers/net/wireless/hostap/hostap_cs.c | 5 +++++ drivers/net/wireless/ipw2200.c | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-)
drivers/net/wireless/bcm43xx/bcm43xx_ethtool.c +2 -2
@@ -32,7 +32,7 @@#include <linux/netdevice.h> #include <linux/pci.h> #include <linux/string.h> -#include <linux/utsrelease.h> +#include <linux/utsname.h> static void bcm43xx_get_drvinfo (struct net_device *dev,struct ethtool_drvinfo *info)
@@ -40,7 +40,7 @@ static void bcm43xx_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *struct bcm43xx_private *bcm =bcm43xx_priv (dev);strncpy (info->driver,KBUILD_MODNAME ,sizeof (info->driver)); -strncpy (info->version,UTS_RELEASE ,sizeof (info->version)); +strncpy (info->version,utsname ()->release,sizeof (info->version));strncpy (info->bus_info,pci_name (bcm->pci_dev),ETHTOOL_BUSINFO_LEN ); }
drivers/net/wireless/hostap/hostap_cs.c +5 -0
@@ -848,6 +848,11 @@ static struct pcmcia_device_id hostap_cs_ids[] = { "Intersil", "PRISM 2_5 PCMCIA ADAPTER", "ISL37300P", "Eval-RevA", 0x4b801a17, 0x6345a0bf, 0xc9049a39, 0xc23adc0e), +/* D-Link DWL-650 Rev. P1; manfid 0x000b, 0x7110 */ +PCMCIA_DEVICE_PROD_ID1234 ( +"D-Link" ,"DWL-650 Wireless PC Card RevP" ,"ISL37101P-10" , +"A3" , +0x1a424a1c ,0x6ea57632 ,0xdd97a26b ,0x56b21f52 ),PCMCIA_DEVICE_PROD_ID123 ("Addtron" ,"AWP-100 Wireless PCMCIA" ,"Version 01.02" , 0xe6ec52ce, 0x08649af2, 0x4b74baa0),
drivers/net/wireless/ipw2200.c +1 -1
@@ -1852,7 +1852,7 @@ static ssize_t show_channels(struct device *d, char *buf) {struct ipw_priv *priv =dev_get_drvdata (d); -const struct ieee80211_geo *geo =ipw_get_geo (priv->ieee); +const struct ieee80211_geo *geo =ieee80211_get_geo (priv->ieee);int len =0 , i; len = sprintf(&buf[len],
Signature · 2 lines
John W. Linville [email protected]
Re: Please pull 'upstream' branch of wireless-2.6
Quoted 14 lines · John W. Linville
The following changes since commit
9b73d945c4269f61d2ecf0555150b577a965bc99:
John W. Linville (1):
Merge branch 'upstream-fixes' into upstreamare found in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.gitupstreamAndrew Morton (1):
ipw2200: fix ieee80211_get_geo typoJouni Malinen (1):
hostap: Add D-Link DWL-650 Rev. P1 product id
Quoted 8 lines
Sam Ravnborg (1):
bcm43xx: do not rebuild when kernel version changesdrivers/net/wireless/bcm43xx/bcm43xx_ethtool.c | 4 ++-- drivers/net/wireless/hostap/hostap_cs.c | 5 +++++ drivers/net/wireless/ipw2200.c | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-)
pulled
Quoted 14 lines · John W. Linville
The following changes since commit
08e15e81a40e3241ce93b4a43886f3abda184aa6:
Linus Torvalds (1):Linux 2.6.21-rc3are found in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.gitupstream-fixesJoerg Sommer (1):
bcm43xx: Fix bug in frequency to channel conversionLarry Finger (1):
bcm43xx: Fix errors in specs to code translation in B6PHY init
Quoted 7 lines
Pavel Roskin (1):
bcm43xx: Fix assertion failures in interrupt handlerdrivers/net/wireless/bcm43xx/bcm43xx_main.c | 6 +++--- drivers/net/wireless/bcm43xx/bcm43xx_phy.c | 10 ++++++++-- drivers/net/wireless/bcm43xx/bcm43xx_wx.c | 10 ++++++++-- 3 files changed, 19 insertions(+), 7 deletions(-)
pulled