Skip to content

Commit d2daeab

Browse files
committed
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
2 parents c3b8542 + 1ce822f commit d2daeab

19 files changed

Lines changed: 48 additions & 17 deletions

File tree

‎Documentation/DocBook/mac80211.tmpl‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ usage should require reading the full document.
184184
!Finclude/net/mac80211.h ieee80211_ctstoself_get
185185
!Finclude/net/mac80211.h ieee80211_ctstoself_duration
186186
!Finclude/net/mac80211.h ieee80211_generic_frame_duration
187-
!Finclude/net/mac80211.h ieee80211_get_hdrlen_from_skb
188-
!Finclude/net/mac80211.h ieee80211_hdrlen
189187
!Finclude/net/mac80211.h ieee80211_wake_queue
190188
!Finclude/net/mac80211.h ieee80211_stop_queue
191189
!Finclude/net/mac80211.h ieee80211_wake_queues

‎drivers/net/wireless/ath/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
config ATH_COMMON
22
tristate "Atheros Wireless Cards"
3+
depends on WLAN_80211
34
depends on ATH5K || ATH9K || AR9170_USB
45

56
source "drivers/net/wireless/ath/ath5k/Kconfig"

‎drivers/net/wireless/ath/ath9k/xmit.c‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,14 @@ static void ath_tx_complete_aggr(struct ath_softc *sc, struct ath_txq *txq,
355355
}
356356

