CVS commit: src/sys/net80211
Module Name:src Committed By: pooka Date: Mon Aug 24 20:58:47 UTC 2015 Modified Files: src/sys/net80211: ieee80211_amrr.c Log Message: + include opt_inet.h for INET (or lack thereof) + include net/in_ether.h, not netinet/in_ether.h (did not cause a meltdown only because opt_inet.h was missing) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/net80211/ieee80211_amrr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: roy Date: Wed Apr 6 14:42:16 UTC 2016 Modified Files: src/sys/net80211: ieee80211_ioctl.h ieee80211_node.c ieee80211_node.h ieee80211_rssadapt.h ieee80211_var.h Log Message: ieee80211 users in Other OS export rssi and noise as int8_t. We should not be the odd one out for no good reason and the majority of the ieee80211 drivers treat rssi as int8_t. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/net80211/ieee80211_ioctl.h cvs rdiff -u -r1.69 -r1.70 src/sys/net80211/ieee80211_node.c cvs rdiff -u -r1.25 -r1.26 src/sys/net80211/ieee80211_node.h cvs rdiff -u -r1.7 -r1.8 src/sys/net80211/ieee80211_rssadapt.h cvs rdiff -u -r1.28 -r1.29 src/sys/net80211/ieee80211_var.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: roy Date: Fri Apr 8 14:30:47 UTC 2016 Modified Files: src/sys/net80211: ieee80211_ioctl.h ieee80211_node.c ieee80211_node.h ieee80211_rssadapt.h ieee80211_var.h Log Message: Revert prior. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/net80211/ieee80211_ioctl.h cvs rdiff -u -r1.70 -r1.71 src/sys/net80211/ieee80211_node.c cvs rdiff -u -r1.26 -r1.27 src/sys/net80211/ieee80211_node.h cvs rdiff -u -r1.8 -r1.9 src/sys/net80211/ieee80211_rssadapt.h cvs rdiff -u -r1.29 -r1.30 src/sys/net80211/ieee80211_var.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Wed Apr 27 20:17:00 UTC 2016 Modified Files: src/sys/net80211: ieee80211.h Log Message: Add 80211n ht frame. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/net80211/ieee80211.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: mlelstv Date: Sat May 7 12:36:50 UTC 2016 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Don't check sequence number on multicast packets in station mode. Handle overflow of 12bit sequence number. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: mlelstv Date: Sat May 14 13:35:40 UTC 2016 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: In station mode filter packets that or not for us in case the interface is in promiscous mode or doesn't filter packets itself. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: ozaki-r Date: Mon Jun 20 08:57:18 UTC 2016 Modified Files: src/sys/net80211: ieee80211_output.c Log Message: Get rid of invalid KASSERT The mbuf being checked is allocated in ieee80211_getmgtframe just above, so checking NULL of its CTX is meaningless. Pointed out by mlelstv@ To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/net80211/ieee80211_output.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Wed Nov 3 20:05:22 UTC 2010 Modified Files: src/sys/net80211: ieee80211.h Log Message: From: Anon Ymous add a few constants so that if_otus.c compiles. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/net80211/ieee80211.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: jmcneill Date: Mon Feb 21 23:50:08 UTC 2011 Modified Files: src/sys/net80211: ieee80211_output.c ieee80211_proto.h Log Message: add ieee80211_get_rts and ieee80211_get_cts_to_self from openbsd, ok dyoung@ To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/net80211/ieee80211_output.c cvs rdiff -u -r1.17 -r1.18 src/sys/net80211/ieee80211_proto.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: cegger Date: Fri Feb 25 08:01:49 UTC 2011 Modified Files: src/sys/net80211: ieee80211_radiotap.h Log Message: sync with FreeBSD rev 1.11. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/net80211/ieee80211_radiotap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: cegger Date: Fri Feb 25 08:04:18 UTC 2011 Modified Files: src/sys/net80211: ieee80211_radiotap.h Log Message: fix botched line break. How did this even compile for me? To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/net80211/ieee80211_radiotap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: tron Date: Fri Feb 25 10:45:57 UTC 2011 Modified Files: src/sys/net80211: ieee80211_radiotap.h Log Message: Remove duplicate definitions which break the build. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/net80211/ieee80211_radiotap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: drochner Date: Sun Apr 3 10:04:32 UTC 2011 Modified Files: src/sys/net80211: ieee80211_crypto_tkip.c Log Message: make michael_mic() robust against degenerate mbuf layouts like odd sizes in the middle of a chain To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/net80211/ieee80211_crypto_tkip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Sun Jun 12 00:07:19 UTC 2011 Modified Files: src/sys/net80211: ieee80211_acl.c ieee80211_ioctl.c ieee80211_ioctl.h Log Message: Change i_len in ieee80211req to be unsigned and fix other signed/unsigned issues. From Dan Rosenberg (drosenberg at vsecurity dot com). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/net80211/ieee80211_acl.c cvs rdiff -u -r1.55 -r1.56 src/sys/net80211/ieee80211_ioctl.c cvs rdiff -u -r1.19 -r1.20 src/sys/net80211/ieee80211_ioctl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: dyoung Date: Fri Oct 7 16:51:45 UTC 2011 Modified Files: src/sys/net80211: ieee80211_netbsd.c ieee80211_netbsd.h ieee80211_node.h Log Message: Use atomic_ops(3) to increase/decrease node reference counts, just like the upstream code did, because the current reference counting is potentially racy. This works fine in light testing. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/net80211/ieee80211_netbsd.c cvs rdiff -u -r1.15 -r1.16 src/sys/net80211/ieee80211_netbsd.h cvs rdiff -u -r1.23 -r1.24 src/sys/net80211/ieee80211_node.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: dyoung Date: Fri Mar 26 17:18:05 UTC 2010 Modified Files: src/sys/net80211: ieee80211.c Log Message: In ieee80211_media_init(), change a pointer that we never write through to a pointer to const. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/net80211/ieee80211.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: dyoung Date: Fri Apr 2 03:46:50 UTC 2010 Modified Files: src/sys/net80211: ieee80211.c Log Message: Delete ieee80211_setbasicrates(). It's buggy, and we drivers can get along fine without it. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/net80211/ieee80211.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Mon Aug 20 07:30:10 UTC 2012 Modified Files: src/sys/net80211: ieee80211.h Log Message: add more QoS bits To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/net80211/ieee80211.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: matt Date: Wed Nov 14 18:34:05 UTC 2012 Modified Files: src/sys/net80211: ieee80211_netbsd.c Log Message: Set max_linkhdr when attaching so when bridging/forwarding ethernet drivers have a chance to reserve enough space to insert a max-sized 802.11 header. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/net80211/ieee80211_netbsd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Thu Jan 10 17:40:10 UTC 2013 Modified Files: src/sys/net80211: ieee80211_input.c ieee80211_node.c ieee80211_proto.c ieee80211_proto.h Log Message: The IEEE80211_F_ flag prefix was used for both the flags in ieee80211_var.h and for the rates in ieee80211_proto.h; rename the rate bits as _R_ to avoid confusion. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/net80211/ieee80211_input.c cvs rdiff -u -r1.63 -r1.64 src/sys/net80211/ieee80211_node.c cvs rdiff -u -r1.29 -r1.30 src/sys/net80211/ieee80211_proto.c cvs rdiff -u -r1.18 -r1.19 src/sys/net80211/ieee80211_proto.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Mon Feb 4 15:44:45 UTC 2013 Modified Files: src/sys/net80211: ieee80211_netbsd.c Log Message: don't print the interface name 2ice. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/net80211/ieee80211_netbsd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Thu Mar 21 17:10:25 UTC 2013 Modified Files: src/sys/net80211: _ieee80211.h Log Message: Don't attempt to dereference ANYC (since it is a pointer to 0x1). Fixes random crashes in hostap mode (race conditions in the interrupt handler while the interface comes up or down). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/net80211/_ieee80211.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Thu Mar 21 18:30:09 UTC 2013 Modified Files: src/sys/net80211: _ieee80211.h ieee80211.c Log Message: Instead of always checking for ANYC, make it a valid channel To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/net80211/_ieee80211.h cvs rdiff -u -r1.53 -r1.54 src/sys/net80211/ieee80211.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Fri Mar 29 02:20:17 UTC 2013 Modified Files: src/sys/net80211: ieee80211_node.c Log Message: trailing blanks police. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/net80211/ieee80211_node.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Fri Mar 29 02:26:45 UTC 2013 Modified Files: src/sys/net80211: ieee80211_node.c Log Message: Don't hold 2 locks at the same time, causes lockdebug panic. Triggered by running usb wifi interfaces as access points. What we do instead is check the generation number upon restart, and if it changed we give up. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/net80211/ieee80211_node.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Fri Mar 29 02:30:18 UTC 2013 Modified Files: src/sys/net80211: ieee80211_node.c Log Message: one we is enough. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/net80211/ieee80211_node.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Sat Mar 30 01:05:49 UTC 2013 Modified Files: src/sys/net80211: ieee80211.h ieee80211_proto.h Log Message: EDCA and QOS additions from OpenBSD To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/net80211/ieee80211.h cvs rdiff -u -r1.19 -r1.20 src/sys/net80211/ieee80211_proto.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Sat Mar 30 01:06:38 UTC 2013 Modified Files: src/sys/net80211: ieee80211.h ieee80211_proto.h Log Message: remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/net80211/ieee80211.h cvs rdiff -u -r1.20 -r1.21 src/sys/net80211/ieee80211_proto.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Sat Mar 30 03:24:55 UTC 2013 Modified Files: src/sys/net80211: ieee80211_crypto_ccmp.c ieee80211_input.c Log Message: remove trailing space To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/net80211/ieee80211_crypto_ccmp.c cvs rdiff -u -r1.73 -r1.74 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Sat Mar 30 03:25:47 UTC 2013 Modified Files: src/sys/net80211: ieee80211.h Log Message: remove obsolete macro To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/net80211/ieee80211.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Sat Mar 30 15:12:28 UTC 2013 Modified Files: src/sys/net80211: ieee80211_crypto_ccmp.c ieee80211_input.c ieee80211_proto.h Log Message: remove trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/net80211/ieee80211_crypto_ccmp.c cvs rdiff -u -r1.74 -r1.75 src/sys/net80211/ieee80211_input.c cvs rdiff -u -r1.21 -r1.22 src/sys/net80211/ieee80211_proto.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Sat Mar 30 19:03:03 UTC 2013 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Putting extra l's in align does not make it more so. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Sun Dec 10 08:48:15 UTC 2017 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Update the pointer after m_pullup, otherwise possible use-after-free. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Sun Dec 10 08:56:24 UTC 2017 Modified Files: src/sys/net80211: ieee80211_crypto.c ieee80211_crypto.h ieee80211_input.c Log Message: Fix use-after-free: ieee80211_crypto_decap does a pullup on the mbuf but the updated pointer is not passed back. Looks like it is triggerable remotely. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/net80211/ieee80211_crypto.c cvs rdiff -u -r1.11 -r1.12 src/sys/net80211/ieee80211_crypto.h cvs rdiff -u -r1.90 -r1.91 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 07:53:02 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c ieee80211_var.h Log Message: Start cleaning up this mess. To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/net80211/ieee80211_input.c cvs rdiff -u -r1.31 -r1.32 src/sys/net80211/ieee80211_var.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 08:39:29 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Split ieee80211_input into three sub-functions, that parse received packets depending on their type: DATA -> ieee80211_input_data MANAGEMENT -> ieee80211_input_management CONTROL-> ieee80211_input_control No real functional change, but makes the code much clearer. To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 09:04:30 UTC 2018 Modified Files: src/sys/net80211: ieee80211_crypto.c Log Message: Update the mbuf pointer when m_pullup succeeds, I forgot this in my last revision (I only fixed the UAF in one branch). Meanwhile, style. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/net80211/ieee80211_crypto.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 09:42:11 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Style, remove pointless XXXs, and add a comment about LLC. To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 14:01:13 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Fix memory leak. If m1 == m, m = NULL, so it's safe to just call m_freem. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 14:37:24 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Fix overflow. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 15:18:37 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: More overflows... To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 15:42:52 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Start splitting ieee80211_recv_mgmt. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 15:48:32 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Introduce ieee80211_recv_mgmt_auth. To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 15:55:14 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Introduce ieee80211_recv_mgmt_assoc_req. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 16:00:17 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Introduce ieee80211_recv_mgmt_assoc_resp. To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 16:04:17 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Introduce ieee80211_recv_mgmt_deauth. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 16:09:30 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Introduce ieee80211_recv_mgmt_disassoc. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 16:20:57 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Style on the new functions. To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 16:31:38 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Gather related code. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 16:54:54 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Add comments about the length checks, and check xrates. To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Jan 16 18:53:32 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c ieee80211_node.c Log Message: Various fixes: style, remove tiring XXXs, and prevent integer overflow in ieee80211_setup_rates (normally it already can't happen, because I added a length check on xrates in ieee80211_recv_mgmt_beacon). To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/sys/net80211/ieee80211_input.c cvs rdiff -u -r1.73 -r1.74 src/sys/net80211/ieee80211_node.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Wed Jan 17 16:03:16 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Several changes: * Style in several places, to make the code more readable or easier to understand. * Instead of checking m->m_pkthdr.len, check m->m_len. m_pkthdr.len is the total size of the packet, not the size of the current mbuf (which may be smaller). * Add a missing length check when handling QoS frames. * Cast the lengths passed in IEEE80211_VERIFY_LENGTH to size_t. * Remove the length check on scan.sp_xrates, that I added yesterday. xrates gets silently truncated in ieee80211_setup_rates(). * Fix several buffer overflows in the parsers of the MANAGEMENT frames. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Wed Jan 17 17:41:38 UTC 2018 Modified Files: src/sys/net80211: ieee80211_crypto.c ieee80211_crypto_ccmp.c ieee80211_crypto_tkip.c ieee80211_crypto_wep.c Log Message: Style, and fix two pretty bad mistakes in the crypto functions: * They call M_PREPEND, but don't pass the updated pointer back to the caller. * They use memmove on the mbuf data, but they don't ensure that the area they touch is contiguous. This fix is not complete, ieee80211_crypto_encap too needs to pass back the updated pointer. This will be done in another commit. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/net80211/ieee80211_crypto.c cvs rdiff -u -r1.11 -r1.12 src/sys/net80211/ieee80211_crypto_ccmp.c cvs rdiff -u -r1.12 -r1.13 src/sys/net80211/ieee80211_crypto_tkip.c cvs rdiff -u -r1.9 -r1.10 src/sys/net80211/ieee80211_crypto_wep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Thu Jan 18 13:24:01 UTC 2018 Modified Files: src/sys/net80211: ieee80211_output.c Log Message: Several changes: * Make the code more readable. In particular, declare variables as const along the way. * Explain what we're doing in ieee80211_send_mgmt(). The IEEE80211_FC0_SUBTYPE_PROBE_RESP case has some inconsistencies, but they are not inherently wrong so I'm not changing that. * When sending IEEE80211_FC0_SUBTYPE_REASSOC_RESP frames, make sure to zero out the 'association ID', otherwise two bytes are leaked. * Fix a possible memory leak in ieee80211_send_probereq(). To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/net80211/ieee80211_output.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Thu Jan 18 16:23:43 UTC 2018 Modified Files: src/sys/net80211: ieee80211_output.c Log Message: Several changes: * Make the code more readable. * Add a panic in ieee80211_compute_duration(). I'm not sure there's a bug here - I don't have the hardware -, but looking at the code, it may be possible for 'paylen' to go negative. Obviously that's not the correct way to fix it, but at least we'll see if it happens. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/net80211/ieee80211_output.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Thu Jan 18 17:57:49 UTC 2018 Modified Files: src/sys/net80211: ieee80211_netbsd.c Log Message: Style, and zero out 'ns' entirely, otherwise some bytes get leaked to userland (eg ns_rsvd0). To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/net80211/ieee80211_netbsd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Thu Jan 18 17:59:29 UTC 2018 Modified Files: src/sys/net80211: ieee80211_node.c Log Message: Style, no functional change. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sys/net80211/ieee80211_node.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Fri Jan 19 07:52:37 UTC 2018 Modified Files: src/sys/net80211: ieee80211_crypto.c Log Message: Style, and make sure that there is a header+trailer included in the packet. The crypto functions can touch the trailer, but they don't check whether it's there in the first place. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/net80211/ieee80211_crypto.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Fri Jan 19 07:53:46 UTC 2018 Modified Files: src/sys/net80211: ieee80211_crypto_none.c Log Message: Style, no functional change. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/net80211/ieee80211_crypto_none.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Fri Jan 19 07:54:34 UTC 2018 Modified Files: src/sys/net80211: ieee80211_crypto_ccmp.c Log Message: Style, no functional change. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/net80211/ieee80211_crypto_ccmp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Fri Jan 19 07:57:50 UTC 2018 Modified Files: src/sys/net80211: ieee80211_crypto_tkip.c Log Message: Style, and check the return value of m_append. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/net80211/ieee80211_crypto_tkip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Fri Jan 19 07:58:25 UTC 2018 Modified Files: src/sys/net80211: ieee80211_crypto_wep.c Log Message: Style, no functional change. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/net80211/ieee80211_crypto_wep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Sun Jan 21 14:13:49 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Appease the overflow check, 4 is enough. To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Sun Jan 21 14:18:21 UTC 2018 Modified Files: src/sys/net80211: ieee80211_node.h Log Message: Switch sp_timoff to u_int16_t, to prevent possible overflow in ieee80211_recv_mgmt_beacon(). Actually this field is unused. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/net80211/ieee80211_node.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue Apr 10 07:53:36 UTC 2018 Modified Files: src/sys/net80211: ieee80211_crypto.c Log Message: Improve an XXX of mine, and fix one stat. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/net80211/ieee80211_crypto.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Thu May 3 17:14:37 UTC 2018 Modified Files: src/sys/net80211: ieee80211_crypto_ccmp.c ieee80211_crypto_wep.c ieee80211_netbsd.h ieee80211_output.c Log Message: Remove ovbcopy from net80211. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/net80211/ieee80211_crypto_ccmp.c cvs rdiff -u -r1.11 -r1.12 src/sys/net80211/ieee80211_crypto_wep.c cvs rdiff -u -r1.20 -r1.21 src/sys/net80211/ieee80211_netbsd.h cvs rdiff -u -r1.61 -r1.62 src/sys/net80211/ieee80211_output.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Fri May 4 11:25:24 UTC 2018 Modified Files: src/sys/net80211: ieee80211_ioctl.h Log Message: Remove duplicate macros. Reported in PR/29786. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/net80211/ieee80211_ioctl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Tue May 8 07:02:07 UTC 2018 Modified Files: src/sys/net80211: ieee80211_crypto.c ieee80211_input.c ieee80211_output.c ieee80211_var.h Log Message: Remove three useless debug messages, remove meaningless XXXs, and remove ieee80211_note_frame (unused). To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/net80211/ieee80211_crypto.c cvs rdiff -u -r1.110 -r1.111 src/sys/net80211/ieee80211_input.c cvs rdiff -u -r1.62 -r1.63 src/sys/net80211/ieee80211_output.c cvs rdiff -u -r1.32 -r1.33 src/sys/net80211/ieee80211_var.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: roy Date: Tue Oct 6 23:51:06 UTC 2020 Modified Files: src/sys/net80211: ieee80211.c Log Message: net80211: Initialise the interface with a decent link state. Link state transitions to UP when a node is joined and DOWN when left. This means that with the interface UP, the link state could be UNKNOWN for a while, implying it can be used in BSS mode. Which is of course false. Add a function to set an initial link state based on the operating mode. Also call this when the operating mode changes. Basically in BSS and MONITOR it starts off down. BSS will transition UP and DOWN as before, MONITOR will stay down. IBSS, AHDEMO and HOSTAP will remain as link unknown because the state is . unknown. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/net80211/ieee80211.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: mlelstv Date: Tue Nov 3 15:06:50 UTC 2020 Modified Files: src/sys/net80211: ieee80211_crypto_ccmp.c ieee80211_crypto_tkip.c ieee80211_crypto_wep.c Log Message: Use kmem_* instead of malloc/free and use interrupt versions as the code can be called from interrupt. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/net80211/ieee80211_crypto_ccmp.c cvs rdiff -u -r1.16 -r1.17 src/sys/net80211/ieee80211_crypto_tkip.c cvs rdiff -u -r1.12 -r1.13 src/sys/net80211/ieee80211_crypto_wep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: martin Date: Thu Sep 12 20:44:02 UTC 2013 Modified Files: src/sys/net80211: ieee80211_ioctl.c Log Message: Fix return value of ieee80211_ioctl_setoptie To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/net80211/ieee80211_ioctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Sat Jan 25 00:59:44 UTC 2014 Modified Files: src/sys/net80211: ieee80211_ioctl.c Log Message: fix monitor mode channel. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/net80211/ieee80211_ioctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: pooka Date: Mon Apr 7 00:07:40 UTC 2014 Modified Files: src/sys/net80211: ieee80211_netbsd.c ieee80211_netbsd.h ieee80211_rssadapt.c Log Message: Use module-compatible sysctl init instead of link sets. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/net80211/ieee80211_netbsd.c cvs rdiff -u -r1.18 -r1.19 src/sys/net80211/ieee80211_netbsd.h \ src/sys/net80211/ieee80211_rssadapt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: jakllsch Date: Thu Dec 19 15:27:07 UTC 2019 Modified Files: src/sys/net80211: ieee80211_node.c Log Message: Do not associate with with any access point if no SSID has been configured. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/net80211/ieee80211_node.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: jakllsch Date: Thu Dec 19 15:54:21 UTC 2019 Modified Files: src/sys/net80211: ieee80211_node.c Log Message: Add comment for previous. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/net80211/ieee80211_node.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: kamil Date: Thu Dec 19 16:29:51 UTC 2019 Modified Files: src/sys/net80211: ieee80211_crypto_tkip.c Log Message: Avoid changing signedness bit with << 24 in ieee80211_crypto_tkip.c Reported by To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/net80211/ieee80211_crypto_tkip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: thorpej Date: Wed Jan 29 05:21:14 UTC 2020 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Adopt . To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: mlelstv Date: Sat Feb 29 16:56:58 UTC 2020 Modified Files: src/sys/net80211: ieee80211_output.c Log Message: Fix printf to handle various datatypes for MHLEN. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/net80211/ieee80211_output.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: mrg Date: Mon Jul 13 05:40:25 UTC 2020 Modified Files: src/sys/net80211: ieee80211_proto.c Log Message: i hit an assert in this code but we weren't sure why. for now, add the ostate and nstate values for further diagnosis to the assert message. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/net80211/ieee80211_proto.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: riastradh Date: Sat Jul 25 22:27:05 UTC 2020 Modified Files: src/sys/net80211: ieee80211_crypto_ccmp.c Log Message: Convert malloc -> kmem. Switch order of members for better alignment. Sort includes. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/net80211/ieee80211_crypto_ccmp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: riastradh Date: Tue Jul 28 15:41:26 UTC 2020 Modified Files: src/sys/net80211: ieee80211_crypto_ccmp.c Log Message: Omit now-unused function. Ceased to be needed with the AES CCM changes. For some reason gcc didn't complain about this, but clang did. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/net80211/ieee80211_crypto_ccmp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Tue Sep 27 20:20:06 UTC 2016 Modified Files: src/sys/net80211: ieee80211_input.c ieee80211_netbsd.c ieee80211_node.c ieee80211_rssadapt.c ieee80211_var.h Log Message: - use ether_snprintf() so that we don't overwrite our buffer for printing ethernet-like addresses - make this compile againw without IEEE80211_DEBUG. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/net80211/ieee80211_input.c cvs rdiff -u -r1.27 -r1.28 src/sys/net80211/ieee80211_netbsd.c cvs rdiff -u -r1.71 -r1.72 src/sys/net80211/ieee80211_node.c cvs rdiff -u -r1.20 -r1.21 src/sys/net80211/ieee80211_rssadapt.c cvs rdiff -u -r1.30 -r1.31 src/sys/net80211/ieee80211_var.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: christos Date: Sun Oct 9 14:50:20 UTC 2016 Modified Files: src/sys/net80211: ieee80211_crypto_wep.c Log Message: PR/51540: Henning Petersen: replace , with ; To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/net80211/ieee80211_crypto_wep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: ozaki-r Date: Mon Mar 6 08:36:20 UTC 2017 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Fix incrementing wrong counter To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Thu Jun 21 16:53:10 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: Fix use-after-free, m_cat can free m. To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: maxv Date: Thu Jun 21 17:03:45 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c Log Message: remove unused arguments To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/net80211/ieee80211_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.