Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 00:00:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-wireless@FreeBSD.org
Subject:   [Bug 192950] [iwn] Centrino Advanced-N 6205 slow on 11n, better on 11g
Message-ID:  <bug-192950-21060-IegUP82t0a@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192950-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192950-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192950

--- Comment #12 from Hiren Panchasara <hiren@FreeBSD.org> ---
Tried to follow the rabbit-hole to see where rate is coming from:

Index: if_iwn.c
===================================================================
--- if_iwn.c    (revision 269621)
+++ if_iwn.c    (working copy)
@@ -4281,6 +4281,8 @@
                rate = ni->ni_txrate;
        }

+       DPRINTF(sc, IWN_DEBUG_XMIT, "tx rate is: %d in %s \n", rate, __func__);
+
        /* Encrypt the frame if need be. */
        if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) {
                /* Retrieve key for TX. */

via this codepath:

ieee80211_set_basic_htrates() 
ieee80211_add_htinfo_body()
amrr_rate()
.ir_rate
ieee80211_ratectl_rate()
iwn_tx_data()

In the logs, I get:

Aug 24 16:59:35 flymockour-l7 kernel: tx rate is: 128 in iwn_tx_data

Which I think is:
807 #define IEEE80211_RATE_BASIC            0x80

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192950-21060-IegUP82t0a>