<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/rtwn/if_rtwn.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-09-01T21:33:31Z</updated>
<entry>
<title>rtwn: clean up empty lines in .c and .h files</title>
<updated>2020-09-01T21:33:31Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2020-09-01T21:33:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b3512b30dbec579da28028e29d8b33ec7242af68'/>
<id>urn:sha1:b3512b30dbec579da28028e29d8b33ec7242af68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>net80211: enhance getflags*() and ieee80211_add_channel*()</title>
<updated>2020-08-24T13:15:08Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2020-08-24T13:15:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2b9f12f6b2f5284999ab0a63037943dea5cfbedf'/>
<id>urn:sha1:2b9f12f6b2f5284999ab0a63037943dea5cfbedf</id>
<content type='text'>
For ieee80211_add_channel+*() we are passing in an int flag for
ht40 and in some cases another int flag for vht80 where we'd only
need two bits really.
Convert these variables to a bitflag and fold them together into one.
This also allows for VHT160 and VHT80P80 and whatever may come to
be considered. Define the various options currently needed.

Change the drivers (rtwn and rsu) which actually set this bit to non-0.
For convenience the "1" currently used for HT40 is preserved.

Enahnce getflags_5ghz() to handle the full set of VHT flags based
on the input flags from the the driver.

Update the regdomain implementation as well to make use of the new
flags and deal with higher [V]HT bandwidths.

ieee80211_add_channel() specifically did not take flags so it will
not support naything beyond 20Mhz channels.

Note: I am not entirely happy with the "cbw_flag[s]" name, but we
do use chan_flags elsewhere already.

MFC after:	2 weeks
Reviewed by:	adrian, gnn
Sponsored by:	Rubicon Communications, LLC (d/b/a "Netgate")
Differential revision:	https://reviews.freebsd.org/D26091
</content>
</entry>
<entry>
<title>Fix ieee80211_radiotap(9) usage in wireless drivers:</title>
<updated>2019-03-11T01:27:01Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2019-03-11T01:27:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=786ac7035f938bf3764ec6d5ee2f0e50b5d959b6'/>
<id>urn:sha1:786ac7035f938bf3764ec6d5ee2f0e50b5d959b6</id>
<content type='text'>
- Alignment issues:
 * Add missing __packed attributes + padding across all drivers; in
most places there was an assumption that padding will be always
minimally suitable; in few places - e.g., in urtw(4) / rtwn(4) -
padding was just missing.
 * Add __aligned(8) attribute for all Rx radiotap headers since they can
contain 64-bit TSF timestamp; it cannot appear in Tx radiotap headers, so
just drop the attribute here. Refresh ieee80211_radiotap(9) man page
accordingly.

- Since net80211 automatically updates channel frequency / flags in
ieee80211_radiotap_chan_change() drop duplicate setup for these fields
in drivers.

Tested with Netgear WG111 v3 (urtw(4)), STA mode.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Remove 2GHz channel list copies from wireless drivers.</title>
<updated>2019-01-26T17:00:55Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2019-01-26T17:00:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b84b36380eb1404f1cf06224cc8af5f805edb090'/>
<id>urn:sha1:b84b36380eb1404f1cf06224cc8af5f805edb090</id>
<content type='text'>
Wrap ieee80211_add_channel_list_2ghz into another function
which supplies default (1-14) channel list to it and drop
its copies from drivers.

Checked with RTL8188EE, country US / JP / KR / UA.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>[net80211] convert all of the WME use over to a temporary copy of WME info.</title>
<updated>2018-01-02T00:07:28Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2018-01-02T00:07:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9fbe631a1ad7f8a1a2f45645d9c8dd50c2a8bb67'/>
<id>urn:sha1:9fbe631a1ad7f8a1a2f45645d9c8dd50c2a8bb67</id>
<content type='text'>
This removes the direct WME info access in the ieee80211com struct and instead
provides a method of fetching the data.  Right now it's a no-op but eventually
it'll turn into a per-VAP method for drivers that support it (eg iwn, iwm,
upcoming ath10k work) as things like p2p support require this kind of behaviour.

