Describe the capabilities supported.
This commit is contained in:
parent
3dd0f930ba
commit
a1c7943ca0
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_ipw.c,v 1.23 2006/04/29 16:43:40 rpaulo Exp $ */
|
||||
/* $NetBSD: if_ipw.c,v 1.24 2006/04/29 16:46:11 rpaulo Exp $ */
|
||||
/* FreeBSD: src/sys/dev/ipw/if_ipw.c,v 1.15 2005/11/13 17:17:40 damien Exp */
|
||||
|
||||
/*-
|
||||
@ -29,7 +29,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_ipw.c,v 1.23 2006/04/29 16:43:40 rpaulo Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_ipw.c,v 1.24 2006/04/29 16:46:11 rpaulo Exp $");
|
||||
|
||||
/*-
|
||||
* Intel(R) PRO/Wireless 2100 MiniPCI driver
|
||||
@ -271,8 +271,12 @@ ipw_attach(struct device *parent, struct device *self, void *aux)
|
||||
ic->ic_state = IEEE80211_S_INIT;
|
||||
|
||||
/* set device capabilities */
|
||||
ic->ic_caps = IEEE80211_C_SHPREAMBLE | IEEE80211_C_TXPMGT |
|
||||
IEEE80211_C_IBSS | IEEE80211_C_MONITOR;
|
||||
ic->ic_caps =
|
||||
IEEE80211_C_SHPREAMBLE /* short preamble supported */
|
||||
| IEEE80211_C_TXPMGT /* tx power management */
|
||||
| IEEE80211_C_IBSS /* ibss mode */
|
||||
| IEEE80211_C_MONITOR /* monitor mode */
|
||||
;
|
||||
|
||||
/* read MAC address from EEPROM */
|
||||
val = ipw_read_prom_word(sc, IPW_EEPROM_MAC + 0);
|
||||
|
Loading…
Reference in New Issue
Block a user