summaryrefslogtreecommitdiffstats
path: root/sys/net80211
Commit message (Collapse)AuthorAgeFilesLines
* mark timestamp for pending fragmentssam2005-02-231-0/+2
| | | | Noticed by: Jeffrey D. Chung
* rev 1.19 fixed wpa supplicant but broke wpa authenticator; when operatingsam2005-02-101-1/+2
| | | | | | | as an authenticator need to always check for the unicast key in the node (as was the case before) Submitted by: Divy Le Ray
* propagate state kept in the bss node when re-creating the nodesam2005-02-101-1/+16
| | | | | | | on state transitions; this is a stopgap measure, need to rethink how we do management of this state Identified by: Divy Le Ray
* correct check for unicast key being setup; wpa_supplicant in particularsam2005-02-031-1/+1
| | | | | | uses only the global key state so looking in the per-node key slot is wrong Submitted by: Tai-hwa Liang
* supply a default ic_reset method for drivers; the ioctl code expect thissam2005-01-271-0/+22
| | | | | | method to always be setup Submitted by: Tai-hwa Liang
* update node reference count debug msgs to include the node addresssam2005-01-242-19/+26
| | | | since the mac address may not be sufficient to uniquely identify a node
* clear IEEE80211_F_WMEUPDATE when building the initial beacon frame so wesam2005-01-241-0/+1
| | | | don't do an update on the first beacon
* noop change so RUN->RUN transition isn't considered invalidsam2005-01-241-1/+2
| | | | (it happens on ibss merge)
* add macros to convert between txop's and usecssam2005-01-241-0/+2
|
* o clarify that beacon interval settings are in TU's, not mssam2005-01-241-3/+6
| | | | o add macros to convert between TU's and ms
* statically allocate the station/neighbor node table; the deferredsam2005-01-247-167/+70
| | | | | allocation scheme introduced a race condition during device state transitions
* handle potential stale values of bssid in neighbor nodes thatsam2005-01-221-1/+5
| | | | | | can occur after an ibss merge Submitted by: David Young
* when ssid suppression is enabled don't respond to probe requestssam2005-01-221-0/+8
| | | | unless our ssid is specified
* be consistent in naming inactivity timers;sam2005-01-221-1/+1
| | | | net.wlan.X.inact -> net.wlan.X.inact_run
* o replace out-of-line copy of FCS w/ a flag that indicates thesam2005-01-221-9/+18
| | | | | | | | | | | frame includes FCS (requires applications to be updated, but since we weren't doing the out-of-line FCS stuff anyway app changes were needed already) o add a flag to indicate padding exists between the 802.11 header and the payload (e.g. for Atheros cards) o diff reducation against netbsd MFC after: 1 week
* when a station is timed out for inactivity, remove it from the tablesam2005-01-201-2/+13
| | | | so it isn't considered again
* explicitly avoid timing out ourself due to inactivity; itsam2005-01-201-0/+6
| | | | can easily happen if the bss is quiet
* fix refcnt leak in adhoc mode: entries in the neighbor tablesam2005-01-201-3/+9
| | | | created due to rx'd frames had an extra reference
* remove debug msg from ieee80211_iterate_nodes; it makes logs very noisysam2005-01-181-3/+0
| | | | as onoe rate control invokes this once a second
* avoid possible null pointer deref when refcnt debugging is enabled; thesam2005-01-181-1/+1
| | | | | | node may be orphaned Submitted by: Tai-hwa Liang
* Explicitly ignore ibss merge requests when the node is ic_bss. This cansam2005-01-181-1/+2
| | | | | | | | happen on the first management frame received from a neighbor; we assume any merge candidate will send more frames and those should be processed with a suitable table entry. Stepped on by: Tai-hwa Liang
* Simplify the logic for checking the scan candidates at the end of a scan.sam2005-01-181-20/+17
| | | | | | | | Hold a lock on the table instead of futzing with reference counts which was potentially dangerous except drivers were quiescent while we did this so the table contents never changed. Disable the hack logic for removing scan candidates with multiple association failures; it's never done the right thing and will be fixed correctly with background scanning goes in.
* correct logic that caused beacon frames received in ibss mode to besam2005-01-181-1/+1
| | | | discarded when not scanning
* move beacon/probe response counting down to after we've decided whether orsam2005-01-181-9/+9
| | | | | not we're going to process the frame; this makes the counters reflect frames actually processes instead of received (discarded frames were already counted)
* when scanning is interrupted reset state so table entries go in the stationsam2005-01-183-6/+20
| | | | | | table and not the scan table Noticed by: Tai-hwa Liang
* do fixed rate check when considering if a scan candidate is suitable so whensam2005-01-181-9/+5
| | | | it's time to join the bss we can't get an error
* Correct scan candidate selection logic for dual-band devices: prefersam2005-01-011-15/+15
| | | | | candidate on 5Ghz channel to candidate on 2Ghz channel only when the rssi are comparable (wasn't considering rssi).
* remove netbsd rcsid lines; they are way out of date and we appear to besam2004-12-312-2/+0
| | | | diverging too much to make tracking these files worthwhile
* bump copyright for 2005sam2004-12-3122-21/+22
|
* fixup inactivity timers:sam2004-12-312-5/+7
| | | | | | | | | | | | | 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
* Relearn how WPA keying is supposed to work and fix WPA+WME whilesam2004-12-312-111/+129
| | | | | | | | | | | | | | | | | we're at it: o WPA/802.11i has a unicast key and a group key; in station mode everything is sent with the unicast key--we were consulting the destination mac address and incorrectly using the group key o (perpetuate fallback use of the default tx key to maintain compatibility with the way wpa_supplicant works) o correct EAPOL encryption logic to check unicast key instead of assuming other state implies this o move QoS encapsulation up to before enmic work so TKIP has the information required to calculate the pseudo-header o do not do QoS-encapsulation of EAPOL frames as some ap's do the wrong thing with such frames (may need to revisit this if ap's start dropping non-QoS frames from stations assoc'd with QoS) o move ieee80211_mbuf_adjust closer to its caller
* disable default use of wme until we can sort out interoperability issues;sam2004-12-311-2/+2
| | | | users that want it can explicitly enable it
* s/inline/__inline/sam2004-12-311-2/+2
|
* compare pointers against NULLsam2004-12-311-2/+2
|
* make ap mode sta association debug msg as informative as sta modesam2004-12-311-3/+8
|
* do 11g erp station management in turboG mode toosam2004-12-311-3/+6
|
* check if the node/station table is already present before creating one; thissam2004-12-311-8/+11
| | | | can happen on an ibss merge
* include phy mode in scan debug msgsam2004-12-311-2/+3
|
* accept IEEE80211_KEYIX_NONE for a default tx keysam2004-12-311-1/+2
|
* don't return prematurely from processing a beacon or probe response framesam2004-12-311-1/+2
| | | | | 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
* change ieee80211_parse_wmeparams to return a unique value when the iesam2004-12-311-3/+4
| | | | | is invalid so we can distinguish this from needing a parameter update; fixes dynamic update of wme parameters
* remove stray \n from debug msgsam2004-12-311-1/+1
|
* clear wep bit in 802.11 header after crypto decap so packetsam2004-12-311-0/+3
| | | | capture doesn't see it
* o add net.wlan.X.driver_caps mib variable for setting the driver capabilitiessam2004-12-311-3/+6
| | | | | flags for testing o debug msg consistency fixups
* correct pseudo-mic header calculation for QoS framessam2004-12-311-1/+6
|
* whitespace/debug msg fixupssam2004-12-312-8/+7
|
* add ieee80211_hdrspace and ieee80211_anyhdrspace to calculate the spacesam2004-12-311-0/+30
| | | | for an ieee80211 header taking into account padding requirements
* correct header length calculations on tx path for QoS-encapsulated framessam2004-12-313-5/+11
| | | | | when IEEE80211_F_DATAPAD is set (e.g. ath); must use ieee80211_hdrspace instead of ieee80211_hdrsize
* const'ify ivp referencesam2004-12-311-2/+2
|
* add/fixup debug msgssam2004-12-311-2/+15
|
OpenPOWER on IntegriCloud