<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/wpi, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-09-10T19:00:17Z</updated>
<entry>
<title>MFC r344749-344750,344841-344843,345284,346405,346470,347140-347141,348331,</title>
<updated>2020-09-10T19:00:17Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2020-09-10T19:00:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=15a31d4c1a7da894840315916b3011190cc3e7c7'/>
<id>urn:sha1:15a31d4c1a7da894840315916b3011190cc3e7c7</id>
<content type='text'>
    349593,351868,353506-353507,353809,353853,353858,353860,356852,359063,
    359158,360819,360888,360950-360951,360953-360954,360998,361009,361025,
    361085,361087,361098,361106-361107,361115,361118,361319-361321,361486,
    361560,361566,361626,361636-361637,361687,361726,361737-361738,361768,
    361778,361811-361813,361819-361822,361825-361826,361834,361863-361864,
    361878,361885-361886,362016,362084-362085,362156-362157,362161-362162,
    362210-362213,362216,362256-362257,362671,362815-362816,363325,
    363327-363328,364011-364012,364299,364301,364303,364312,364315,
    364326-364327,364551,364553,364673,365097,365116,365125-365126,
    365130-365131,365198,365419
  by adrian(78), bcran(1), bz(13), cem(1), gavin(1), glebius(6),
     landonf(1), mjg(7)

Merge WiFi net80211, drivers, and management in order to support better 11n
and upcoming 11ac.

This includes an ath(4) update, some run(4) 11n support, 11n for otus(4),
A-MPDU, A-MSDU, A-MPDU+A-MSDU and Fast frames options, scanning fixes,
enahnced PRIV checks for jails, restored parent device name printing,
improvements for upcoming VHT support, lots of under-the-hood infrastructure
improvements, new device ID, debug tools updates, some whistespace changes
(to make future MFCs easier).

This does not include (nost) epoch(9) related changes as too much other
infrastructure was not merged for that.

Bump __FreeBSD_veresion as this changes the priv(9) names (not know to be
used externally), and net80211 structures.

Tested on:	some ath(4) AP, run(4) STA, and rtwn(4) STA
Discussed with:	adrian (extremly briefly)
Sponsored by:	Rubicon Communications, LLC (d/b/a "Netgate") [partially]
Relnotes:	yes
</content>
</entry>
<entry>
<title>MFC r344990:</title>
<updated>2019-03-28T09:16:00Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2019-03-28T09:16:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ed7073a725b8ac53dd8e87465c089aedd48fd948'/>
<id>urn:sha1:ed7073a725b8ac53dd8e87465c089aedd48fd948</id>
<content type='text'>
Fix ieee80211_radiotap(9) usage in wireless drivers:

- 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.
</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/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>net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters</title>
<updated>2017-02-26T20:49:35Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2017-02-26T20:49:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f6313575401b3e97469df997e8b9d1a18fb485d0'/>
<id>urn:sha1:f6313575401b3e97469df997e8b9d1a18fb485d0</id>
<content type='text'>
directly from the node.

- Use ni_txparms directly instead of calculating them manually every time
- Move M_EAPOL flag check upper; otherwise it may be skipped due to
'ucastrate' / 'mcastrate' check
- Use 'mgtrate' for control frames too (see ifconfig(8), mgtrate parameter)
- Add few more M_EAPOL checks where it was missing (zyd(4), ural(4),
urtw(4))
- Few unrelated cleanups

Tested with:
 - Intel 6205 (iwn(4)), STA mode;
 - WUSB54GC (rum(4)), HOSTAP mode + RTL8188EU (rtwn(4)), STA mode.

Reviewed by:	adrian
Differential Revision:	https://reviews.freebsd.org/D9811
</content>
</entry>
<entry>
<title>wpi: restore frame header before submitting an mbuf to</title>
<updated>2016-10-08T20:41:08Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2016-10-08T20:41:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3f3d4d61003f2fcfaa507462afba15362e1b5b9b'/>
<id>urn:sha1:3f3d4d61003f2fcfaa507462afba15362e1b5b9b</id>
<content type='text'>
ieee80211_tx_complete()

This change allows to pass packet length to rate control modules and
fixes IFCOUNTER_OBYTES calculation.

Tested with Intel 3945BG, STA mode.
</content>
</entry>
<entry>
<title>net80211: ieee80211_ratectl*: switch to reusable KPI</title>
<updated>2016-10-02T20:35:55Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2016-10-02T20:35:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f6930bec3346bb31ba289844a0532e51b011ac8e'/>
<id>urn:sha1:f6930bec3346bb31ba289844a0532e51b011ac8e</id>
<content type='text'>
Replace various void * / int argument combinations with common structures:
- ieee80211_ratectl_tx_status for *_tx_complete();
- ieee80211_ratectl_tx_stats for *_tx_update();

While here, improve amrr_tx_update() for a bit:
1. In case, if receiver is not known (typical for Ralink USB drivers),
refresh Tx rate for all nodes on the interface.
2. There was a misuse:
- otus(4) sends non-decreasing counters (as originally intended);
- but ural(4), rum(4) and run(4) are using 'read &amp; clear' registers
to obtain statistics for some period of time (and those 'last period'
values are used as arguments for tx_update()). If arguments are not big
enough, they are just discarded after the next call.

Fix: move counting into *_tx_update()
(now otus(4) will zero out all node counters after every tx_update() call)

Tested with:
- Intel 3945BG (wpi(4)), STA mode.
- WUSB54GC (rum(4)), STA / HOSTAP mode.
- RTL8188EU (urtwn(4)), STA mode.

Reviewed by:	adrian
Differential Revision:	https://reviews.freebsd.org/D8037
</content>
</entry>
<entry>
<title>sys: Make use of our rounddown() macro when sys/param.h is available.</title>
<updated>2016-04-30T14:41:18Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-30T14:41:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4ed3c0e713adac46dcca8a9ee668221399b7b659'/>
<id>urn:sha1:4ed3c0e713adac46dcca8a9ee668221399b7b659</id>
<content type='text'>
No functional change.
</content>
</entry>
<entry>
<title>wpi: convert to ieee80211_add_channel() (mostly noop).</title>
<updated>2016-04-29T22:43:11Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2016-04-29T22:43:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5763d9db58d4d7671ac56057c98935c87aa695ad'/>
<id>urn:sha1:5763d9db58d4d7671ac56057c98935c87aa695ad</id>
<content type='text'>
Tested with Intel 3945BG, STA / HOSTAP modes.
</content>
</entry>
<entry>
<title>wpi: remove unused variable.</title>
<updated>2016-04-29T21:38:36Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2016-04-29T21:38:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bc502553a62ad7eb97e606a19ca70fc55f81027a'/>
<id>urn:sha1:bc502553a62ad7eb97e606a19ca70fc55f81027a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wpi, iwn: fix check in find_eeprom_channel()</title>
<updated>2016-04-03T14:38:26Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2016-04-03T14:38:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=86d9f8fc6538d85a02143619fded5a81f1e33c7c'/>
<id>urn:sha1:86d9f8fc6538d85a02143619fded5a81f1e33c7c</id>
<content type='text'>
Return correct eeprom_chan structure pointer for 7, 8, 11 and 12 5Ghz
channels.
</content>
</entry>
</feed>
