Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157152502
D48006.id147747.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
761 B
Referenced Files
None
Subscribers
None
D48006.id147747.diff
View Options
diff --git a/sys/dev/rtwn/rtl8192c/r92c_fw.c b/sys/dev/rtwn/rtl8192c/r92c_fw.c
--- a/sys/dev/rtwn/rtl8192c/r92c_fw.c
+++ b/sys/dev/rtwn/rtl8192c/r92c_fw.c
@@ -196,6 +196,7 @@
{
struct ieee80211_htrateset *rs_ht;
struct ieee80211_node *ni;
+ struct rtwn_node *un;
uint32_t rates, htrates;
int maxrate;
@@ -208,6 +209,7 @@
}
ni = ieee80211_ref_node(sc->node_list[macid]);
+ un = RTWN_NODE(ni);
if (ni->ni_flags & IEEE80211_NODE_HT)
rs_ht = &ni->ni_htrates;
else
@@ -217,6 +219,8 @@
* firmware; and for this chipset 2-stream 11n support is enough.
*/
rtwn_get_rates(sc, &ni->ni_rates, rs_ht, &rates, &htrates, &maxrate, 0);
+ un->rate_mask = rates;
+ un->ht_rate_mask = htrates;
RTWN_NT_UNLOCK(sc);
#ifndef RTWN_WITHOUT_UCODE
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 19, 7:55 PM (7 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33326678
Default Alt Text
D48006.id147747.diff (761 B)
Attached To
Mode
D48006: rtwn: cache the legacy and HT rates in the node
Attached
Detach File
Event Timeline
Log In to Comment