357357
if (bf_next == NULL) {
358-
INIT_LIST_HEAD(&bf_head);
358+
/*
359+
* Make sure the last desc is reclaimed if it
360+
* not a holding desc.
361+
*/
362+
if (!bf_last->bf_stale)
363+
list_move_tail(&bf->list, &bf_head);
364+
else
365+
INIT_LIST_HEAD(&bf_head);
359366
} else {
360367
ASSERT(!list_empty(bf_q));
361368
list_move_tail(&bf->list, &bf_head);

‎drivers/net/wireless/b43/b43.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ struct b43_wl {
648648
u8 nr_devs;
649649

650650
bool radiotap_enabled;
651+
bool radio_enabled;
651652

652653
/* The beacon we are currently using (AP or IBSS mode).
653654
* This beacon stuff is protected by the irq_lock. */

‎drivers/net/wireless/b43/main.c‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3497,8 +3497,8 @@ static int b43_op_config(struct ieee80211_hw *hw, u32 changed)
34973497
if (phy->ops->set_rx_antenna)
34983498
phy->ops->set_rx_antenna(dev, antenna);
34993499

3500-
if (!!conf->radio_enabled != phy->radio_on) {
3501-
if (conf->radio_enabled) {
3500+
if (wl->radio_enabled != phy->radio_on) {
3501+
if (wl->radio_enabled) {
35023502
b43_software_rfkill(dev, false);
35033503
b43info(dev->wl, "Radio turned on by software\n");
35043504
if (!dev->radio_hw_enable) {
@@ -4339,6 +4339,7 @@ static int b43_op_start(struct ieee80211_hw *hw)
43394339
wl->beacon0_uploaded = 0;
43404340
wl->beacon1_uploaded = 0;
43414341
wl->beacon_templates_virgin = 1;
4342+
wl->radio_enabled = 1;
43424343

43434344
mutex_lock(&wl->mutex);
43444345

@@ -4378,6 +4379,7 @@ static void b43_op_stop(struct ieee80211_hw *hw)
43784379
if (b43_status(dev) >= B43_STAT_STARTED)
43794380
b43_wireless_core_stop(dev);
43804381
b43_wireless_core_exit(dev);
4382+
wl->radio_enabled = 0;
43814383
mutex_unlock(&wl->mutex);
43824384

43834385
cancel_work_sync(&(wl->txpower_adjust_work));
@@ -4560,6 +4562,7 @@ static int b43_wireless_core_attach(struct b43_wldev *dev)
45604562
B43_WARN_ON(1);
45614563

45624564
dev->phy.gmode = have_2ghz_phy;
4565+
dev->phy.radio_on = 1;
45634566
tmp = dev->phy.gmode ? B43_TMSLOW_GMODE : 0;
45644567
b43_wireless_core_reset(dev, tmp);
45654568

‎drivers/net/wireless/b43/pcmcia.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
static /*const */ struct pcmcia_device_id b43_pcmcia_tbl[] = {
3737
PCMCIA_DEVICE_MANF_CARD(0x2D0, 0x448),
38+
PCMCIA_DEVICE_MANF_CARD(0x2D0, 0x476),
3839
PCMCIA_DEVICE_NULL,
3940
};
4041

‎drivers/net/wireless/b43legacy/b43legacy.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ struct b43legacy_wl {
607607
u8 nr_devs;
608608

609609
bool radiotap_enabled;
610+
bool radio_enabled;
610611

611612
/* The beacon we are currently using (AP or IBSS mode).
612613
* This beacon stuff is protected by the irq_lock. */

‎drivers/net/wireless/b43legacy/main.c‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2689,8 +2689,8 @@ static int b43legacy_op_dev_config(struct ieee80211_hw *hw,
26892689
/* Antennas for RX and management frame TX. */
26902690
b43legacy_mgmtframe_txantenna(dev, antenna_tx);
26912691

2692-
if (!!conf->radio_enabled != phy->radio_on) {
2693-
if (conf->radio_enabled) {
2692+
if (wl->radio_enabled != phy->radio_on) {
2693+
if (wl->radio_enabled) {
26942694
b43legacy_radio_turn_on(dev);
26952695
b43legacyinfo(dev->wl, "Radio turned on by software\n");
26962696
if (!dev->radio_hw_enable)
@@ -3441,6 +3441,7 @@ static int b43legacy_op_start(struct ieee80211_hw *hw)
34413441
wl->beacon0_uploaded = 0;
34423442
wl->beacon1_uploaded = 0;
34433443
wl->beacon_templates_virgin = 1;
3444+
wl->radio_enabled = 1;
34443445

34453446
mutex_lock(&wl->mutex);
34463447

@@ -3479,6 +3480,7 @@ static void b43legacy_op_stop(struct ieee80211_hw *hw)
34793480
if (b43legacy_status(dev) >= B43legacy_STAT_STARTED)
34803481
b43legacy_wireless_core_stop(dev);
34813482
b43legacy_wireless_core_exit(dev);
3483+
wl->radio_enabled = 0;
34823484
mutex_unlock(&wl->mutex);
34833485
}
34843486

@@ -3620,6 +3622,7 @@ static int b43legacy_wireless_core_attach(struct b43legacy_wldev *dev)
36203622
have_bphy = 1;
36213623

36223624
dev->phy.gmode = (have_gphy || have_bphy);
3625+
dev->phy.radio_on = 1;
36233626
tmp = dev->phy.gmode ? B43legacy_TMSLOW_GMODE : 0;
36243627
b43legacy_wireless_core_reset(dev, tmp);
36253628

‎drivers/net/wireless/iwmc3200wifi/Kconfig‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ config IWM
44
depends on CFG80211
55
select WIRELESS_EXT
66
select FW_LOADER
7+
help
8+
The Intel Wireless Multicomm 3200 hardware is a combo
9+
card with GPS, Bluetooth, WiMax and 802.11 radios. It
10+
runs over SDIO and is typically found on Moorestown
11+
based platform. This driver takes care of the 802.11
12+
part, which is a fullmac one.
13+
14+
If you choose to build it as a module, it'll be called
15+
iwmc3200wifi.ko.
716

817
config IWM_DEBUG
918
bool "Enable full debugging output in iwmc3200wifi"

‎drivers/net/wireless/mac80211_hwsim.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ static bool mac80211_hwsim_tx_frame(struct ieee80211_hw *hw,
418418
continue;
419419

420420
if (!data2->started || !hwsim_ps_rx_ok(data2, skb) ||
421+
!data->channel || !data2->channel ||
421422
data->channel->center_freq != data2->channel->center_freq ||
422423
!(data->group & data2->group))
423424
continue;

0 commit comments

Comments
 (0)