Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132551931
D47938.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D47938.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
@@ -170,30 +170,6 @@
uint8_t mode;
int error = 0;
- /* XXX should be called directly from iv_newstate() for MACID_BC */
- /* XXX joinbss, not send_ra_cmd() */
-#ifdef RTWN_TODO
- /* NB: group addressed frames are done at 11bg rates for now */
- if (ic->ic_curmode == IEEE80211_MODE_11B)
- mode = R92C_RAID_11B;
- else
- mode = R92C_RAID_11BG;
- /* XXX misleading 'mode' value here for unicast frames */
- RTWN_DPRINTF(sc, RTWN_DEBUG_RA,
- "%s: mode 0x%x, rates 0x%08x, basicrates 0x%08x\n", __func__,
- mode, rates, basicrates);
-
- /* Set rates mask for group addressed frames. */
- cmd.macid = RTWN_MACID_BC | R92C_CMD_MACID_VALID;
- cmd.mask = htole32(mode << 28 | basicrates);
- error = rtwn_fw_cmd(sc, R92C_CMD_MACID_CONFIG, &cmd, sizeof(cmd));
- if (error != 0) {
- device_printf(sc->sc_dev,
- "could not set RA mask for broadcast station\n");
- return (error);
- }
-#endif
-
/* Set rates mask for unicast frames. */
if (RTWN_RATE_IS_HT(maxrate))
mode = R92C_RAID_11GN;
@@ -283,7 +259,6 @@
end:
#endif
- /* TODO: init rates for RTWN_MACID_BC. */
if (macid & RTWN_MACID_VALID)
r92c_init_ra(sc, macid & ~RTWN_MACID_VALID);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 18, 10:09 PM (11 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23896355
Default Alt Text
D47938.diff (1 KB)
Attached To
Mode
D47938: rtwn: remove unused rate configuration code for management traffic.
Attached
Detach File
Event Timeline
Log In to Comment