diff options
author | Seth Forshee <seth.forshee@canonical.com> | 2012-11-15 09:08:12 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-11-20 14:08:19 -0500 |
commit | 9242c7261b8c05de71fb83f2fa7a299691c66977 (patch) | |
tree | 3bf255fea914a39f32a1bb17ee74d069efd7141e | |
parent | 0c9a0a1dd145a3078ff50c50b2d20de6b46f5e62 (diff) |
brcmsmac: Remove some noisy and uninformative debug messages
These messages clutter up the trace buffer without adding any useful
information.
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Tested-by: Daniel Wagner <wagi@monom.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/dma.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/main.c | 25 |
2 files changed, 0 insertions, 27 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/dma.c b/drivers/net/wireless/brcm80211/brcmsmac/dma.c index 0f44bd9dce3f..511e45775c33 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/dma.c +++ b/drivers/net/wireless/brcm80211/brcmsmac/dma.c | |||
@@ -1377,8 +1377,6 @@ int dma_txfast(struct brcms_c_info *wlc, struct dma_pub *pub, | |||
1377 | struct ieee80211_tx_info *tx_info; | 1377 | struct ieee80211_tx_info *tx_info; |
1378 | bool is_ampdu; | 1378 | bool is_ampdu; |
1379 | 1379 | ||
1380 | brcms_dbg_dma(di->core, "%s:\n", di->name); | ||
1381 | |||
1382 | /* no use to transmit a zero length packet */ | 1380 | /* no use to transmit a zero length packet */ |
1383 | if (p->len == 0) | 1381 | if (p->len == 0) |
1384 | return 0; | 1382 | return 0; |
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c b/drivers/net/wireless/brcm80211/brcmsmac/main.c index 241bc2551235..50c87d011a40 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/main.c +++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c | |||
@@ -647,10 +647,6 @@ static uint brcms_c_calc_frame_time(struct brcms_c_info *wlc, u32 ratespec, | |||
647 | rate = BRCM_RATE_1M; | 647 | rate = BRCM_RATE_1M; |
648 | } | 648 | } |
649 | 649 | ||
650 | brcms_dbg_mac80211(wlc->hw->d11core, | ||
651 | "wl%d: rspec 0x%x, preamble_type %d, len%d\n", | ||
652 | wlc->pub->unit, ratespec, preamble_type, mac_len); | ||
653 | |||
654 | if (is_mcs_rate(ratespec)) { | 650 | if (is_mcs_rate(ratespec)) { |
655 | uint mcs = ratespec & RSPEC_RATE_MASK; | 651 | uint mcs = ratespec & RSPEC_RATE_MASK; |
656 | int tot_streams = mcs_2_txstreams(mcs) + rspec_stc(ratespec); | 652 | int tot_streams = mcs_2_txstreams(mcs) + rspec_stc(ratespec); |
@@ -4943,8 +4939,6 @@ uint brcms_c_detach(struct brcms_c_info *wlc) | |||
4943 | if (wlc == NULL) | 4939 | if (wlc == NULL) |
4944 | return 0; | 4940 | return 0; |
4945 | 4941 | ||
4946 | BCMMSG(wlc->wiphy, "wl%d\n", wlc->pub->unit); | ||
4947 | |||
4948 | callbacks += brcms_b_detach(wlc); | 4942 | callbacks += brcms_b_detach(wlc); |
4949 | 4943 | ||
4950 | /* delete software timers */ | 4944 | /* delete software timers */ |
@@ -5778,9 +5772,6 @@ brcms_c_calc_ack_time(struct brcms_c_info *wlc, u32 rspec, | |||
5778 | { | 5772 | { |
5779 | uint dur = 0; | 5773 | uint dur = 0; |
5780 | 5774 | ||
5781 | brcms_dbg_mac80211(wlc->hw->d11core, | ||
5782 | "wl%d: rspec 0x%x, preamble_type %d\n", | ||
5783 | wlc->pub->unit, rspec, preamble_type); | ||
5784 | /* | 5775 | /* |
5785 | * Spec 9.6: ack rate is the highest rate in BSSBasicRateSet that | 5776 | * Spec 9.6: ack rate is the highest rate in BSSBasicRateSet that |
5786 | * is less than or equal to the rate of the immediately previous | 5777 | * is less than or equal to the rate of the immediately previous |
@@ -5798,9 +5789,6 @@ static uint | |||
5798 | brcms_c_calc_cts_time(struct brcms_c_info *wlc, u32 rspec, | 5789 | brcms_c_calc_cts_time(struct brcms_c_info *wlc, u32 rspec, |
5799 | u8 preamble_type) | 5790 | u8 preamble_type) |
5800 | { | 5791 | { |
5801 | brcms_dbg_mac80211(wlc->hw->d11core, | ||
5802 | "wl%d: ratespec 0x%x, preamble_type %d\n", | ||
5803 | wlc->pub->unit, rspec, preamble_type); | ||
5804 | return brcms_c_calc_ack_time(wlc, rspec, preamble_type); | 5792 | return brcms_c_calc_ack_time(wlc, rspec, preamble_type); |
5805 | } | 5793 | } |
5806 | 5794 | ||
@@ -5808,9 +5796,6 @@ static uint | |||
5808 | brcms_c_calc_ba_time(struct brcms_c_info *wlc, u32 rspec, | 5796 | brcms_c_calc_ba_time(struct brcms_c_info *wlc, u32 rspec, |
5809 | u8 preamble_type) | 5797 | u8 preamble_type) |
5810 | { | 5798 | { |
5811 | brcms_dbg_mac80211(wlc->hw->d11core, | ||
5812 | "wl%d: rspec 0x%x, preamble_type %d\n", | ||
5813 | wlc->pub->unit, rspec, preamble_type); | ||
5814 | /* | 5799 | /* |
5815 | * Spec 9.6: ack rate is the highest rate in BSSBasicRateSet that | 5800 | * Spec 9.6: ack rate is the highest rate in BSSBasicRateSet that |
5816 | * is less than or equal to the rate of the immediately previous | 5801 | * is less than or equal to the rate of the immediately previous |
@@ -5864,10 +5849,6 @@ brcms_c_calc_frame_len(struct brcms_c_info *wlc, u32 ratespec, | |||
5864 | uint nsyms, mac_len, Ndps, kNdps; | 5849 | uint nsyms, mac_len, Ndps, kNdps; |
5865 | uint rate = rspec2rate(ratespec); | 5850 | uint rate = rspec2rate(ratespec); |
5866 | 5851 | ||
5867 | brcms_dbg_mac80211(wlc->hw->d11core, | ||
5868 | "wl%d: rspec 0x%x, preamble_type %d, dur %d\n", | ||
5869 | wlc->pub->unit, ratespec, preamble_type, dur); | ||
5870 | |||
5871 | if (is_mcs_rate(ratespec)) { | 5852 | if (is_mcs_rate(ratespec)) { |
5872 | uint mcs = ratespec & RSPEC_RATE_MASK; | 5853 | uint mcs = ratespec & RSPEC_RATE_MASK; |
5873 | int tot_streams = mcs_2_txstreams(mcs) + rspec_stc(ratespec); | 5854 | int tot_streams = mcs_2_txstreams(mcs) + rspec_stc(ratespec); |
@@ -7272,9 +7253,6 @@ brcms_c_calc_lsig_len(struct brcms_c_info *wlc, u32 ratespec, | |||
7272 | { | 7253 | { |
7273 | uint nsyms, len = 0, kNdps; | 7254 | uint nsyms, len = 0, kNdps; |
7274 | 7255 | ||
7275 | brcms_dbg_mac80211(wlc->hw->d11core, "wl%d: rate %d, len%d\n", | ||
7276 | wlc->pub->unit, rspec2rate(ratespec), mac_len); | ||
7277 | |||
7278 | if (is_mcs_rate(ratespec)) { | 7256 | if (is_mcs_rate(ratespec)) { |
7279 | uint mcs = ratespec & RSPEC_RATE_MASK; | 7257 | uint mcs = ratespec & RSPEC_RATE_MASK; |
7280 | int tot_streams = (mcs_2_txstreams(mcs) + 1) + | 7258 | int tot_streams = (mcs_2_txstreams(mcs) + 1) + |
@@ -7628,8 +7606,6 @@ static void brcms_c_recv(struct brcms_c_info *wlc, struct sk_buff *p) | |||
7628 | uint len; | 7606 | uint len; |
7629 | bool is_amsdu; | 7607 | bool is_amsdu; |
7630 | 7608 | ||
7631 | brcms_dbg_rx(wlc->hw->d11core, "wl%d\n", wlc->pub->unit); | ||
7632 | |||
7633 | /* frame starts with rxhdr */ | 7609 | /* frame starts with rxhdr */ |
7634 | rxh = (struct d11rxhdr *) (p->data); | 7610 | rxh = (struct d11rxhdr *) (p->data); |
7635 | 7611 | ||
@@ -7686,7 +7662,6 @@ brcms_b_recv(struct brcms_hardware *wlc_hw, uint fifo, bool bound) | |||
7686 | uint n = 0; | 7662 | uint n = 0; |
7687 | uint bound_limit = bound ? RXBND : -1; | 7663 | uint bound_limit = bound ? RXBND : -1; |
7688 | 7664 | ||
7689 | brcms_dbg_rx(wlc_hw->d11core, "wl%d\n", wlc_hw->unit); | ||
7690 | skb_queue_head_init(&recv_frames); | 7665 | skb_queue_head_init(&recv_frames); |
7691 | 7666 | ||
7692 | /* gather received frames */ | 7667 | /* gather received frames */ |