sephe
d15554fc2f
MFC 1.115: fix use with altq
...
Approved by: sam(mentor), re(kensmith)
2008-02-06 11:45:25 +00:00
sam
49722e786a
MFC from 1.113: correct reason code returned when a sta tries to
...
associate to an ap operating with WPA/RSN but without a WPA/RSN ie
2007-10-28 18:04:15 +00:00
sam
e53b2527be
MFC from 1.110: check xrates is not null before deref
2007-10-28 17:48:21 +00:00
sam
c6b8233846
MFC 1.87: Close longstanding race dropping inactive stations; grab
...
a reference to the node before starting the work, otherwise the
node may go away before a reference is made in ieee80211_send_mgmt.
2007-10-28 17:46:39 +00:00
sam
804648e546
MFC: add IEEE80211_KEY_UNDEFINED and use it instead of local defs
...
Obtained from: netbsd
2007-03-31 22:49:55 +00:00
sam
7f0211f809
MFC 1.102: move __inline before type to appease gcc 4.x
...
Obtained from: netbsd
2007-03-31 22:42:45 +00:00
sam
a9e655b0b3
MFC 1.99: clear/reclaim challenge text when switching auth mode and
...
operating as an ap
Obtained from: Atheros
2007-03-31 22:34:57 +00:00
sam
da9f4c9540
MFC 1.101: discard deauth+disassoc frames that are not destined for us;
...
these can be received when the interface is in promisc mode
Obtained from: netbsd
2007-03-31 22:31:36 +00:00
sam
5844ed10bf
sync w/ HEAD
2007-03-31 21:55:11 +00:00
sam
0442eb3fd8
MFC: expose IEEE80211_DISCARD, IEEE80211_DISCARD_IE, and
...
IEEE80211_DISCARD_MAC so they can be used within
net80211 but outside ieee80211_input.c
2007-03-31 21:53:08 +00:00
sam
33d139239f
MFC 1.106: improve debug msg for ie's that are too short
2007-03-31 21:50:53 +00:00
sam
e35d16a13a
MFC: keep tx/rx seq #'s for non-QoS traffic separate from QoS; stations
...
aren't supposed mix traffic but if they did frames might be mis-handled
Obtained from: Atheros
2007-03-31 21:49:28 +00:00
sam
b73801d433
MFC 1.104: split check for rate set mismatch on assoc req away from
...
check for pure 11g mode so we can give meaningful diagnostic msgs
2007-03-31 21:45:55 +00:00
sam
2822b1cc98
MFC 1.103: disallow re-associate with a slot time mismatch
...
Obtained from: Atheros
2007-03-31 21:44:41 +00:00
sam
c1059823eb
MFC 1.36: change ieee80211_mhz2ieee to use the PSB mapping when the
...
frequency falls in the proper place, not when we're handed
a 1/2 or 1/4-rate channel
2007-03-31 21:42:21 +00:00
sam
e04dc0c1b8
remove dead code
...
Coverity CID: 1082
Found with: Coverity Prevent(tm)
2007-03-31 19:11:19 +00:00
sam
50ad12ffaa
MFC: power save fix:
...
When dispatching frames saved on the power save queue to a
station exiting power save mode prepend them to the driver's
send q instead of appending them. This insures the packets
are not misordered wrt any packets already q'd for the station.
This corrects a problem noticed when using a VoIP phone talking
to an ath card in ap mode; the misordered packets caused noise.
Submitted by: "J.R. Oldroyd" <jr@opal.com>
2007-03-21 05:01:44 +00:00
sam
d27615575e
MFC 1.79: when starting up an ibss master use a random address for the bssid
...
Obtained from: Atheros
2007-03-21 04:56:38 +00:00
sam
d4ffe23b32
MFC 1.46: correct conversions between TU and ms/ticks
...
Submitted by: sephe
2007-03-19 05:27:18 +00:00
sam
03123b2cb5
MFC: Correct several issues with rate set negotiation
...
Submitted by: Sepherosa Ziehau (w/ modifications)
Obtained from: DragonFly
2007-03-10 00:33:47 +00:00
sam
87823eabb6
MFC: Fix potential node refcnt leak
...
Submitted by: Sepherosa Ziehau
Obtained from: DragonFly
2007-03-10 00:31:03 +00:00
sam
b900ca9d90
MFC 1.7: add IEEE80211_IS_CHAN_PASSIVE
2007-03-10 00:28:43 +00:00
sam
c48f416515
MFC: half- and quarter-rate channel support
...
900MHz channel support
support for respecifying the channel set after attach
default rate sets
2007-01-28 04:07:54 +00:00
sam
473caab65c
MFC 1.10: reduce user-visible namespace to just what is needed
2007-01-26 06:48:07 +00:00
sam
d034c91e3a
MFC 1.43: add rate control debug msg bit
2007-01-25 17:39:21 +00:00
jhb
bd48914a94
MFC: Change the life cycle of bpf interface objects to close attach/detach
...
races with bpf(4). This includes shims to preserve the ABI for any old
modules. For more details see the commit log for 1.166 of sys/net/bpf.c.
2007-01-19 23:01:34 +00:00
cvs2svn
c712674dad
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.
2006-12-13 02:37:49 +00:00
sam
fa95e80fa3
MFC: statistics fixups:
...
o change rssi to be signed in ieee80211_nodestats
o add noise floor in ieee80211_nodestats (use an implicit hole to
preserve layout); return it as zero until we can update the api's
so the driver can provide noise floor data
o add a bandaid so IEEE80211_IOC_STA_STATS works for sta mode; when
all nodes are in the station table this will no longer be needed
o fix braino in IEEE80211_IOC_STA_INFO implementation; was supposed
to take a mac address and return info for that sta or all stations
if ff:ff:ff:ff:ff was supplied--but somehow this didn't get implemented;
implement the intended semantics and leave a compat shim at the old
ioctl number for the previous api
Note this changes the api for IEEE80211_IOC_STA_INFO but old binaries
will continue to work. FreeBSD_version bumped so apps can track the
change (no such applications are known to exist but just in case).
2006-09-02 17:09:26 +00:00
sam
f010108be3
MFC: minor fixups (mostly statistics)
2006-09-02 15:16:12 +00:00
sam
d8676a1b3e
MFC 1.42: add per-sta ucast/mcast stats
2006-09-02 15:06:04 +00:00
sam
b1418fef41
MFC 1.47: power save mode state changes should not require clocking...
2006-08-10 06:23:37 +00:00
sam
1c11bdb679
MFC 1.93: correct ie length check
2006-08-10 06:21:50 +00:00
sam
e8143f6360
MFC: add IEEE80211_IOC_BMISSTHRESHOLD for managing the
...
beacon miss threshold
2006-08-10 06:08:22 +00:00
sam
2070ea2ad7
MFC: shuffle some definitions to a public location
2006-08-10 06:07:49 +00:00
sam
7bc92c7182
sync w/ HEAD: add some useful definitions
2006-07-10 00:47:49 +00:00
sam
f58c250c14
MFC 1.75:
...
Move conditional preprocessing out from the IEEE80211_DPRINTF macro
invocation. Per C99 6.10.3 paragraph 11 preprocessing directives
appearing as macro arguments yield undefined behavior.
2006-07-10 00:46:27 +00:00
sam
eab2fe7180
MFC 1.74:
...
Ensure outbound data packets in hostap mode are delivered only
to stations that are associated by making ieee80211_find_txnode
return NULL when a unicast frame is to be delivered to an
unassociated station.
2006-07-10 00:44:47 +00:00
sam
6440d09f41
MFC 1.12: remove duplicate ifname in debug msg
2006-07-10 00:41:00 +00:00
sam
927d42ef69
MFC 1.46: implement set(IEEE80211_IOC_STA_STATS) for hostapd
...
Approved by: re (hrs)
2006-04-03 17:21:05 +00:00
sam
21d8390100
MFC 1.40: when doing s/w crypto make sure work is done w/ a writable
...
mbuf chain; this corrects problems with drivers that rely on the
host to do crypto
Approved by: re (hrs)
2006-03-23 23:28:43 +00:00
sam
e282b849e6
MFC 1.90: use m_dup instead of m_copypacket when doing internal bridging
...
in case packets are modified (e.g. encrypted)
Approved by: re (scottl)
2006-03-14 23:24:02 +00:00
sam
40da564e5c
MFC 1.30: fix switching between agressive and non-agressive wmm modes
...
Approved by: re (mux)
2006-03-13 03:10:31 +00:00
sam
c605b0cd8f
MFC 1.89: deliver an l2uf frame on sta join to prime the bridge
...
Approved by: re (mux)
2006-03-13 03:09:18 +00:00
sam
d17fa08a65
MFC: when scanning channels marked passive defer probe request until
...
802.11 traffic is seend; fixes problems with ap's hiding their ssid
Approved by: re (mux)
2006-03-13 03:05:48 +00:00
sam
5c0c80d1e4
MFC 1.39: consolidate calculation of capabilities ie
...
Approved by: re (scottl)
2006-03-11 19:30:14 +00:00
sam
68f03e9a31
MFC: make driver override of net80211 parameter state consistent with methods
...
Approved by: re (scottl)
2006-03-11 19:25:23 +00:00
sam
287e53e251
MFC 1.45: honor user-specified key index for global key slots
...
Approved by: re (scottl)
2006-02-28 02:02:43 +00:00
sam
44cbc2ce07
MFC 1.44: treat setting the optional ie to a zero-length datum to
...
mean "delete the ie"
Approved by: re (scottl)
2006-02-23 02:03:39 +00:00
sam
6ce8ffbd75
MFC: s/w beacon miss facility
...
Approved by: re (scottl)
2006-02-16 16:57:24 +00:00
sam
9864643933
MFC 1.38: set the mgt frame tx timer before dispatching the frame to the driver
...
Approved by: re (scottl)
2006-02-15 03:21:15 +00:00