summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/if_ath.c3
-rw-r--r--sys/dev/if_ndis/if_ndis.c2
-rw-r--r--sys/dev/ipw/if_ipw.c4
-rw-r--r--sys/dev/iwi/if_iwi.c3
-rw-r--r--sys/dev/iwn/if_iwn.c3
-rw-r--r--sys/dev/malo/if_malo.c3
-rw-r--r--sys/dev/ral/rt2560.c3
-rw-r--r--sys/dev/ral/rt2661.c3
-rw-r--r--sys/dev/usb/if_rum.c3
-rw-r--r--sys/dev/usb/if_ural.c3
-rw-r--r--sys/dev/usb/if_zyd.c3
-rw-r--r--sys/dev/wi/if_wi.c3
-rw-r--r--sys/dev/wpi/if_wpi.c3
13 files changed, 26 insertions, 13 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 3f08c35..ab21df3 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -515,7 +515,8 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
ic->ic_phytype = IEEE80211_T_OFDM;
ic->ic_opmode = IEEE80211_M_STA;
ic->ic_caps =
- IEEE80211_C_IBSS /* ibss, nee adhoc, mode */
+ IEEE80211_C_STA /* station mode */
+ | IEEE80211_C_IBSS /* ibss, nee adhoc, mode */
| IEEE80211_C_HOSTAP /* hostap mode */
| IEEE80211_C_MONITOR /* monitor mode */
| IEEE80211_C_AHDEMO /* adhoc demo mode */
diff --git a/sys/dev/if_ndis/if_ndis.c b/sys/dev/if_ndis/if_ndis.c
index 45930f9..692473f 100644
--- a/sys/dev/if_ndis/if_ndis.c
+++ b/sys/dev/if_ndis/if_ndis.c
@@ -724,7 +724,7 @@ ndis_attach(dev)
ic->ic_ifp = ifp;
ic->ic_opmode = IEEE80211_M_STA;
ic->ic_phytype = IEEE80211_T_DS;
- ic->ic_caps = IEEE80211_C_IBSS;
+ ic->ic_caps = IEEE80211_C_STA | IEEE80211_C_IBSS;
setbit(ic->ic_modecaps, IEEE80211_MODE_AUTO);
len = 0;
r = ndis_get_info(sc, OID_802_11_NETWORK_TYPES_SUPPORTED,
diff --git a/sys/dev/ipw/if_ipw.c b/sys/dev/ipw/if_ipw.c
index 45a418e..f7ef813 100644
--- a/sys/dev/ipw/if_ipw.c
+++ b/sys/dev/ipw/if_ipw.c
@@ -305,7 +305,9 @@ ipw_attach(device_t dev)
ic->ic_phytype = IEEE80211_T_DS;
/* set device capabilities */
- ic->ic_caps = IEEE80211_C_IBSS /* IBSS mode supported */
+ ic->ic_caps =
+ IEEE80211_C_STA /* station mode supported */
+ | IEEE80211_C_IBSS /* IBSS mode supported */
| IEEE80211_C_MONITOR /* monitor mode supported */
| IEEE80211_C_PMGT /* power save supported */
| IEEE80211_C_SHPREAMBLE /* short preamble supported */
diff --git a/sys/dev/iwi/if_iwi.c b/sys/dev/iwi/if_iwi.c
index ed9bcff..4f81c1b 100644
--- a/sys/dev/iwi/if_iwi.c
+++ b/sys/dev/iwi/if_iwi.c
@@ -388,7 +388,8 @@ iwi_attach(device_t dev)
/* set device capabilities */
ic->ic_caps =
- IEEE80211_C_IBSS /* IBSS mode supported */
+ IEEE80211_C_STA /* station mode supported */
+ | IEEE80211_C_IBSS /* IBSS mode supported */
| IEEE80211_C_MONITOR /* monitor mode supported */
| IEEE80211_C_PMGT /* power save supported */
| IEEE80211_C_SHPREAMBLE /* short preamble supported */
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c
index cca04ec..8a1ed68 100644
--- a/sys/dev/iwn/if_iwn.c
+++ b/sys/dev/iwn/if_iwn.c
@@ -377,7 +377,8 @@ iwn_attach(device_t dev)
/* set device capabilities */
ic->ic_caps =
- IEEE80211_C_MONITOR /* monitor mode supported */
+ IEEE80211_C_STA /* station mode supported */
+ | IEEE80211_C_MONITOR /* monitor mode supported */
| IEEE80211_C_TXPMGT /* tx power management */
| IEEE80211_C_SHSLOT /* short slot time supported */
| IEEE80211_C_WPA
diff --git a/sys/dev/malo/if_malo.c b/sys/dev/malo/if_malo.c
index 8da0229..681c824 100644
--- a/sys/dev/malo/if_malo.c
+++ b/sys/dev/malo/if_malo.c
@@ -301,7 +301,8 @@ malo_attach(uint16_t devid, struct malo_softc *sc)
ic->ic_phytype = IEEE80211_T_OFDM;
ic->ic_opmode = IEEE80211_M_STA;
ic->ic_caps =
- IEEE80211_C_BGSCAN /* capable of bg scanning */
+ IEEE80211_C_STA /* station mode supported */
+ | IEEE80211_C_BGSCAN /* capable of bg scanning */
| IEEE80211_C_MONITOR /* monitor mode */
| IEEE80211_C_SHPREAMBLE /* short preamble supported */
| IEEE80211_C_SHSLOT /* short slot time supported */
diff --git a/sys/dev/ral/rt2560.c b/sys/dev/ral/rt2560.c
index 2f65112..e8823b1 100644
--- a/sys/dev/ral/rt2560.c
+++ b/sys/dev/ral/rt2560.c
@@ -278,7 +278,8 @@ rt2560_attach(device_t dev, int id)
/* set device capabilities */
ic->ic_caps =
- IEEE80211_C_IBSS /* ibss, nee adhoc, mode */
+ IEEE80211_C_STA /* station mode */
+ | IEEE80211_C_IBSS /* ibss, nee adhoc, mode */
| IEEE80211_C_HOSTAP /* hostap mode */
| IEEE80211_C_MONITOR /* monitor mode */
| IEEE80211_C_AHDEMO /* adhoc demo mode */
diff --git a/sys/dev/ral/rt2661.c b/sys/dev/ral/rt2661.c
index 0bf2bc7..7dfb635 100644
--- a/sys/dev/ral/rt2661.c
+++ b/sys/dev/ral/rt2661.c
@@ -280,7 +280,8 @@ rt2661_attach(device_t dev, int id)
/* set device capabilities */
ic->ic_caps =
- IEEE80211_C_IBSS /* ibss, nee adhoc, mode */
+ IEEE80211_C_STA /* station mode */
+ | IEEE80211_C_IBSS /* ibss, nee adhoc, mode */
| IEEE80211_C_HOSTAP /* hostap mode */
| IEEE80211_C_MONITOR /* monitor mode */
| IEEE80211_C_AHDEMO /* adhoc demo mode */
diff --git a/sys/dev/usb/if_rum.c b/sys/dev/usb/if_rum.c
index 87db92a..522b8ce 100644
--- a/sys/dev/usb/if_rum.c
+++ b/sys/dev/usb/if_rum.c
@@ -490,7 +490,8 @@ rum_attach(device_t self)
/* set device capabilities */
ic->ic_caps =
- IEEE80211_C_IBSS /* IBSS mode supported */
+ IEEE80211_C_STA /* station mode supported */
+ | IEEE80211_C_IBSS /* IBSS mode supported */
| IEEE80211_C_MONITOR /* monitor mode supported */
| IEEE80211_C_HOSTAP /* HostAp mode supported */
| IEEE80211_C_TXPMGT /* tx power management */
diff --git a/sys/dev/usb/if_ural.c b/sys/dev/usb/if_ural.c
index 40a225b..d19c93e 100644
--- a/sys/dev/usb/if_ural.c
+++ b/sys/dev/usb/if_ural.c
@@ -479,7 +479,8 @@ ural_attach(device_t self)
/* set device capabilities */
ic->ic_caps =
- IEEE80211_C_IBSS /* IBSS mode supported */
+ IEEE80211_C_STA /* station mode supported */
+ | IEEE80211_C_IBSS /* IBSS mode supported */
| IEEE80211_C_MONITOR /* monitor mode supported */
| IEEE80211_C_HOSTAP /* HostAp mode supported */
| IEEE80211_C_TXPMGT /* tx power management */
diff --git a/sys/dev/usb/if_zyd.c b/sys/dev/usb/if_zyd.c
index 9e7cd72..1e05952 100644
--- a/sys/dev/usb/if_zyd.c
+++ b/sys/dev/usb/if_zyd.c
@@ -390,7 +390,8 @@ zyd_complete_attach(struct zyd_softc *sc)
/* set device capabilities */
ic->ic_caps =
- IEEE80211_C_MONITOR /* monitor mode */
+ IEEE80211_C_STA /* station mode */
+ | IEEE80211_C_MONITOR /* monitor mode */
| IEEE80211_C_SHPREAMBLE /* short preamble supported */
| IEEE80211_C_SHSLOT /* short slot time supported */
| IEEE80211_C_BGSCAN /* capable of bg scanning */
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index b13d4dc..51c672d 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -331,7 +331,8 @@ wi_attach(device_t dev)
ic->ic_ifp = ifp;
ic->ic_phytype = IEEE80211_T_DS;
ic->ic_opmode = IEEE80211_M_STA;
- ic->ic_caps = IEEE80211_C_PMGT
+ ic->ic_caps = IEEE80211_C_STA
+ | IEEE80211_C_PMGT
| IEEE80211_C_MONITOR
;
diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c
index 5ac37a7..6cbd7cd 100644
--- a/sys/dev/wpi/if_wpi.c
+++ b/sys/dev/wpi/if_wpi.c
@@ -623,7 +623,8 @@ wpi_attach(device_t dev)
/* set device capabilities */
ic->ic_caps =
- IEEE80211_C_MONITOR /* monitor mode supported */
+ IEEE80211_C_STA /* station mode supported */
+ | IEEE80211_C_MONITOR /* monitor mode supported */
| IEEE80211_C_TXPMGT /* tx power management */
| IEEE80211_C_SHSLOT /* short slot time supported */
| IEEE80211_C_SHPREAMBLE /* short preamble supported */
OpenPOWER on IntegriCloud