aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-12-11 16:04:03 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-12-11 16:04:03 -0500
commitc66cfd5325bb215a251f4685fac8718b1da33197 (patch)
tree7c8ed5289c4a99ffcd2588ac48b5a512312a375b /drivers/net/wireless
parentecbbec2eb093d2ef205de371af986f0360fca539 (diff)
parent8acbcddb5fb3a1dc081defe51b6ac42a7ab0b398 (diff)
Merge branch 'for-john' of git://git.sipsolutions.net/mac80211-next
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt2800lib.c3
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00dev.c7
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 8a61dbd320e6..ff9085502bea 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -2223,7 +2223,7 @@ static int __init init_mac80211_hwsim(void)
2223 IEEE80211_VHT_CAP_RXSTBC_2 | 2223 IEEE80211_VHT_CAP_RXSTBC_2 |
2224 IEEE80211_VHT_CAP_RXSTBC_3 | 2224 IEEE80211_VHT_CAP_RXSTBC_3 |
2225 IEEE80211_VHT_CAP_RXSTBC_4 | 2225 IEEE80211_VHT_CAP_RXSTBC_4 |
2226 IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT; 2226 IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MASK;
2227 sband->vht_cap.vht_mcs.rx_mcs_map = 2227 sband->vht_cap.vht_mcs.rx_mcs_map =
2228 cpu_to_le16(IEEE80211_VHT_MCS_SUPPORT_0_8 << 0 | 2228 cpu_to_le16(IEEE80211_VHT_MCS_SUPPORT_0_8 << 0 |
2229 IEEE80211_VHT_MCS_SUPPORT_0_8 << 2 | 2229 IEEE80211_VHT_MCS_SUPPORT_0_8 << 2 |
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c
index d4d0c3664eb2..197b4466a5d2 100644
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
@@ -5090,7 +5090,8 @@ static int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
5090 IEEE80211_HW_SUPPORTS_PS | 5090 IEEE80211_HW_SUPPORTS_PS |
5091 IEEE80211_HW_PS_NULLFUNC_STACK | 5091 IEEE80211_HW_PS_NULLFUNC_STACK |
5092 IEEE80211_HW_AMPDU_AGGREGATION | 5092 IEEE80211_HW_AMPDU_AGGREGATION |
5093 IEEE80211_HW_REPORTS_TX_ACK_STATUS; 5093 IEEE80211_HW_REPORTS_TX_ACK_STATUS |
5094 IEEE80211_HW_TEARDOWN_AGGR_ON_BAR_FAIL;
5094 5095
5095 /* 5096 /*
5096 * Don't set IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING for USB devices 5097 * Don't set IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING for USB devices
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c
index 3248b4224c4e..4ffb6a584cd0 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -392,10 +392,9 @@ void rt2x00lib_txdone(struct queue_entry *entry,
392 tx_info->flags |= IEEE80211_TX_STAT_AMPDU; 392 tx_info->flags |= IEEE80211_TX_STAT_AMPDU;
393 tx_info->status.ampdu_len = 1; 393 tx_info->status.ampdu_len = 1;
394 tx_info->status.ampdu_ack_len = success ? 1 : 0; 394 tx_info->status.ampdu_ack_len = success ? 1 : 0;
395 /* 395
396 * TODO: Need to tear down BA session here 396 if (!success)
397 * if not successful. 397 tx_info->flags |= IEEE80211_TX_STAT_AMPDU_NO_BACK;
398 */
399 } 398 }
400 399
401 if (rate_flags & IEEE80211_TX_RC_USE_RTS_CTS) { 400 if (rate_flags & IEEE80211_TX_RC_USE_RTS_CTS) {