diff options
author | Kalle Valo <kvalo@codeaurora.org> | 2015-01-22 07:49:44 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-22 07:49:44 -0500 |
commit | 6b03e32d575917d048875a182bd2dd8924036000 (patch) | |
tree | 634b311d02423f2c1138e06be53d1842902bc28b /drivers/net/wireless/ath/ath5k | |
parent | bc48a51c2a29e231256c2f96daf80c2b7a45f390 (diff) | |
parent | c1e140bf79d817d4a7aa9932eb98b0359c87af33 (diff) |
Merge commit 'c1e140bf79d817d4a7aa9932eb98b0359c87af33' from mac80211-next
Patch "ath9k: Fix no-ack frame status" needs these mac80211 patches:
commit 5cf16616e152dd5c274a65954c77f64892d025a8
Author: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Date: Wed Dec 10 21:26:11 2014 +0530
mac80211: Fix accounting of multicast frames
commit 6b127c71fbdd3daacfd8b9f80b8e6ebfb70a889e
Author: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Date: Wed Dec 10 21:26:10 2014 +0530
mac80211: Move IEEE80211_TX_CTL_PS_RESPONSE
Conflicts:
drivers/net/wireless/ath/wil6210/cfg80211.c
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c
Diffstat (limited to 'drivers/net/wireless/ath/ath5k')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/mac80211-ops.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath/ath5k/mac80211-ops.c b/drivers/net/wireless/ath/ath5k/mac80211-ops.c index 19eab2a69ad5..3b4a6463d87a 100644 --- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c +++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c | |||
@@ -672,10 +672,10 @@ ath5k_get_survey(struct ieee80211_hw *hw, int idx, struct survey_info *survey) | |||
672 | spin_lock_bh(&common->cc_lock); | 672 | spin_lock_bh(&common->cc_lock); |
673 | ath_hw_cycle_counters_update(common); | 673 | ath_hw_cycle_counters_update(common); |
674 | if (cc->cycles > 0) { | 674 | if (cc->cycles > 0) { |
675 | ah->survey.channel_time += cc->cycles / div; | 675 | ah->survey.time += cc->cycles / div; |
676 | ah->survey.channel_time_busy += cc->rx_busy / div; | 676 | ah->survey.time_busy += cc->rx_busy / div; |
677 | ah->survey.channel_time_rx += cc->rx_frame / div; | 677 | ah->survey.time_rx += cc->rx_frame / div; |
678 | ah->survey.channel_time_tx += cc->tx_frame / div; | 678 | ah->survey.time_tx += cc->tx_frame / div; |
679 | } | 679 | } |
680 | memset(cc, 0, sizeof(*cc)); | 680 | memset(cc, 0, sizeof(*cc)); |
681 | spin_unlock_bh(&common->cc_lock); | 681 | spin_unlock_bh(&common->cc_lock); |
@@ -686,10 +686,10 @@ ath5k_get_survey(struct ieee80211_hw *hw, int idx, struct survey_info *survey) | |||
686 | survey->noise = ah->ah_noise_floor; | 686 | survey->noise = ah->ah_noise_floor; |
687 | survey->filled = SURVEY_INFO_NOISE_DBM | | 687 | survey->filled = SURVEY_INFO_NOISE_DBM | |
688 | SURVEY_INFO_IN_USE | | 688 | SURVEY_INFO_IN_USE | |
689 | SURVEY_INFO_CHANNEL_TIME | | 689 | SURVEY_INFO_TIME | |
690 | SURVEY_INFO_CHANNEL_TIME_BUSY | | 690 | SURVEY_INFO_TIME_BUSY | |
691 | SURVEY_INFO_CHANNEL_TIME_RX | | 691 | SURVEY_INFO_TIME_RX | |
692 | SURVEY_INFO_CHANNEL_TIME_TX; | 692 | SURVEY_INFO_TIME_TX; |
693 | 693 | ||
694 | return 0; | 694 | return 0; |
695 | } | 695 | } |