Date: Thu, 17 Sep 2015 03:13:01 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287895 - head/sys/dev/usb/wlan Message-ID: <201509170313.t8H3D1uZ048804@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Thu Sep 17 03:13:01 2015 New Revision: 287895 URL: https://svnweb.freebsd.org/changeset/base/287895 Log: Add 11n and QoS methods. The firmware takes care of ampdu tx/rx (except for RX reordering, grr), QoS/WME and other bits/pieces. So they're stubs, just in case. Modified: head/sys/dev/usb/wlan/if_rsu.c Modified: head/sys/dev/usb/wlan/if_rsu.c ============================================================================== --- head/sys/dev/usb/wlan/if_rsu.c Thu Sep 17 03:08:02 2015 (r287894) +++ head/sys/dev/usb/wlan/if_rsu.c Thu Sep 17 03:13:01 2015 (r287895) @@ -305,6 +305,28 @@ rsu_send_mgmt(struct ieee80211_node *ni, return (ENOTSUP); } +static void +rsu_update_chw(struct ieee80211com *ic) +{ + +} + +static int +rsu_ampdu_enable(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) +{ + + /* Firmware handles this; not our problem */ + return (0); +} + +static int +rsu_wme_update(struct ieee80211com *ic) +{ + + /* Firmware handles this; not our problem */ + return (0); +} + static int rsu_attach(device_t self) { @@ -412,6 +434,9 @@ rsu_attach(device_t self) ic->ic_parent = rsu_parent; ic->ic_transmit = rsu_transmit; ic->ic_send_mgmt = rsu_send_mgmt; + ic->ic_update_chw = rsu_update_chw; + ic->ic_ampdu_enable = rsu_ampdu_enable; + ic->ic_wme.wme_update = rsu_wme_update; ieee80211_radiotap_attach(ic, &sc->sc_txtap.wt_ihdr, sizeof(sc->sc_txtap), RSU_TX_RADIOTAP_PRESENT,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509170313.t8H3D1uZ048804>