Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151235963
D3627.id9097.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
D3627.id9097.diff
View Options
Index: head/sys/dev/usb/wlan/if_rum.c
===================================================================
--- head/sys/dev/usb/wlan/if_rum.c
+++ head/sys/dev/usb/wlan/if_rum.c
@@ -489,6 +489,7 @@
| IEEE80211_C_IBSS /* IBSS mode supported */
| IEEE80211_C_MONITOR /* monitor mode supported */
| IEEE80211_C_HOSTAP /* HostAp mode supported */
+ | IEEE80211_C_AHDEMO /* adhoc demo mode */
| IEEE80211_C_TXPMGT /* tx power management */
| IEEE80211_C_SHPREAMBLE /* short preamble supported */
| IEEE80211_C_SHSLOT /* short slot time supported */
@@ -795,7 +796,8 @@
goto run_fail;
}
- if (vap->iv_opmode != IEEE80211_M_MONITOR) {
+ if (vap->iv_opmode != IEEE80211_M_MONITOR &&
+ vap->iv_opmode != IEEE80211_M_AHDEMO) {
if ((ret = rum_enable_tsf_sync(sc)) != 0)
goto run_fail;
} else
@@ -2360,7 +2362,10 @@
struct rum_softc *sc = ic->ic_softc;
RUM_LOCK(sc);
- rum_enable_tsf_sync(sc);
+ if (ic->ic_opmode != IEEE80211_M_AHDEMO)
+ rum_enable_tsf_sync(sc);
+ else
+ rum_enable_tsf(sc);
rum_set_bssid(sc, sc->sc_bssid);
RUM_UNLOCK(sc);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 1:07 AM (12 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31061771
Default Alt Text
D3627.id9097.diff (1 KB)
Attached To
Mode
D3627: rum(4): add support for AHDEMO mode
Attached
Detach File
Event Timeline
Log In to Comment