aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211
Commit message (Collapse)AuthorAgeFilesLines
* MFC from 1.113: correct reason code returned when a sta tries toSam Leffler2007-10-281-1/+1
| | | | | | | associate to an ap operating with WPA/RSN but without a WPA/RSN ie Notes: svn path=/stable/6/; revision=173109
* MFC from 1.110: check xrates is not null before derefSam Leffler2007-10-281-0/+3
| | | | Notes: svn path=/stable/6/; revision=173106
* MFC 1.87: Close longstanding race dropping inactive stations; grabSam Leffler2007-10-281-0/+2
| | | | | | | | a reference to the node before starting the work, otherwise the node may go away before a reference is made in ieee80211_send_mgmt. Notes: svn path=/stable/6/; revision=173105
* MFC: add IEEE80211_KEY_UNDEFINED and use it instead of local defsSam Leffler2007-03-313-7/+10
| | | | | | | Obtained from: netbsd Notes: svn path=/stable/6/; revision=168187
* MFC 1.102: move __inline before type to appease gcc 4.xSam Leffler2007-03-311-5/+5
| | | | | | | Obtained from: netbsd Notes: svn path=/stable/6/; revision=168184
* MFC 1.99: clear/reclaim challenge text when switching auth mode andSam Leffler2007-03-311-0/+9
| | | | | | | | | operating as an ap Obtained from: Atheros Notes: svn path=/stable/6/; revision=168182
* MFC 1.101: discard deauth+disassoc frames that are not destined for us;Sam Leffler2007-03-311-0/+10
| | | | | | | | | these can be received when the interface is in promisc mode Obtained from: netbsd Notes: svn path=/stable/6/; revision=168181
* sync w/ HEADSam Leffler2007-03-311-18/+16
| | | | Notes: svn path=/stable/6/; revision=168170
* MFC: expose IEEE80211_DISCARD, IEEE80211_DISCARD_IE, andSam Leffler2007-03-312-33/+34
| | | | | | | | IEEE80211_DISCARD_MAC so they can be used within net80211 but outside ieee80211_input.c Notes: svn path=/stable/6/; revision=168169
* MFC 1.106: improve debug msg for ie's that are too shortSam Leffler2007-03-311-1/+2
| | | | Notes: svn path=/stable/6/; revision=168168
* MFC: keep tx/rx seq #'s for non-QoS traffic separate from QoS; stationsSam Leffler2007-03-315-10/+11
| | | | | | | | | aren't supposed mix traffic but if they did frames might be mis-handled Obtained from: Atheros Notes: svn path=/stable/6/; revision=168166
* MFC 1.104: split check for rate set mismatch on assoc req away fromSam Leffler2007-03-311-10/+21
| | | | | | | check for pure 11g mode so we can give meaningful diagnostic msgs Notes: svn path=/stable/6/; revision=168165
* MFC 1.103: disallow re-associate with a slot time mismatchSam Leffler2007-03-311-8/+27
| | | | | | | Obtained from: Atheros Notes: svn path=/stable/6/; revision=168164
* MFC 1.36: change ieee80211_mhz2ieee to use the PSB mapping when theSam Leffler2007-03-311-2/+4
| | | | | | | | frequency falls in the proper place, not when we're handed a 1/2 or 1/4-rate channel Notes: svn path=/stable/6/; revision=168163
* remove dead codeSam Leffler2007-03-311-8/+1
| | | | | | | | Coverity CID: 1082 Found with: Coverity Prevent(tm) Notes: svn path=/stable/6/; revision=168145
* MFC: power save fix:Sam Leffler2007-03-212-13/+38
| | | | | | | | | | | | | | | 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> Notes: svn path=/stable/6/; revision=167758
* MFC 1.79: when starting up an ibss master use a random address for the bssidSam Leffler2007-03-211-2/+5
| | | | | | | Obtained from: Atheros Notes: svn path=/stable/6/; revision=167757
* MFC 1.46: correct conversions between TU and ms/ticksSam Leffler2007-03-191-3/+3
| | | | | | | Submitted by: sephe Notes: svn path=/stable/6/; revision=167692
* MFC: Correct several issues with rate set negotiationSam Leffler2007-03-104-40/+46
| | | | | | | | Submitted by: Sepherosa Ziehau (w/ modifications) Obtained from: DragonFly Notes: svn path=/stable/6/; revision=167397
* MFC: Fix potential node refcnt leakSam Leffler2007-03-103-7/+31
| | | | | | | | Submitted by: Sepherosa Ziehau Obtained from: DragonFly Notes: svn path=/stable/6/; revision=167396
* MFC 1.7: add IEEE80211_IS_CHAN_PASSIVESam Leffler2007-03-101-0/+2
| | | | Notes: svn path=/stable/6/; revision=167395
* MFC: half- and quarter-rate channel supportSam Leffler2007-01-286-85/+203
| | | | | | | | | 900MHz channel support support for respecifying the channel set after attach default rate sets Notes: svn path=/stable/6/; revision=166295
* MFC 1.10: reduce user-visible namespace to just what is neededSam Leffler2007-01-261-0/+2
| | | | Notes: svn path=/stable/6/; revision=166254
* MFC 1.43: add rate control debug msg bitSam Leffler2007-01-251-0/+1
| | | | Notes: svn path=/stable/6/; revision=166224
* MFC: Change the life cycle of bpf interface objects to close attach/detachJohn Baldwin2007-01-191-4/+4
| | | | | | | | 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. Notes: svn path=/stable/6/; revision=166110
* This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-12-132-0/+228
| | | | Notes: svn path=/stable/6/; revision=165141
* MFC: statistics fixups:Sam Leffler2006-09-022-18/+77
| | | | | | | | | | | | | | | | | | | | | 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). Notes: svn path=/stable/6/; revision=161900
* MFC: minor fixups (mostly statistics)Sam Leffler2006-09-022-8/+22
| | | | Notes: svn path=/stable/6/; revision=161892
* MFC 1.42: add per-sta ucast/mcast statsSam Leffler2006-09-021-0/+4
| | | | Notes: svn path=/stable/6/; revision=161891
* MFC 1.47: power save mode state changes should not require clocking...Sam Leffler2006-08-101-0/+7
| | | | Notes: svn path=/stable/6/; revision=161155
* MFC 1.93: correct ie length checkSam Leffler2006-08-101-8/+8
| | | | Notes: svn path=/stable/6/; revision=161154
* MFC: add IEEE80211_IOC_BMISSTHRESHOLD for managing theSam Leffler2006-08-102-0/+11
| | | | | | | beacon miss threshold Notes: svn path=/stable/6/; revision=161149
* MFC: shuffle some definitions to a public locationSam Leffler2006-08-102-7/+24
| | | | Notes: svn path=/stable/6/; revision=161148
* sync w/ HEAD: add some useful definitionsSam Leffler2006-07-101-0/+6
| | | | Notes: svn path=/stable/6/; revision=160224
* MFC 1.75:Sam Leffler2006-07-101-14/+8
| | | | | | | | | 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. Notes: svn path=/stable/6/; revision=160223
* MFC 1.74:Sam Leffler2006-07-101-1/+12
| | | | | | | | | | 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. Notes: svn path=/stable/6/; revision=160222
* MFC 1.12: remove duplicate ifname in debug msgSam Leffler2006-07-101-2/+1
| | | | Notes: svn path=/stable/6/; revision=160221
* MFC 1.46: implement set(IEEE80211_IOC_STA_STATS) for hostapdSam Leffler2006-04-031-0/+28
| | | | | | | Approved by: re (hrs) Notes: svn path=/stable/6/; revision=157435
* MFC 1.40: when doing s/w crypto make sure work is done w/ a writableSam Leffler2006-03-231-0/+15
| | | | | | | | | | mbuf chain; this corrects problems with drivers that rely on the host to do crypto Approved by: re (hrs) Notes: svn path=/stable/6/; revision=157063
* MFC 1.90: use m_dup instead of m_copypacket when doing internal bridgingSam Leffler2006-03-141-1/+1
| | | | | | | | | in case packets are modified (e.g. encrypted) Approved by: re (scottl) Notes: svn path=/stable/6/; revision=156724
* MFC 1.30: fix switching between agressive and non-agressive wmm modesSam Leffler2006-03-131-2/+2
| | | | | | | Approved by: re (mux) Notes: svn path=/stable/6/; revision=156668
* MFC 1.89: deliver an l2uf frame on sta join to prime the bridgeSam Leffler2006-03-131-0/+51
| | | | | | | Approved by: re (mux) Notes: svn path=/stable/6/; revision=156667
* MFC: when scanning channels marked passive defer probe request untilSam Leffler2006-03-135-12/+45
| | | | | | | | | 802.11 traffic is seend; fixes problems with ap's hiding their ssid Approved by: re (mux) Notes: svn path=/stable/6/; revision=156632
* MFC 1.39: consolidate calculation of capabilities ieSam Leffler2006-03-111-47/+34
| | | | | | | Approved by: re (scottl) Notes: svn path=/stable/6/; revision=156580
* MFC: make driver override of net80211 parameter state consistent with methodsSam Leffler2006-03-112-5/+4
| | | | | | | Approved by: re (scottl) Notes: svn path=/stable/6/; revision=156579
* MFC 1.45: honor user-specified key index for global key slotsSam Leffler2006-02-281-0/+6
| | | | | | | Approved by: re (scottl) Notes: svn path=/stable/6/; revision=156097
* MFC 1.44: treat setting the optional ie to a zero-length datum toSam Leffler2006-02-231-7/+17
| | | | | | | | | mean "delete the ie" Approved by: re (scottl) Notes: svn path=/stable/6/; revision=155933
* MFC: s/w beacon miss facilitySam Leffler2006-02-163-4/+49
| | | | | | | Approved by: re (scottl) Notes: svn path=/stable/6/; revision=155760
* MFC 1.38: set the mgt frame tx timer before dispatching the frame to the driverSam Leffler2006-02-151-8/+10
| | | | | | | Approved by: re (scottl) Notes: svn path=/stable/6/; revision=155706
* pad embedded structs so we can preserve abi's moving forwardSam Leffler2006-02-123-0/+4
| | | | | | | | Reviewed by: scottl, dwhite, kensmith, avatar Approved by: re Notes: svn path=/stable/6/; revision=155584