summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/wlan
diff options
context:
space:
mode:
authorbschmidt <bschmidt@FreeBSD.org>2010-08-14 20:12:10 +0000
committerbschmidt <bschmidt@FreeBSD.org>2010-08-14 20:12:10 +0000
commit267bcceb3d9d51963daee114cc9bf9489dea3825 (patch)
tree91ed3ee979937a33ff768793756b4e3080f66e14 /sys/dev/usb/wlan
parent50862398d57767264019513ed29d01032aff7037 (diff)
downloadFreeBSD-src-267bcceb3d9d51963daee114cc9bf9489dea3825.zip
FreeBSD-src-267bcceb3d9d51963daee114cc9bf9489dea3825.tar.gz
Introduce IEEE80211_C_RATECTL, drivers which use the ratectl framework
should set this capability. MFC after: 2 weeks
Diffstat (limited to 'sys/dev/usb/wlan')
-rw-r--r--sys/dev/usb/wlan/if_rum.c1
-rw-r--r--sys/dev/usb/wlan/if_run.c3
-rw-r--r--sys/dev/usb/wlan/if_ural.c1
-rw-r--r--sys/dev/usb/wlan/if_zyd.c1
4 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/wlan/if_rum.c b/sys/dev/usb/wlan/if_rum.c
index 3baa09a..d8378f8 100644
--- a/sys/dev/usb/wlan/if_rum.c
+++ b/sys/dev/usb/wlan/if_rum.c
@@ -497,6 +497,7 @@ rum_attach(device_t self)
| IEEE80211_C_SHSLOT /* short slot time supported */
| IEEE80211_C_BGSCAN /* bg scanning supported */
| IEEE80211_C_WPA /* 802.11i */
+ | IEEE80211_C_RATECTL /* use ratectl */
;
bands = 0;
diff --git a/sys/dev/usb/wlan/if_run.c b/sys/dev/usb/wlan/if_run.c
index f76bbdc..c594f21 100644
--- a/sys/dev/usb/wlan/if_run.c
+++ b/sys/dev/usb/wlan/if_run.c
@@ -636,7 +636,8 @@ run_attach(device_t self)
IEEE80211_C_SHPREAMBLE | /* short preamble supported */
IEEE80211_C_SHSLOT | /* short slot time supported */
IEEE80211_C_WME | /* WME */
- IEEE80211_C_WPA; /* WPA1|WPA2(RSN) */
+ IEEE80211_C_WPA | /* WPA1|WPA2(RSN) */
+ IEEE80211_C_RATECTL; /* use ratectl */
ic->ic_cryptocaps =
IEEE80211_CRYPTO_WEP |
diff --git a/sys/dev/usb/wlan/if_ural.c b/sys/dev/usb/wlan/if_ural.c
index 54ad7f9..c3e60cd 100644
--- a/sys/dev/usb/wlan/if_ural.c
+++ b/sys/dev/usb/wlan/if_ural.c
@@ -485,6 +485,7 @@ ural_attach(device_t self)
| IEEE80211_C_SHSLOT /* short slot time supported */
| IEEE80211_C_BGSCAN /* bg scanning supported */
| IEEE80211_C_WPA /* 802.11i */
+ | IEEE80211_C_RATECTL /* use ratectl */
;
bands = 0;
diff --git a/sys/dev/usb/wlan/if_zyd.c b/sys/dev/usb/wlan/if_zyd.c
index 1a298f8..94ad559 100644
--- a/sys/dev/usb/wlan/if_zyd.c
+++ b/sys/dev/usb/wlan/if_zyd.c
@@ -397,6 +397,7 @@ zyd_attach(device_t dev)
| IEEE80211_C_SHSLOT /* short slot time supported */
| IEEE80211_C_BGSCAN /* capable of bg scanning */
| IEEE80211_C_WPA /* 802.11i */
+ | IEEE80211_C_RATECTL /* use ratectl */
;
bands = 0;
OpenPOWER on IntegriCloud