aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/rtwn/if_rtwnreg.h
Commit message (Collapse)AuthorAgeFilesLines
* rtwn: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-3/+0
| | | | Notes: svn path=/head/; revision=365097
* rtwn_usb: add support for fragmented Rx.Andriy Voskoboinyk2017-07-301-0/+5
| | | | | | | | | | | | | | | | | | | Since device can pass multiple frames in a single payload temporary Rx buffer was big enough to hold all of them; now the driver can concatenate a single frame from multiple payloads. The Rx buffer size may be configured via tunable (dev.rtwn.%d.rx_buf_size). Tested with: - rtl8188cus, rtl8188eu and rtl8821au (STA mode). - (by kevlo) rtl8192cu and rtl8188eu. PR: 218527 Reviewed by: kevlo Differential Revision: https://reviews.freebsd.org/D11705 Notes: svn path=/head/; revision=321735
* rtwn: add Rx descriptor structures for common code.Andriy Voskoboinyk2017-07-061-0/+49
| | | | | | | | | | | Remove any chipset specific usage of Rx descriptor structure / bits from common code to prevent misuse of fields that may differ between various chipsets. Checked with: RTL8821AU in STA mode. Notes: svn path=/head/; revision=320725
* rtwn(4), urtwn(4): merge common code, add support for 11ac devices.Andriy Voskoboinyk2016-10-171-2037/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All devices: - add support for rate adaptation via ieee80211_amrr(9); - use short preamble for transmitted frames when needed; - multi-bss support: * for RTL8821AU: 2 VAPs at the same time; * other: 1 any VAP + 1 sta VAP. RTL8188CE: - fix IQ calibration bug (reason of significant speed degradation); - add h/w crypto acceleration support. USB: - A-MPDU Tx support; - short GI support; Other: - add support for RTL8812AU / RTL8821AU chipsets (a/b/g/n only; no ac yet); - split merged code into subparts: * bus glue (usb/*, pci/*, rtl*/usb/*, rtl*/pci/*) * common (if_rtwn*) * chip-specific (rtl*/*) - various other bugfixes. Due to code reorganization, module names / requirements were changed too: urtwn urtwnfw -> rtwn rtwn_usb rtwnfw rtwn rtwnfw -> rtwn rtwn_pci rtwnfw Tested with RTL8188CE, RTL8188CUS, RTL8188EU and RTL8821AU. Tested by: kevlo, garga, Peter Garshtja <peter.garshtja@ambient-md.com>, Kevin McAleavey <kevin.mcaleavey@knosproject.com>, Ilias-Dimitrios Vrachnis <id@vrachnis.com>, <otacilio.neto@bsd.com.br> Relnotes: yes Notes: svn path=/head/; revision=307529
* rtwn, urtwn: drop unused structures.Andriy Voskoboinyk2016-05-261-19/+0
| | | | | | | | urtwn(4) uses another implementation of command queue; rtwn(4) don't need it at all. Notes: svn path=/head/; revision=300788
* urtwn, rtwn, rsu: switch to ieee80211_add_channel_list_2ghz().Andriy Voskoboinyk2016-05-261-0/+2
| | | | | | | | | - Use device's channel list instead of default one (from ieee80211_init_channels()); adds 12 - 14 2GHz channels. - Add ic_getradiocaps() method. Notes: svn path=/head/; revision=300754
* rtwn: replace hardcoded rate indices with their names (similar to r289758).Andriy Voskoboinyk2016-05-261-2/+19
| | | | | | | | | | | | | - Use macros to define rate indices; don't hardcode them in code. - Add method for 'rate' -> 'rate index' conversion (and array for the opposite). - Determine if rate is CCK / OFDM via appropriate macro. Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D4837 Notes: svn path=/head/; revision=300744
* net80211: replace internal LE_READ_*/LE_WRITE_* macro with systemAndriy Voskoboinyk2016-04-201-4/+0
| | | | | | | | | | | | | | | | | | | | le*dec / le*enc functions. Replace net80211 specific macros with system-wide bytestream encoding/decoding functions: - LE_READ_2 -> le16dec - LE_READ_4 -> le32dec - LE_WRITE_2 -> le16enc - LE_WRITE_4 -> le32enc + drop ieee80211_input.h include, where it was included for these operations only. Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D6030 Notes: svn path=/head/; revision=298359
* rtwn: use ieee80211_restart_all() for device resetAndriy Voskoboinyk2016-01-261-1/+0
| | | | | | | | | | Tested by: kevlo Reviewed by: kevlo Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5057 Notes: svn path=/head/; revision=294841
* [rtwn] bring over initial rtwn driver.Adrian Chadd2015-12-311-0/+2106
This is a port from openbsd. It's incomplete and unstable, but it's better than nothing. I have no plans to MFC this until it's complete and stable. Submitted by: kevlo Notes: svn path=/head/; revision=293010