Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 12/20/2004 23:05:42
Module Name: src
Committed By: dyoung
Date: Mon Dec 20 23:05:42 UTC 2004
Modified Files:
src/sys/dev/ic: rtw.c rtwphyio.c rtwreg.h rtwvar.h
Log Message:
Realtek sample sources are not consistent about the "Digital PHY"
bit in the SROM. It seems as if it is set to 1 when the PHY is
*analog*, not *digital*. Fix my sources.
In rtw_intr_rx, use units of 500kb/s instead of 100kb/s for rate,
to be consistent with net80211's expectations. Polish up some
debugging ugly messages. Dump raw 802.11 packets if IFF_DEBUG|IFF_LINK2
and RTW_DEBUG is defined.
Polish power-state (on/sleep/off) handling. Especially improve
support for RFMD (totally untested) and Maxim. For Philips, take
the Digital PHY property into account.
Call the net80211 watchdog function from rtw_watchdog, so that we
scan again if auth/assoc fails.
Be a little more cautious about writing register[RTW_TPPOLL], since
other drivers are.... Don't frob the high/low-priority queues
right now, since I don't use them.
Add rtw_join_bss which programs the card with the BSSID and other
properties of a BSS. Use it on state transitions. Factor out
rtw_set_nettype.
Make rtw_recv_beacon call ieee80211_recv_mgmt instead of dropping
beacons on the floor! TBD IBSS merges.
Change some rtw_debug=2 printfs to rtw_debug=3 (RTW_DPRINTF3)
printfs so the console doesn't get spammed so badly at rtw_debug=2.
Change some debugging printfs to RTW_DPRINTFs. E.g., print the
"RF programming method" only if debugging is enabled.
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/dev/ic/rtw.c
cvs rdiff -r1.2 -r1.3 src/sys/dev/ic/rtwphyio.c src/sys/dev/ic/rtwreg.h
cvs rdiff -r1.5 -r1.6 src/sys/dev/ic/rtwvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.