Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
044c18c9
Commit
044c18c9
authored
Feb 10, 2010
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
parents
3f2e8d9f
174b2496
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
28 additions
and
17 deletions
+28
-17
drivers/net/wireless/ath/ath9k/xmit.c
drivers/net/wireless/ath/ath9k/xmit.c
+2
-2
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/b43.h
+1
-0
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43/main.c
+10
-3
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-core.c
+1
-0
drivers/net/wireless/iwmc3200wifi/rx.c
drivers/net/wireless/iwmc3200wifi/rx.c
+1
-1
drivers/net/wireless/rtl818x/rtl8187_dev.c
drivers/net/wireless/rtl818x/rtl8187_dev.c
+1
-0
drivers/ssb/main.c
drivers/ssb/main.c
+1
-2
net/mac80211/ibss.c
net/mac80211/ibss.c
+1
-1
net/mac80211/scan.c
net/mac80211/scan.c
+10
-8
No files found.
drivers/net/wireless/ath/ath9k/xmit.c
View file @
044c18c9
...
@@ -1615,7 +1615,7 @@ static int ath_tx_setup_buffer(struct ieee80211_hw *hw, struct ath_buf *bf,
...
@@ -1615,7 +1615,7 @@ static int ath_tx_setup_buffer(struct ieee80211_hw *hw, struct ath_buf *bf,
bf
->
bf_frmlen
-=
padsize
;
bf
->
bf_frmlen
-=
padsize
;
}
}
if
(
conf_is_ht
(
&
hw
->
conf
)
&&
!
is_pae
(
skb
)
)
if
(
conf_is_ht
(
&
hw
->
conf
))
bf
->
bf_state
.
bf_type
|=
BUF_HT
;
bf
->
bf_state
.
bf_type
|=
BUF_HT
;
bf
->
bf_flags
=
setup_tx_flags
(
sc
,
skb
,
txctl
->
txq
);
bf
->
bf_flags
=
setup_tx_flags
(
sc
,
skb
,
txctl
->
txq
);
...
@@ -1701,7 +1701,7 @@ static void ath_tx_start_dma(struct ath_softc *sc, struct ath_buf *bf,
...
@@ -1701,7 +1701,7 @@ static void ath_tx_start_dma(struct ath_softc *sc, struct ath_buf *bf,
goto
tx_done
;
goto
tx_done
;
}
}
if
(
tx_info
->
flags
&
IEEE80211_TX_CTL_AMPDU
)
{
if
(
(
tx_info
->
flags
&
IEEE80211_TX_CTL_AMPDU
)
&&
!
is_pae
(
skb
)
)
{
/*
/*
* Try aggregation if it's a unicast data frame
* Try aggregation if it's a unicast data frame
* and the destination is HT capable.
* and the destination is HT capable.
...
...
drivers/net/wireless/b43/b43.h
View file @
044c18c9
...
@@ -115,6 +115,7 @@
...
@@ -115,6 +115,7 @@
#define B43_MMIO_TSF_2 0x636
/* core rev < 3 only */
#define B43_MMIO_TSF_2 0x636
/* core rev < 3 only */
#define B43_MMIO_TSF_3 0x638
/* core rev < 3 only */
#define B43_MMIO_TSF_3 0x638
/* core rev < 3 only */
#define B43_MMIO_RNG 0x65A
#define B43_MMIO_RNG 0x65A
#define B43_MMIO_IFSSLOT 0x684
/* Interframe slot time */
#define B43_MMIO_IFSCTL 0x688
/* Interframe space control */
#define B43_MMIO_IFSCTL 0x688
/* Interframe space control */
#define B43_MMIO_IFSCTL_USE_EDCF 0x0004
#define B43_MMIO_IFSCTL_USE_EDCF 0x0004
#define B43_MMIO_POWERUP_DELAY 0x6A8
#define B43_MMIO_POWERUP_DELAY 0x6A8
...
...
drivers/net/wireless/b43/main.c
View file @
044c18c9
...
@@ -628,10 +628,17 @@ static void b43_upload_card_macaddress(struct b43_wldev *dev)
...
@@ -628,10 +628,17 @@ static void b43_upload_card_macaddress(struct b43_wldev *dev)
static
void
b43_set_slot_time
(
struct
b43_wldev
*
dev
,
u16
slot_time
)
static
void
b43_set_slot_time
(
struct
b43_wldev
*
dev
,
u16
slot_time
)
{
{
/* slot_time is in usec. */
/* slot_time is in usec. */
if
(
dev
->
phy
.
type
!=
B43_PHYTYPE_G
)
/* This test used to exit for all but a G PHY. */
if
(
b43_current_band
(
dev
->
wl
)
==
IEEE80211_BAND_5GHZ
)
return
;
return
;
b43_write16
(
dev
,
0x684
,
510
+
slot_time
);
b43_write16
(
dev
,
B43_MMIO_IFSSLOT
,
510
+
slot_time
);
b43_shm_write16
(
dev
,
B43_SHM_SHARED
,
0x0010
,
slot_time
);
/* Shared memory location 0x0010 is the slot time and should be
* set to slot_time; however, this register is initially 0 and changing
* the value adversely affects the transmit rate for BCM4311
* devices. Until this behavior is unterstood, delete this step
*
* b43_shm_write16(dev, B43_SHM_SHARED, 0x0010, slot_time);
*/
}
}
static
void
b43_short_slot_timing_enable
(
struct
b43_wldev
*
dev
)
static
void
b43_short_slot_timing_enable
(
struct
b43_wldev
*
dev
)
...
...
drivers/net/wireless/iwlwifi/iwl-core.c
View file @
044c18c9
...
@@ -2744,6 +2744,7 @@ int iwl_mac_config(struct ieee80211_hw *hw, u32 changed)
...
@@ -2744,6 +2744,7 @@ int iwl_mac_config(struct ieee80211_hw *hw, u32 changed)
if
((
le16_to_cpu
(
priv
->
staging_rxon
.
channel
)
!=
ch
))
if
((
le16_to_cpu
(
priv
->
staging_rxon
.
channel
)
!=
ch
))
priv
->
staging_rxon
.
flags
=
0
;
priv
->
staging_rxon
.
flags
=
0
;
iwl_set_rxon_ht
(
priv
,
ht_conf
);
iwl_set_rxon_channel
(
priv
,
conf
->
channel
);
iwl_set_rxon_channel
(
priv
,
conf
->
channel
);
iwl_set_flags_for_band
(
priv
,
conf
->
channel
->
band
);
iwl_set_flags_for_band
(
priv
,
conf
->
channel
->
band
);
...
...
drivers/net/wireless/iwmc3200wifi/rx.c
View file @
044c18c9
...
@@ -794,7 +794,7 @@ static int iwm_mlme_update_bss_table(struct iwm_priv *iwm, u8 *buf,
...
@@ -794,7 +794,7 @@ static int iwm_mlme_update_bss_table(struct iwm_priv *iwm, u8 *buf,
}
}
bss
->
bss
=
kzalloc
(
bss_len
,
GFP_KERNEL
);
bss
->
bss
=
kzalloc
(
bss_len
,
GFP_KERNEL
);
if
(
!
bss
)
{
if
(
!
bss
->
bss
)
{
kfree
(
bss
);
kfree
(
bss
);
IWM_ERR
(
iwm
,
"Couldn't allocate bss
\n
"
);
IWM_ERR
(
iwm
,
"Couldn't allocate bss
\n
"
);
return
-
ENOMEM
;
return
-
ENOMEM
;
...
...
drivers/net/wireless/rtl818x/rtl8187_dev.c
View file @
044c18c9
...
@@ -65,6 +65,7 @@ static struct usb_device_id rtl8187_table[] __devinitdata = {
...
@@ -65,6 +65,7 @@ static struct usb_device_id rtl8187_table[] __devinitdata = {
/* Sitecom */
/* Sitecom */
{
USB_DEVICE
(
0x0df6
,
0x000d
),
.
driver_info
=
DEVICE_RTL8187
},
{
USB_DEVICE
(
0x0df6
,
0x000d
),
.
driver_info
=
DEVICE_RTL8187
},
{
USB_DEVICE
(
0x0df6
,
0x0028
),
.
driver_info
=
DEVICE_RTL8187B
},
{
USB_DEVICE
(
0x0df6
,
0x0028
),
.
driver_info
=
DEVICE_RTL8187B
},
{
USB_DEVICE
(
0x0df6
,
0x0029
),
.
driver_info
=
DEVICE_RTL8187B
},
/* Sphairon Access Systems GmbH */
/* Sphairon Access Systems GmbH */
{
USB_DEVICE
(
0x114B
,
0x0150
),
.
driver_info
=
DEVICE_RTL8187
},
{
USB_DEVICE
(
0x114B
,
0x0150
),
.
driver_info
=
DEVICE_RTL8187
},
/* Dick Smith Electronics */
/* Dick Smith Electronics */
...
...
drivers/ssb/main.c
View file @
044c18c9
...
@@ -494,8 +494,7 @@ static int ssb_devices_register(struct ssb_bus *bus)
...
@@ -494,8 +494,7 @@ static int ssb_devices_register(struct ssb_bus *bus)
#endif
#endif
break
;
break
;
case
SSB_BUSTYPE_SDIO
:
case
SSB_BUSTYPE_SDIO
:
#ifdef CONFIG_SSB_SDIO
#ifdef CONFIG_SSB_SDIOHOST
sdev
->
irq
=
bus
->
host_sdio
->
dev
.
irq
;
dev
->
parent
=
&
bus
->
host_sdio
->
dev
;
dev
->
parent
=
&
bus
->
host_sdio
->
dev
;
#endif
#endif
break
;
break
;
...
...
net/mac80211/ibss.c
View file @
044c18c9
...
@@ -647,7 +647,7 @@ static void ieee80211_rx_mgmt_probe_req(struct ieee80211_sub_if_data *sdata,
...
@@ -647,7 +647,7 @@ static void ieee80211_rx_mgmt_probe_req(struct ieee80211_sub_if_data *sdata,
}
}
if
(
pos
[
1
]
!=
0
&&
if
(
pos
[
1
]
!=
0
&&
(
pos
[
1
]
!=
ifibss
->
ssid_len
||
(
pos
[
1
]
!=
ifibss
->
ssid_len
||
!
memcmp
(
pos
+
2
,
ifibss
->
ssid
,
ifibss
->
ssid_len
)))
{
memcmp
(
pos
+
2
,
ifibss
->
ssid
,
ifibss
->
ssid_len
)))
{
/* Ignore ProbeReq for foreign SSID */
/* Ignore ProbeReq for foreign SSID */
return
;
return
;
}
}
...
...
net/mac80211/scan.c
View file @
044c18c9
...
@@ -439,6 +439,16 @@ static int __ieee80211_start_scan(struct ieee80211_sub_if_data *sdata,
...
@@ -439,6 +439,16 @@ static int __ieee80211_start_scan(struct ieee80211_sub_if_data *sdata,
if
(
local
->
scan_req
)
if
(
local
->
scan_req
)
return
-
EBUSY
;
return
-
EBUSY
;
if
(
req
!=
local
->
int_scan_req
&&
sdata
->
vif
.
type
==
NL80211_IFTYPE_STATION
&&
!
list_empty
(
&
ifmgd
->
work_list
))
{
/* actually wait for the work it's doing to finish/time out */
set_bit
(
IEEE80211_STA_REQ_SCAN
,
&
ifmgd
->
request
);
local
->
scan_req
=
req
;
local
->
scan_sdata
=
sdata
;
return
0
;
}
if
(
local
->
ops
->
hw_scan
)
{
if
(
local
->
ops
->
hw_scan
)
{
u8
*
ies
;
u8
*
ies
;
...
@@ -463,14 +473,6 @@ static int __ieee80211_start_scan(struct ieee80211_sub_if_data *sdata,
...
@@ -463,14 +473,6 @@ static int __ieee80211_start_scan(struct ieee80211_sub_if_data *sdata,
local
->
scan_req
=
req
;
local
->
scan_req
=
req
;
local
->
scan_sdata
=
sdata
;
local
->
scan_sdata
=
sdata
;
if
(
req
!=
local
->
int_scan_req
&&
sdata
->
vif
.
type
==
NL80211_IFTYPE_STATION
&&
!
list_empty
(
&
ifmgd
->
work_list
))
{
/* actually wait for the work it's doing to finish/time out */
set_bit
(
IEEE80211_STA_REQ_SCAN
,
&
ifmgd
->
request
);
return
0
;
}
if
(
local
->
ops
->
hw_scan
)
if
(
local
->
ops
->
hw_scan
)
__set_bit
(
SCAN_HW_SCANNING
,
&
local
->
scanning
);
__set_bit
(
SCAN_HW_SCANNING
,
&
local
->
scanning
);
else
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment