History log of /openbsd-src/sys/dev/ic/ath.c (Results 26 – 50 of 125)
Revision Date Author Comments
# 75bc4cac 10-Jul-2014 stsp <stsp@openbsd.org>

Show eeprom version of ath devices in dmesg; ok reyk


# 6da4b19d 19-Mar-2014 mpi <mpi@openbsd.org>

Stop abusing the rcvif pointer to pass wireless nodes down to the
driver start routines. Instead add & use a pointer in the pkthdr
since we don't want the overhead of using a mbuf_tags(9).

claudio@

Stop abusing the rcvif pointer to pass wireless nodes down to the
driver start routines. Instead add & use a pointer in the pkthdr
since we don't want the overhead of using a mbuf_tags(9).

claudio@ pointed out that other subsystems might want to use this
pointer too, so here's a new cookie!

ok claudio@, mikeb@, deraadt@

show more ...


# f2e23e59 26-Nov-2013 mpi <mpi@openbsd.org>

Instead of comparing the lower and higher addresses of all the multicast
entries to decide if the IFF_ALLMULTI flag should be set, check if there
is at least one real range between them.

This should

Instead of comparing the lower and higher addresses of all the multicast
entries to decide if the IFF_ALLMULTI flag should be set, check if there
is at least one real range between them.

This should not change the behavior of any driver but if you encounter
any problem, feel free to revert the offending chunk and ping me about
it.

ok naddy@, dlg@

show more ...


# f7d1ca9e 21-Nov-2013 mpi <mpi@openbsd.org>

Remove unneeded include.

ok deraadt@


# 2c774400 17-Oct-2012 jsg <jsg@openbsd.org>

AH_BYTE_ORDER and AH_BIG_ENDIAN are holdovers from the old FreeBSD
code, we test but don't define them. Replace with _BYTE_ORDER
and _BIG_ENDIAN to make the iv show up properly for big endian
bpf co

AH_BYTE_ORDER and AH_BIG_ENDIAN are holdovers from the old FreeBSD
code, we test but don't define them. Replace with _BYTE_ORDER
and _BIG_ENDIAN to make the iv show up properly for big endian
bpf consumers.

ok stsp@ reyk@

show more ...


# 46dc24c0 29-Jan-2012 stsp <stsp@openbsd.org>

Fix another instance of the 11a->11b switch panic (see previous commit).
It could also trigger during a scan. Moving the fix into ath_setcurmode()
should fix the problem for good. Pointed out by ml@e

Fix another instance of the 11a->11b switch panic (see previous commit).
It could also trigger during a scan. Moving the fix into ath_setcurmode()
should fix the problem for good. Pointed out by ml@extensibl.com; ok mikeb

show more ...


# e7e9c0dc 28-Jan-2012 stsp <stsp@openbsd.org>

Don't panic when switching an ath interface in hostap mode from 11a to 11b.
The driver forgot to reconfigure the ic_bss' rate table during the switch.
This triggered an assertion in ieee80211_newstat

Don't panic when switching an ath interface in hostap mode from 11a to 11b.
The driver forgot to reconfigure the ic_bss' rate table during the switch.
This triggered an assertion in ieee80211_newstate() which is present to
prevent an out-of-bounds array access (11a has more rates than 11b).
Problem reported by ml@extensibl.com; ok mikeb deraadt

show more ...


# c3089b84 14-Oct-2011 stsp <stsp@openbsd.org>

Make ath(4) send multicast frames once, not multiple times.
Fixes TKIP replays seen by STAs connecting to an ath(4) hostap and matches
the FreeBSD driver. Tested with several cards by Theo and myself

Make ath(4) send multicast frames once, not multiple times.
Fixes TKIP replays seen by STAs connecting to an ath(4) hostap and matches
the FreeBSD driver. Tested with several cards by Theo and myself.
Thanks mikeb for providing some cards, your next beer in Berlin is on me.
ok deraadt

show more ...


# 110ecf0d 17-Apr-2011 stsp <stsp@openbsd.org>

Don't increase if_oerrors for every multicast frame leaving the interface.
ok deraadt


# b07c7932 07-Sep-2010 deraadt <deraadt@openbsd.org>

remove the powerhook code. All architectures now use the ca_activate tree
traversal code to suspend/resume
ok oga kettenis blambert


# eeb2528a 27-Aug-2010 deraadt <deraadt@openbsd.org>

Get rid of the clumsy pci_activate function and do this job inside ath.c
so that the powerhook wrapper can get at it
ok kettenis


# f110151d 27-Aug-2010 jsg <jsg@openbsd.org>

remove the unused if_init callback in struct ifnet
ok deraadt@ henning@ claudio@