Tested:

* ath(4), STA and AP mode

TODO:

* yes, this is slightly stack size-y, but it is an important first step
  to get drivers migrated over to a sensible WME API.  A lot of per-phy things
  need to be converted to per-VAP before P2P, 11ac firmware, etc stuff shows up.
</content>
</entry>
<entry>
<title>rtwn: fix connection problems with 'options RTWN_WITHOUT_UCODE'</title>
<updated>2017-05-28T22:51:06Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2017-05-28T22:51:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=59ed13aa499b8171bcabd48b0121e3a76a29150a'/>
<id>urn:sha1:59ed13aa499b8171bcabd48b0121e3a76a29150a</id>
<content type='text'>
sc_set_media_status() callback may involve some generic code in addition to
firmware-specific part (e.g., link status register setup for RTL8188E);
so, remove 'RTWN_WITHOUT_UCODE' ifdefs around it.

Tested with RTL8188CUS, RTL8188EU and RTL8821AU, STA mode.
</content>
</entry>
<entry>
<title>rtwn: fix node id assignment.</title>
<updated>2017-03-20T08:10:35Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2017-03-20T08:10:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=90589b904f71be5b92a8dbea319f5ef6c4a89d80'/>
<id>urn:sha1:90589b904f71be5b92a8dbea319f5ef6c4a89d80</id>
<content type='text'>
Do not assign new id if node is reused.

Tested with RTL8821AU, HOSTAP mode + RTL8188EU, STA mode
(with inactivity timeout == 90)
</content>
</entry>
<entry>
<title>Add support for the Realtek RTL8192EU chipset.</title>
<updated>2017-01-24T02:35:38Z</updated>
<author>
<name>Kevin Lo</name>
<email>kevlo@FreeBSD.org</email>
</author>
<published>2017-01-24T02:35:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=60b9567d16b585b05c86c60393958ad81cbfa72f'/>
<id>urn:sha1:60b9567d16b585b05c86c60393958ad81cbfa72f</id>
<content type='text'>
Committed over the D-Link DWA-131 rev E1 on amd64 with WPA.

Reviewed by:	avos
</content>
</entry>
<entry>
<title>rtwn: enable LDPC support where possible</title>
<updated>2017-01-21T15:03:58Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2017-01-21T15:03:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=3111723c0902bee364f6e2c063d5ae2b91b23cf1'/>
<id>urn:sha1:3111723c0902bee364f6e2c063d5ae2b91b23cf1</id>
<content type='text'>
Tested with RTL8821AU, STA mode.
</content>
</entry>
<entry>
<title>rtwn: export more stats to net80211</title>
<updated>2017-01-17T00:35:23Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2017-01-17T00:35:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=09606165a0ab82291c6443d5c82b205256c56458'/>
<id>urn:sha1:09606165a0ab82291c6443d5c82b205256c56458</id>
<content type='text'>
Setup more ieee80211_rx_stats fields for received frames:
 - pktflags:
  * IEEE80211_RX_F_FAIL_FCSCRC;
  * IEEE80211_RX_F_AMPDU;
  * IEEE80211_RX_F_AMPDU_MORE;
  * IEEE80211_RX_F_SHORTGI;
 - rate flags (CCK, OFDM, HT);
 - width;
 - phytype;
 - rate;
 - rx_tsf;
 - rssi;
 - nf;
 - ieee, freq (RTL8188EU only, when ht40 support is disabled).

Tested with:
 - RTL8188CE, RTL8188EU, RTL8821AU (STA / AP modes, i386)
 - (by kevlo) RTL8188EU and RTL8812AU (amd64)

Reviewed by:	adrian (previous version), kevlo
Differential Revision:	https://reviews.freebsd.org/D9021
</content>
</entry>
</feed>
