| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
frame being sent is to be ack'd and hasn't been filtered by the h/w;
this insures we don't pass in tx descriptors that have no meaningful
state (e.g. mcast/bcast frames are not acked and so have no tx retry
counts)
Approved by: re (scottl)
Obtained from: Atheros
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
struct ifnet or the layer 2 common structure it was embedded in have
been replaced with a struct ifnet pointer to be filled by a call to the
new function, if_alloc(). The layer 2 common structure is also allocated
via if_alloc() based on the interface type. It is hung off the new
struct ifnet member, if_l2com.
This change removes the size of these structures from the kernel ABI and
will allow us to better manage them as interfaces come and go.
Other changes of note:
- Struct arpcom is no longer referenced in normal interface code.
Instead the Ethernet address is accessed via the IFP2ENADDR() macro.
To enforce this ac_enaddr has been renamed to _ac_enaddr.
- The second argument to ether_ifattach is now always the mac address
from driver private storage rather than sometimes being ac_enaddr.
Reviewed by: sobomax, sam
|
|
|
|
|
|
| |
nextTbtt is always ahead of the h/w TSF.
Reviewed by: avatar
|
|
|
|
| |
when operating in ap and adhoc modes.
|
|
|
|
|
|
|
|
|
|
| |
o purge ath_initkeytable; it's not needed
o add multicast key search support for supporting multiple group keys
(disabled for now; requires updated hal)
o create keycache entry for stations using open auth so they get h/w
antenna management support
o add keycache -> node mapping table; eliminates mac-based lookup in
the net80211 layer
|
|
|
|
| |
Submitted by: markus
|
|
|
|
| |
Reviewed by: Tai-hwa Liang
|
|
|
|
| |
instead of monitoring the input packet count
|
|
|
|
| |
Submitted by: Tai-hwa Liang
|
|
|
|
| |
Submitted by: Michael Wong
|
| |
|
|
|
|
|
|
| |
to the rate control module for tx complete processing; this enables
rate control algorithms to extract the packet length for xmits that
require multiple descriptors
|
|
|
|
|
| |
o check current channel parameters, not shadow state, for acm policy
on data frames
|
|
|
|
| |
Reviewed by: sam (mentor)
|
|
|
|
| |
use when checking for an ibss merge
|
| |
|
| |
|
|
|
|
| |
Noticed by: David Young
|
|
|
|
|
|
|
|
|
|
|
|
| |
o mark rx frames including FCS in the payload with the
IEEE80211_RADIOTAP_F_FCS flag
o remove hack to copy 802.11 headers with padding out of line; instead mark
the frames with IEEE80211_RADIOTAP_F_DATAPAD and require applications to
do the work
o split precalculated radiotap flags into tx+rx now that they can be different
Note the full usefulness of these changes depends on updates to applications
that process radiotap data.
|
|
|
|
|
|
|
|
|
|
| |
o don't reclaim any previous beacon state in ath_beacon_alloc; do it
explicitly in ath_newstate
o reference count the node held in the beacon frame state block
o process ibss merge more intelligently; let the state machine do the
right thing instead of explicitly setting the new bssi id
o explicitly stop tx dma before doing beacon setup to handle the ibss
merge case
|
| |
|
|
|
|
| |
o replace the private macro to convert MS->TU with the common one
|
| |
|
| |
|
|
|
|
| |
suboptimal but needed for fast frames which won't fit in a single cluster
|
|
|
|
| |
they make the led's flash unnecessarily in adhoc mode
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: Tai-hwa Liang
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o catch one place where we were not using ath_chan_change to
switch channels; this fixes a problem where the channel
settings were not being correctly reported in captured packets
o return unique channel identification in the channel flags;
ethereal gets confused if you return merged flags (e.g. ofdm,
cck, and 2Ghz) (this is workaround and should be removed if
we can ever cleanup radiotap consumers)
o correct short/long preamble flag state for rx and treat tx
the same--use a new hwflags array that gives us the data
based on the h/w rate index/cookie
o add gross hack to handle radiotap capture of frames that
come in with hardware padding; should be replaced by a
flag in the radiotap header and more smarts in the apps
that decode radiotap data
|
|
|
|
|
| |
the index of the first entry on a mic error so we're
consistent with parts that don't have split keycache
|
|
|
|
|
|
|
|
|
|
|
| |
o lintval is in ms; must convert to TU's for passing to the hal
o roundup to calculate nexttbtt (should look at current tsf and pull the
calculated nextbtt forward but this'll do for now)
o don't or- in HAL_BEACON_RESET_TSF when doing station timer setup; this
is not needed and messes up the sleep timer calcs, though it's unclear
if it mattered as the hal masks these values before use
Submitted by: Thorsten von Eicken
|
|
|
|
| |
there are none since we're only called when the ref count goes to zero
|
| |
|
|
|
|
|
|
|
|
| |
of a sizeof, need to use %z to get the correct type on all our platforms.
Also, convert integers<->pointers via uintptr_t.
(I think Sam's instructions were for me to commit this. If I
misunderstood, then I apologize in advance.)
|
| |
|
|
|
|
|
| |
MPSAFE only debug_mpsafenet is 1 so callbacks to send management
frames hold Giant; this is another bandaid on the path to removing Giant.
|
|
|
|
| |
satisfy the assertion in if_start.
|
|
|
|
|
|
|
|
|
|
| |
an(4), ath(4), hme(4), ndis(4), vr(4) and wi(4)
Please help testing: http://people.freebsd.org/~mlaier/ALTQ_driver/
Tested by: Vaidas Damosevicius (an, ath, wi)
Roman Divacky (vr)
Submitted by: yongari (hme)
|
|
|
|
| |
Noticed by: phk
|
|
|
|
|
|
| |
the 802.11 layer does useful work
Obtained from: madwifi
|
|
|
|
|
|
| |
was too much delay
Obtained from: madwifi
|
| |
|
|
|
|
|
|
| |
work done in ath_intr when the irq is shared
Obtained from: madwifi
|
|
|
|
| |
Obtained from: madwifi
|
| |
|
|
|
|
|
|
| |
o force little-endian byte order for header
o pad header to 32-bit boundary to guard against applications that assume
packet data alignment
|
|
|
|
| |
(ieee80211_ifattach() calls ether_ifattach().)
|
|
|
|
| |
"I'll cope" by: sam
|