# 02fa8af4 27-Aug-2010 deraadt <deraadt@openbsd.org>

kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumber
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME}
so that we can eventually (many more steps...) k

kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumber
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME}
so that we can eventually (many more steps...) kill the powerhook garbage
and use the activate mechanism.
no objections

show more ...


# c9272ee4 04-Aug-2010 deraadt <deraadt@openbsd.org>

on resume: calling sc_power after ath_init() is silly. ath_init()
gets down to there through ath_init() -> ath_enable() -> ...
from a discussion with damien


# 5217f498 02-Jul-2010 reyk <reyk@openbsd.org>

cleanup and remove some #ifdef junk in the power hooks.

ok deraadt@


# 9b074ffa 20-Apr-2010 tedu <tedu@openbsd.org>

remove proc.h include from uvm_map.h. This has far reaching effects, as
sysctl.h was reliant on this particular include, and many drivers included
sysctl.h unnecessarily. remove sysctl.h or add pro

remove proc.h include from uvm_map.h. This has far reaching effects, as
sysctl.h was reliant on this particular include, and many drivers included
sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed.
ok deraadt

show more ...


# e78728c7 13-Oct-2009 pirofti <pirofti@openbsd.org>

Get rid of devact enum, substitute it with an int and coresponding defines.

This is needed for the addition of further suspend/resume actions.

Okay deraadt@, marco@.


# da3be2ee 13-Sep-2009 krw <krw@openbsd.org>

M_DUP_PKTHDR() define -> m_dup_pkthdr() function to properly deal
with m_tag_copy_chain() failures.

Use m_defrag() to eliminate hand rolled defragging of mbufs and
some uses of M_DUP_PKTHDR().

Orig

M_DUP_PKTHDR() define -> m_dup_pkthdr() function to properly deal
with m_tag_copy_chain() failures.

Use m_defrag() to eliminate hand rolled defragging of mbufs and
some uses of M_DUP_PKTHDR().

Original diff from thib@, claudio@'s feedback integrated by me.

Tests kevlo@ claudio@, "reads ok" blambert@

ok thib@ claudio@, "m_defrag() bits ok" kettenis@

show more ...


# 67600e63 10-Aug-2009 deraadt <deraadt@openbsd.org>

More cases of shutdown hooks not needed after card is already stopped. In
these cases the xxstop function is a bit more complicated and has a flag of
some sort, but the use of that flag does not mat

More cases of shutdown hooks not needed after card is already stopped. In
these cases the xxstop function is a bit more complicated and has a flag of
some sort, but the use of that flag does not matter; DMA is already ceased
ok dlg

show more ...


# 3ab393d3 31-Jul-2009 blambert <blambert@openbsd.org>

timeout_add -> timeout_add_msec

ok jsg@


# 668304ad 21-Jan-2009 grange <grange@openbsd.org>

Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs).
No functional changes.

ok krw@ miod@


# 29e86e5e 15-Oct-2008 blambert <blambert@openbsd.org>

Second pass of simple timeout_add -> timeout_add_sec conversions
This should take care of the simpler ones (i.e., timeout values of
integer multiples of hz).

ok krw@, art@


# 5e966648 01-Sep-2008 reyk <reyk@openbsd.org>

Switch ath(4) to softcrypto to enable support for WPA/WPA2.

Tested by ckuethe@ and many users, thanks!


# 65d4ebc4 29-Aug-2008 reyk <reyk@openbsd.org>

add support for software crypto to allow WPA/WPA2/RSN. it is disabled
for now because it needs more testing, but basic WPA/WPA2 and WEP
seems to work. to enable it, set the compiled-in ath_softcryp

add support for software crypto to allow WPA/WPA2/RSN. it is disabled
for now because it needs more testing, but basic WPA/WPA2 and WEP
seems to work. to enable it, set the compiled-in ath_softcrypto
variable to 1.

this is based on a previous diff from damien@ with some changes to
disable the hardware crypto engine if softcrypto is enabled and to
keeps the hardware crypto code in place to allow later work on
hardware WPA/WPA2.

show more ...


# 08f2df36 27-Aug-2008 damien <damien@openbsd.org>

add IEEE80211_RADIOTAP_F_FCS radiotap flag from NetBSD.

use it in drivers that leave the 802.11 FCS in frames
passed to radiotap BPF. otherwise, userland has no way
to know if FCS is included or no

add IEEE80211_RADIOTAP_F_FCS radiotap flag from NetBSD.

use it in drivers that leave the 802.11 FCS in frames
passed to radiotap BPF. otherwise, userland has no way
to know if FCS is included or not as it depends on drivers.
this is required by some ports (aircrack).

requested by dhill@

show more ...


12345