diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-02-03 11:31:47 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-06 14:56:03 -0500 |
commit | d1e14e942430cd42df9913337aebbcaef53e4515 (patch) | |
tree | 2cc7d80fefa80258c624d5492e4b1023f2fba02c /drivers/net | |
parent | 6aa0c25435e6383d4a4af88fae8d128200dcd471 (diff) |
iwlegacy: get rid of mcast_queue
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965-mac.c | 17 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/common.h | 3 |
2 files changed, 4 insertions, 16 deletions
diff --git a/drivers/net/wireless/iwlegacy/4965-mac.c b/drivers/net/wireless/iwlegacy/4965-mac.c index 3209970cf45f..ecb7b542b96c 100644 --- a/drivers/net/wireless/iwlegacy/4965-mac.c +++ b/drivers/net/wireless/iwlegacy/4965-mac.c | |||
@@ -1708,19 +1708,10 @@ il4965_tx_skb(struct il_priv *il, struct sk_buff *skb) | |||
1708 | il4965_sta_modify_sleep_tx_count(il, sta_id, 1); | 1708 | il4965_sta_modify_sleep_tx_count(il, sta_id, 1); |
1709 | } | 1709 | } |
1710 | 1710 | ||
1711 | /* | 1711 | /* FIXME: remove me ? */ |
1712 | * Send this frame after DTIM -- there's a special queue | 1712 | WARN_ON_ONCE(info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM); |
1713 | * reserved for this for contexts that support AP mode. | 1713 | |
1714 | */ | 1714 | txq_id = ctx->ac_to_queue[skb_get_queue_mapping(skb)]; |
1715 | if (info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM) { | ||
1716 | txq_id = ctx->mcast_queue; | ||
1717 | /* | ||
1718 | * The microcode will clear the more data | ||
1719 | * bit in the last frame it transmits. | ||
1720 | */ | ||
1721 | hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_MOREDATA); | ||
1722 | } else | ||
1723 | txq_id = ctx->ac_to_queue[skb_get_queue_mapping(skb)]; | ||
1724 | 1715 | ||
1725 | /* irqs already disabled/saved above when locking il->lock */ | 1716 | /* irqs already disabled/saved above when locking il->lock */ |
1726 | spin_lock(&il->sta_lock); | 1717 | spin_lock(&il->sta_lock); |
diff --git a/drivers/net/wireless/iwlegacy/common.h b/drivers/net/wireless/iwlegacy/common.h index 8df2286ea05f..89922e0a70da 100644 --- a/drivers/net/wireless/iwlegacy/common.h +++ b/drivers/net/wireless/iwlegacy/common.h | |||
@@ -1157,7 +1157,6 @@ struct il_rxon_context { | |||
1157 | 1157 | ||
1158 | const u8 *ac_to_fifo; | 1158 | const u8 *ac_to_fifo; |
1159 | const u8 *ac_to_queue; | 1159 | const u8 *ac_to_queue; |
1160 | u8 mcast_queue; | ||
1161 | 1160 | ||
1162 | /* | 1161 | /* |
1163 | * We could use the vif to indicate active, but we | 1162 | * We could use the vif to indicate active, but we |
@@ -1166,8 +1165,6 @@ struct il_rxon_context { | |||
1166 | */ | 1165 | */ |
1167 | bool always_active, is_active; | 1166 | bool always_active, is_active; |
1168 | 1167 | ||
1169 | bool ht_need_multiple_chains; | ||
1170 | |||
1171 | u32 interface_modes, exclusive_interface_modes; | 1168 | u32 interface_modes, exclusive_interface_modes; |
1172 | 1169 | ||
1173 | struct il_qos_info qos_data; | 1170 | struct il_qos_info qos_data; |