Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/arn9003.c
RevisionDateAuthorComments
 1.18  24-Sep-2025  andvar s/oder/order/ in comments.
 1.17  05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.16  01-Aug-2023  mrg branches: 1.16.6;
fix simple mis-matched function prototype and definitions.

most of these are like, eg

void foo(int[2]);

with either of these

void foo(int*) { ... }
void foo(int[]) { ... }

in some cases (such as stat or utimes* calls found in our header files),
we now match standard definition from opengroup.

found by GCC 12.
 1.15  29-Jan-2020  thorpej Adopt <net/if_stats.h>.
 1.14  10-Nov-2019  chs branches: 1.14.2;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.13  26-Jun-2018  msaitoh branches: 1.13.2;
Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.

This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.
 1.12  01-Feb-2018  maxv branches: 1.12.2;
Replace ovbcopy -> memmove, same.
 1.11  23-May-2017  ozaki-r Apply deferred if_start to more drivers

And annotate some XXX_start as it runs in softint to clarify that
it doesn't need deferred if_start.
 1.10  02-Feb-2017  nonaka wlan interfaces make interrupt routine running on softint context.

see http://mail-index.netbsd.org/tech-kern/2016/12/06/msg021281.html

tested device:
* ath at pci: AR5212, AR5424
* athn at pci: AR9287
* ipw at pci: 2100BG
* iwi at pci: 2915ABG
* iwm at pci: 3165, 7260, 8260
* iwn at pci: 4945, 6235
* ral at pci: RT2560
* rtwn at pci: RTL8192CE
 1.9  10-Jun-2016  ozaki-r branches: 1.9.2; 1.9.4;
Introduce m_set_rcvif and m_reset_rcvif

The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.

No functional change.
 1.8  09-Mar-2016  christos PR/50927: David Binderman: Fix wrong paren
 1.7  24-May-2015  matt Use bus_dmamap_load instead of bus_dmamap_load_raw
 1.6  23-Feb-2014  christos branches: 1.6.4; 1.6.8;
use aprint.
 1.5  22-Oct-2013  skrll Avoid "declaration of 'delay' shadows a global declaration" by renaming
the local variable.
 1.4  17-Oct-2013  christos - remove unused variables
- move variables inside ifdef sections
- ifdef notdef unused code
- use __USE for debugging variables
 1.3  06-Apr-2013  martin branches: 1.3.4; 1.3.6;
Debounce the "wlan button pressed" event via pmf PMFE_RADIO_OFF so we
can run the pmf stuff in thread context.
 1.2  03-Apr-2013  christos instead of ifnet use ethercom.
 1.1  30-Mar-2013  christos This is the initial port of OpenBSD's athn(4) driver. It supports
quite a few Atheros 802.11n devices. See the athn(4) manpage for a
list.

This port has only been tested with a TP-LINK TL-WN722N USB adapter
which has an AR9271 chipset (VENDOR: 0x0cf3, PRODUCT: 0x9271). The
BSS, Monitor, and HostAP modes all seem to work on that adapter,
though the later has not been tested much.

The driver also supports PCI and CardBUS devices, but those interfaces
are completely untested and probably won't work at this point.

If someone can provide me with other adapters that should be
supported, particularly PCI or CardBUS adapters, or tell me where I
can get one cheaply, I would be happy to try to get the driver working
on those devices as well.
 1.3.6.1  18-May-2014  rmind sync with head
 1.3.4.4  03-Dec-2017  jdolecek update from HEAD
 1.3.4.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.4.2  23-Jun-2013  tls resync from head
 1.3.4.1  06-Apr-2013  tls file arn9003.c was added on branch tls-maxphys on 2013-06-23 06:20:17 +0000
 1.6.8.5  28-Aug-2017  skrll Sync with HEAD
 1.6.8.4  05-Feb-2017  skrll Sync with HEAD
 1.6.8.3  09-Jul-2016  skrll Sync with HEAD
 1.6.8.2  19-Mar-2016  skrll Sync with HEAD
 1.6.8.1  06-Jun-2015  skrll Sync with HEAD
 1.6.4.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6.4.1  23-Feb-2014  yamt file arn9003.c was added on branch yamt-pagecache on 2014-05-22 11:40:21 +0000
 1.9.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.9.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.12.2.1  28-Jul-2018  pgoyette Sync with HEAD
 1.13.2.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.13.2.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.14.2.1  29-Feb-2020  ad Sync with head.
 1.16.6.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed