summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-10-17 21:55:53 +0000
committersam <sam@FreeBSD.org>2003-10-17 21:55:53 +0000
commit205300184814e7d0fe120d0c32a35bf8ae53713b (patch)
tree6e11878bee0529b4679c408b6d505a68a525d18d /sys/dev/ath
parent98b46f244c7d66e3e96243dd274f2ba9529e017b (diff)
downloadFreeBSD-src-205300184814e7d0fe120d0c32a35bf8ae53713b.zip
FreeBSD-src-205300184814e7d0fe120d0c32a35bf8ae53713b.tar.gz
indicate device receives all management frames
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 6fc70a0..7192d4a 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -278,8 +278,12 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
/* XXX not right but it's not used anywhere important */
ic->ic_phytype = IEEE80211_T_OFDM;
ic->ic_opmode = IEEE80211_M_STA;
- ic->ic_caps = IEEE80211_C_WEP | IEEE80211_C_IBSS | IEEE80211_C_HOSTAP
- | IEEE80211_C_MONITOR | IEEE80211_C_SHPREAMBLE;
+ ic->ic_caps = IEEE80211_C_WEP /* wep supported */
+ | IEEE80211_C_IBSS /* ibss, nee adhoc, mode */
+ | IEEE80211_C_HOSTAP /* hostap mode */
+ | IEEE80211_C_MONITOR /* monitor mode */
+ | IEEE80211_C_SHPREAMBLE /* short preamble supported */
+ | IEEE80211_C_RCVMGT; /* recv management frames */
/* get mac address from hardware */
ath_hal_getmac(ah, ic->ic_myaddr);
OpenPOWER on IntegriCloud