History log of /freebsd/sys/dev/rtwn/rtl8812a/r12a_chan.c (Results 1 – 16 of 16)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 745a8582 08-Dec-2024 Adrian Chadd <adrian@FreeBSD.org>

rtwn: update rtwn_get_rates() to separate out the CCK/OFDM and HT rates

The 32 bit bitmap is enough for CCK/OFDM rates and MCS0..15, but
won't work for > MCS15, nor VHT rates.

So, break out the leg

rtwn: update rtwn_get_rates() to separate out the CCK/OFDM and HT rates

The 32 bit bitmap is enough for CCK/OFDM rates and MCS0..15, but
won't work for > MCS15, nor VHT rates.

So, break out the legacy rates and HT rates.

* break the rates and htrates out
* document which calls are looking up basic rates and which care
about the rates themselves
* ensure the rate bitmap passed into the rate control firmware call
(which isn't enabled yet!) is capped at 28 bits so they don't
set the mode field.

Differential Revision: https://reviews.freebsd.org/D47993
Reviewed by: bz, imp

show more ...


# cf6b389f 07-Dec-2024 Adrian Chadd <adrian@FreeBSD.org>

rtwn: add tx power training for RTL8812/RTL8821

This apparently kicks off TX power level self-calibration, which
can't hurt.

Locally tested:

* RTL8812AU, STA
* RTL8821AU, STA

Obtained from: Linux

rtwn: add tx power training for RTL8812/RTL8821

This apparently kicks off TX power level self-calibration, which
can't hurt.

Locally tested:

* RTL8812AU, STA
* RTL8821AU, STA

Obtained from: Linux rtw88

Differential Revision: https://reviews.freebsd.org/D47978

Reviewed by: bz, imp

show more ...


# 7722d5e2 04-Dec-2024 Adrian Chadd <adrian@FreeBSD.org>

rtwn: add RTL8812/RTL8821 VHT80 channel programming, spur management

* add VHT80 channel programming
* add VHT80 spur management, sync with Linux rtw88

Obtained from: Linux rtw88

Differential Revi

rtwn: add RTL8812/RTL8821 VHT80 channel programming, spur management

* add VHT80 channel programming
* add VHT80 spur management, sync with Linux rtw88

Obtained from: Linux rtw88

Differential Revision: https://reviews.freebsd.org/D47901

show more ...


# b811e5a5 04-Dec-2024 Adrian Chadd <adrian@FreeBSD.org>

rtwn: program the 1 and 2 stream VHT transmit power rates

This is needed to be able to successfully transmit VHT frames.

Locally tested:

* RTL8821AU, STA mode (with the rest of VHT work to actuall

rtwn: program the 1 and 2 stream VHT transmit power rates

This is needed to be able to successfully transmit VHT frames.

Locally tested:

* RTL8821AU, STA mode (with the rest of VHT work to actually test VHT)

Differential Revision: https://reviews.freebsd.org/D47899

show more ...


# b4980d8a 04-Dec-2024 Adrian Chadd <adrian@FreeBSD.org>

rtwn: calculate the transmit power for VHT rates

The VHT rate power array wasn't populated, and it needs to be in order
to use VHT rates.

The vendor driver reuses the HT40 values for VHT rates.

Di

rtwn: calculate the transmit power for VHT rates

The VHT rate power array wasn't populated, and it needs to be in order
to use VHT rates.

The vendor driver reuses the HT40 values for VHT rates.

Differential Revision: https://reviews.freebsd.org/D47898

show more ...


# 468cd606 04-Dec-2024 Adrian Chadd <adrian@FreeBSD.org>

rtwn: refactor out the rtl8812/rtl8821 tx power programming

In preparation for the VHT TX power programming, refactor out the
CCK, OFDM and HT programming into their own routines.

Locally tested:

rtwn: refactor out the rtl8812/rtl8821 tx power programming

In preparation for the VHT TX power programming, refactor out the
CCK, OFDM and HT programming into their own routines.

Locally tested:

* RTL8821AU, STA mode

show more ...


Revision tags: release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0
# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0
# b3512b30 01-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

rtwn: clean up empty lines in .c and .h files


Revision tags: release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0
# b754c279 13-Sep-2017 Navdeep Parhar <np@FreeBSD.org>

MFH @ r323558.


# 5be4ad9e 09-Sep-2017 Enji Cooper <ngie@FreeBSD.org>

MFhead@r323343


# 0cc18edf 29-Aug-2017 Andriy Voskoboinyk <avos@FreeBSD.org>

rtwn(4): some initial preparations for (basic) VHT support.

Rename RTWN_RIDX_MCS to RTWN_RIDX_HT_MCS before adding 802.11ac
MCS rate indexes (they have different offset).

No functional change inten

rtwn(4): some initial preparations for (basic) VHT support.

Rename RTWN_RIDX_MCS to RTWN_RIDX_HT_MCS before adding 802.11ac
MCS rate indexes (they have different offset).

No functional change intended.

show more ...


Revision tags: release/11.1.0
# 6b322760 12-Apr-2017 Andriy Voskoboinyk <avos@FreeBSD.org>

rtwn: remove out-of-bounds access + fix debug output.

Omit unused rates while initializing / dumping Tx power values.

They were not accessed anywhere (except for debugging), so this is
(mostly) no-

rtwn: remove out-of-bounds access + fix debug output.

Omit unused rates while initializing / dumping Tx power values.

They were not accessed anywhere (except for debugging), so this is
(mostly) no-op.

Tested with
* RTL8188EU, STA mode.
* RTL8812AU, STA mode.

Found by: PVS-Studio

show more ...


# 0351824f 30-Dec-2016 Kevin Lo <kevlo@FreeBSD.org>

- Fix incorrect values in the computation of OFDM and MCS Tx power.
- Make power a uint8_t rather than a uint16_t.
- Replace the hardcoded RF chains.

Reviewed by: avos


# 0ea682eb 29-Dec-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rtwn: silence compiler warning (-Wmaybe-uninitialized).

Reported by: adrian


# 5763f796 21-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307383 through r307735.


# 7453645f 17-Oct-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rtwn(4), urtwn(4): merge common code, add support for 11ac devices.

All devices:
- add support for rate adaptation via ieee80211_amrr(9);
- use short preamble for transmitted frames when needed;
- m

rtwn(4), urtwn(4): merge common code, add support for 11ac devices.

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

show more ...