Justin Hibbits
a6c0f09aa3
ath(4) IfAPI fixups
...
Use the if_getcounter() IfAPI instead of accessing the ifnet directly.
Sponsored by: Juniper Networks, Inc.
2023-02-06 12:32:05 -05:00
Justin Hibbits
ec22a3a259
DrvAPI: Trivial mechanical conversions for various drivers
...
Mechanically convert the following drivers, with trivial changes:
* ipw(4)
* igc(4)
* enetc(4)
* malo(4)
* nfe(4)
* bxe(4)
* awg(4)
* otus(4)
* rtwn(4)
* bnxt(4)
* ath(4)
Sponsored by: Juniper Networks, Inc.
2022-12-21 15:36:59 -05:00
Mateusz Guzik
9966c0f962
ath: clean up empty lines in .c and .h files
2020-09-01 21:41:07 +00:00
Brooks Davis
541d96aaaf
Use an accessor function to access ifr_data.
...
This fixes 32-bit compat (no ioctl command defintions are required
as struct ifreq is the same size). This is believed to be sufficent to
fully support ifconfig on 32-bit systems.
Reviewed by: kib
Obtained from: CheriBSD
MFC after: 1 week
Relnotes: yes
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14900
2018-03-30 18:50:13 +00:00
Ed Maste
b081d0e406
ath: fix possible memory disclosure in ioctl handler
...
Submitted by: Domagoj Stolfa <domagoj.stolfa@gmail.com>
MFC after: 1 week
2018-01-03 19:28:13 +00:00
Ed Maste
22760c6d0a
ath: revert accidental change committed with r327526
...
It will be recommitted with the correct commit message.
2018-01-03 19:24:21 +00:00
Ed Maste
47b5c71929
embed_mfs: correctly test grep return value
...
Reported by: br
MFC with: r326992
Sponsored by: The FreeBSD Foundation
2018-01-03 19:22:10 +00:00
Adrian Chadd
5566fb10ee
[ath] Begin to lay the groundwork for btcoex related ioctl controls.
2016-11-27 18:34:29 +00:00
Pedro F. Giffuni
f6b6084b8e
dev/ath: minor spelling fixes in comments.
...
No functional change.
Reviewed by: adrian
2016-05-02 19:56:48 +00:00
Adrian Chadd
b45de1ebcd
[ath] migrate ioctl and busdma memory operations out into separate source files.
...
This should be a big no-op pass; and reduces the size of if_ath.c.
I'm hopefully soon going to take a whack at the USB support for ath(4)
and this'll require some reuse of the busdma memory code.
2015-11-24 03:42:58 +00:00