History log of /netbsd/sys/dev/usb/if_athn_usb.c (Results 1 – 25 of 38)
Revision Date Author Comments
# 4f8d1b77 14-Mar-2020 christos <christos@NetBSD.org>

revert the 0x% -> %# change for fixed width formats pointed out by uwe.


# c7337675 13-Mar-2020 christos <christos@NetBSD.org>

PR/55068: sc.dying: Fix printf formats:
- no %s/%p for kernel log
- 0x% -> %#
- always %j for kernel log


# 405e8cf0 29-Jan-2020 thorpej <thorpej@NetBSD.org>

Adopt <net/if_stats.h>.


# 2310b762 14-Sep-2019 maxv <maxv@NetBSD.org>

Fix error handling, to prevent kernel crashes when detaching an athn0
device.

Found with vHCI.


# 9080eaf5 03-Jun-2019 msaitoh <msaitoh@NetBSD.org>

Fix the detach path to prevent panic:
- Fix athn_usb_free_tx_list(). usc->usc_tx_bcn->xfer is freed in the above
for () loop, so remove the if block. OK'd by skrll.
- Add missing athn_usb_free_t

Fix the detach path to prevent panic:
- Fix athn_usb_free_tx_list(). usc->usc_tx_bcn->xfer is freed in the above
for () loop, so remove the if block. OK'd by skrll.
- Add missing athn_usb_free_tx_msg().
- Add missing athn_usb_stop().

show more ...


# ec3bfe00 03-Jun-2019 msaitoh <msaitoh@NetBSD.org>

Use pmf(9).


# 55eef8aa 27-Apr-2019 sevan <sevan@NetBSD.org>

Rename imask to intr_mask as imask is defined globally in
sys/arch/powerpc/include/intr.h:104 and this clashes.

Resolves build on macppc.
ok <pgoyette>


# d71f4570 03-Oct-2018 martin <martin@NetBSD.org>

Add support for Panasonic N5HBZ0000055, from David H. Gutteridge
in PR kern/53647.


# f374ef66 12-Sep-2018 christos <christos@NetBSD.org>

Don't have modules depend on bpf; they will find the dependency dynamically
at runtime. Otherwise builtin modules will complain about non-builtin bpf.


# b1b1ed0a 02-Aug-2018 riastradh <riastradh@NetBSD.org>

Fix usb_rem_task_wait API.

- Return whether it removed task from queue or not.
. True if it was on the queue and we intercepted it before it ran.
. False if we could not intercept it: either it

Fix usb_rem_task_wait API.

- Return whether it removed task from queue or not.
. True if it was on the queue and we intercepted it before it ran.
. False if we could not intercept it: either it wasn't queued,
or it already ran. (Up to caller to distinguish these cases.)
- Pass an optional interlock like callout_halt.

While here, simplify.

ok mrg@

show more ...


# 5251e889 29-Jul-2018 riastradh <riastradh@NetBSD.org>

Use usb_rem_task_wait in usb athn(4) detachment.


# 8517c9d1 26-Jun-2018 msaitoh <msaitoh@NetBSD.org>

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 th

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.

show more ...


# 99f4cb9d 01-Feb-2018 maxv <maxv@NetBSD.org>

Replace ovbcopy -> memmove, same.


# 253c2cca 21-Jan-2018 skrll <skrll@NetBSD.org>

PR kern/52931 Kernel panics with Atheros usb wireless interface

Audit the flags to usbd_create_xfer so that USBD_FORCE_SHORT_XFER is
supplied wherever such a transfer is setup. We can drop
USBD_SHO

PR kern/52931 Kernel panics with Atheros usb wireless interface

Audit the flags to usbd_create_xfer so that USBD_FORCE_SHORT_XFER is
supplied wherever such a transfer is setup. We can drop
USBD_SHORT_XFER_OK as it has not bearing on number of TDs

show more ...


# c9714648 18-Oct-2017 jmcneill <jmcneill@NetBSD.org>

Match BUFFALO CEWL-1 (Sony UWA-BR100 WLAN)


# 7d421921 23-Sep-2017 skrll <skrll@NetBSD.org>

PR/52553 Panic on "ifconfig athn0 up"

Don't race for a transfer in athn_usb_init on the free list for beacons.
Instead pre-assign a transfer to beacons in athn_usb_alloc_tx_list


# d65a6a67 01-Jun-2017 chs <chs@NetBSD.org>

remove checks for failure after memory allocation calls that cannot fail:

kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()

al

remove checks for failure after memory allocation calls that cannot fail:

kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

show more ...


# 8b927fbd 21-Jan-2017 skrll <skrll@NetBSD.org>

Pull across from nick-nhusb.

Some locking fixing, MPification and an attach fix


# 6a4d209a 24-Dec-2016 skrll <skrll@NetBSD.org>

Call cv_broadcast with interlock held as per condvar(9)


# 9fdbd105 17-Dec-2016 skrll <skrll@NetBSD.org>

Call {mutex,cv}_destroy on all mutexes/condvars


# 4138bfd1 11-Dec-2016 skrll <skrll@NetBSD.org>

Fix some bugs introduced by the nick-nhusb merge and related to the
Tx Interrupt pipe transfer handling

While I'm here make some other changes moving towards MPification

PR/51151: athn panic on att

Fix some bugs introduced by the nick-nhusb merge and related to the
Tx Interrupt pipe transfer handling

While I'm here make some other changes moving towards MPification

PR/51151: athn panic on attach
PR/51458: usb athn panic

show more ...


# 21749964 11-Dec-2016 skrll <skrll@NetBSD.org>

More ATHN_DEBUG


# 94120d5b 11-Dec-2016 skrll <skrll@NetBSD.org>

KNF


# dcf540de 11-Dec-2016 skrll <skrll@NetBSD.org>

Fix athn async stuff - the wakeup call should have been converted to
cv_broadcast.

While here remove unnecessary splusb usage.


# a941ebb1 04-Dec-2016 skrll <skrll@NetBSD.org>

Whitespace


12