#
acc4f7f5 |
| 24-Jan-2005 |
Sam Leffler <sam@FreeBSD.org> |
statically allocate the station/neighbor node table; the deferred allocation scheme introduced a race condition during device state transitions
|
#
4ef04d32 |
| 22-Jan-2005 |
Sam Leffler <sam@FreeBSD.org> |
when ssid suppression is enabled don't respond to probe requests unless our ssid is specified
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
5784a371 |
| 18-Jan-2005 |
Sam Leffler <sam@FreeBSD.org> |
correct logic that caused beacon frames received in ibss mode to be discarded when not scanning
|
#
44c72e42 |
| 18-Jan-2005 |
Sam Leffler <sam@FreeBSD.org> |
move beacon/probe response counting down to after we've decided whether or not we're going to process the frame; this makes the counters reflect frames actually processes instead of received (discard
move beacon/probe response counting down to after we've decided whether or not we're going to process the frame; this makes the counters reflect frames actually processes instead of received (discarded frames were already counted)
show more ...
|
#
1f1d7810 |
| 31-Dec-2004 |
Sam Leffler <sam@FreeBSD.org> |
bump copyright for 2005
|
#
2045f699 |
| 31-Dec-2004 |
Sam Leffler <sam@FreeBSD.org> |
fixup inactivity timers: o ic_inact_auth is a bad name, it's the inactivity threshold for being associated but not authorized; use it that way o reset ni_inact when switching inactivity thresholds
fixup inactivity timers: o ic_inact_auth is a bad name, it's the inactivity threshold for being associated but not authorized; use it that way o reset ni_inact when switching inactivity thresholds to minimize the race against the timer (don't want to lock for this stuff) o change the inactivity probe threshold from a one-shot to cover a range: when below this threshold but not expired send a probe each inactivity interval; should probably guard against the interval being turned way down as this could cause us to spam the net with probes
show more ...
|
#
65e278a8 |
| 31-Dec-2004 |
Sam Leffler <sam@FreeBSD.org> |
don't return prematurely from processing a beacon or probe response frame when associated; this corrects a problem where doing a scan while associated caused the associated ap to sometimes not be inc
don't return prematurely from processing a beacon or probe response frame when associated; this corrects a problem where doing a scan while associated caused the associated ap to sometimes not be included in the scan set
show more ...
|
#
c0fa32ce |
| 31-Dec-2004 |
Sam Leffler <sam@FreeBSD.org> |
change ieee80211_parse_wmeparams to return a unique value when the ie is invalid so we can distinguish this from needing a parameter update; fixes dynamic update of wme parameters
|
#
6b312781 |
| 31-Dec-2004 |
Sam Leffler <sam@FreeBSD.org> |
remove stray \n from debug msg
|
#
8116d318 |
| 31-Dec-2004 |
Sam Leffler <sam@FreeBSD.org> |
clear wep bit in 802.11 header after crypto decap so packet capture doesn't see it
|
#
8a1b9b6a |
| 08-Dec-2004 |
Sam Leffler <sam@FreeBSD.org> |
Update 802.11 support; too much new functionality to fully describe here but it includes completed 802.11g, WPA, 802.11i, 802.1x, WME/WMM, AP-side power-save, crypto plugin framework, authenticator p
Update 802.11 support; too much new functionality to fully describe here but it includes completed 802.11g, WPA, 802.11i, 802.1x, WME/WMM, AP-side power-save, crypto plugin framework, authenticator plugin framework, and access control plugin frameowrk.
show more ...
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
02b199f1 |
| 13-Jun-2004 |
Max Laier <mlaier@FreeBSD.org> |
Link ALTQ to the build and break with ABI for struct ifnet. Please recompile your (network) modules as well as any userland that might make sense of sizeof(struct ifnet). This does not change the que
Link ALTQ to the build and break with ABI for struct ifnet. Please recompile your (network) modules as well as any userland that might make sense of sizeof(struct ifnet). This does not change the queueing yet. These changes will follow in a seperate commit. Same with the driver changes, which need case by case evaluation.
__FreeBSD_version bump will follow.
Tested-by: (i386)LINT
show more ...
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
36c6538b |
| 03-Apr-2004 |
Sam Leffler <sam@FreeBSD.org> |
Change handling of probe response frames. Previously we always dropped the refcnt on the node but left it in the node table. This allows the node table to hold the results of scanned ap's but for ib
Change handling of probe response frames. Previously we always dropped the refcnt on the node but left it in the node table. This allows the node table to hold the results of scanned ap's but for ibss scans left nodes w/o any driver-private state setup and/or a bad refcnt (when the nodes were timed out they were prematurely discarded). Now we treat nodes identified for ap scanning as before but force nodes discovered when scanning for ibss neighbors to have complete/proper state and hold the refcnt on the node. Any other nodes created because of these frames are discarded directly (need to optimize this case to eliminate various work that's immediately discarded).
show more ...
|
#
6f3f5a11 |
| 03-Apr-2004 |
Sam Leffler <sam@FreeBSD.org> |
always free node reference when processing a probe request frame; was conditionally doing an unref if operating in adhoc mode which turns out to be wrong
|
#
c64bfa0f |
| 03-Apr-2004 |
Sam Leffler <sam@FreeBSD.org> |
track node allocation failure stats in ieee80211_alloc_node instead of each caller
Obtained from: madwifi
|
#
a6381c54 |
| 03-Apr-2004 |
Sam Leffler <sam@FreeBSD.org> |
when processing beacon/probe response frames capture "is probe" in a variable to improve code legibility since we're going to use it more in forthcoming mods
Obtained from: madwifi
|
#
4bd067c5 |
| 03-Apr-2004 |
Sam Leffler <sam@FreeBSD.org> |
add a case of IEEE80211_ELEMID_IBSSPARMS so the statistic on unknown elements is more meaningful (will add more with WPA merge)
Obtained from: madwifi
|
#
7aa40289 |
| 03-Apr-2004 |
Sam Leffler <sam@FreeBSD.org> |
when doing internal bridging free the node instead of just dropping the reference for consistency (explicit refcounting is discouraged)
Obtained from: madwifi
|
#
9089c48c |
| 03-Apr-2004 |
Sam Leffler <sam@FreeBSD.org> |
when receiving a frame w/ a bad version number don't unref the node; the driver is responsible for that
Obtained from: madwifi
|
Revision tags: release/5.2.1_cvs, release/5.2.1 |
|
#
4844aa7d |
| 15-Jan-2004 |
Atsushi Onoe <onoe@FreeBSD.org> |
Add support for FH phy, which will be used by awi driver. Also some if_media constants to indicate operational mode are changed to bitmasks to reduce diffs from NetBSD.
|
Revision tags: release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
59571d2b |
| 18-Oct-2003 |
Sam Leffler <sam@FreeBSD.org> |
fix station mode breakage (repeat after me: "test every change, no matter how small...")
|
#
1be50176 |
| 18-Oct-2003 |
Sam Leffler <sam@FreeBSD.org> |
add statistics for all failures and/or abnormal events; still need to add per-node statistics
|
#
627200f8 |
| 18-Oct-2003 |
Sam Leffler <sam@FreeBSD.org> |
fixup debug msgs
|
#
18f897ab |
| 15-Sep-2003 |
Sam Leffler <sam@FreeBSD.org> |
Change input handling to not expect drivers to filter short frames. In particular, let drivers send up control frames so we can dispatch them to bpf in monitor mode.
This is the first (small) step t
Change input handling to not expect drivers to filter short frames. In particular, let drivers send up control frames so we can dispatch them to bpf in monitor mode.
This is the first (small) step to adding more functionality such as power save mode.
show more ...
|
#
0a915fad |
| 20-Aug-2003 |
Sam Leffler <sam@FreeBSD.org> |
MFp4 changes to fix locking issues and correct reference count handling of station entries in hostap mode:
Input path:
o driver is now expected to find the node associated with the sender of a re
MFp4 changes to fix locking issues and correct reference count handling of station entries in hostap mode:
Input path:
o driver is now expected to find the node associated with the sender of a received frame; use ic_bss if none is located o driver passes the (referenced) node into ieee80211_input for use within the wlan module and is responsible for cleaning up on return o the antenna state is no longer passed up with each frame; this is now considered driver-private state and drivers are responsible for keeping it in the driver-private part of a node
Output path:
Revamp output path for management frames to eliminate redundant locking that causes problems and to correct reference counting bogosity that occurs when stations are timed out due to inactivity (in AP mode). On output the refcnt'd node is stashed in the pkthdr's recvif field (yech) and retrieved by the driver. This eliminates an unref/ref scenario and related node table unlock/lock due to the driver looking up the node. This is particularly important when stations are timed out as this causes a lock order reversal that can result in a deadlock. As a byproduct we also reduce the overhead for sending management frames (minimal). Additional fallout from this is a change to ieee80211_encap to return a refcn't node for tieing to the outbound frame. Node refcnts are not reclaimed until after a frame is completely processed (e.g. in the tx interrupt handler). This is especially important for timed out stations as this deref will be the final one causing the node entry to be reclaimed.
Additional semi-related changes: o replace m_copym use with m_copypacket (optimization) o add assert to verify ic_bss is never free'd during normal operation o add comments explaining calling conventions by drivers for frames going in each direction o remove extraneous code that "cannot be executed" (e.g. because pointers may never be null)
show more ...
|