1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00
freebsd/sys/net80211
Adrian Chadd 66b74386c7 Attempt to catch scan cancellations at exactly the wrong time from occuring.
The scan code unlocks the comlock and calls into the driver.  It then
assumes the state hasn't changed from underneath it.

Although I haven't seen this particular condition trigger, I'd like to
be informed if I or anyone else sees it.

What I'm thinking may occur:

* A cancellation comes in during the scan_end call;
* the cancel flag is set;
* but it's never checked, so scandone isn't updated;
* .. and the interface stays in the STA power save mode.

It's a subtle race, if it even exists.

PR:		kern/163318
2012-03-02 02:53:43 +00:00
..
_ieee80211.h Revert r220907 and r220915. 2011-04-22 00:44:27 +00:00
ieee80211_acl.c Remove now redundant mac argument. 2011-12-17 10:32:31 +00:00
ieee80211_action.c
ieee80211_action.h
ieee80211_adhoc.c Fix some corner cases in the net80211 sequence number retransmission 2011-05-04 02:23:59 +00:00
ieee80211_adhoc.h
ieee80211_ageq.c Fix memset sizeofs 2011-07-07 15:41:40 +00:00
ieee80211_ageq.h
ieee80211_alq.c Fix up the net80211 alq logging - this commit makes it usable. 2011-05-11 17:20:35 +00:00
ieee80211_alq.h Implement very basic ALQ logging for net80211. 2011-04-21 03:59:37 +00:00
ieee80211_amrr.c sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. 2011-01-12 19:53:50 +00:00
ieee80211_amrr.h
ieee80211_crypto_ccmp.c
ieee80211_crypto_none.c
ieee80211_crypto_tkip.c
ieee80211_crypto_wep.c
ieee80211_crypto.c
ieee80211_crypto.h
ieee80211_ddb.c
ieee80211_dfs.c Add a DFS debugging mode which is useful when doing automated DFS 2012-01-31 00:03:49 +00:00
ieee80211_dfs.h Add a DFS debugging mode which is useful when doing automated DFS 2012-01-31 00:03:49 +00:00
ieee80211_freebsd.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
ieee80211_freebsd.h
ieee80211_hostap.c Remove now redundant mac argument. 2011-12-17 10:32:31 +00:00
ieee80211_hostap.h
ieee80211_ht.c MCS32 equals 32, not 8*ic_txstream. 2012-01-02 16:02:30 +00:00
ieee80211_ht.h Complete the MCS rate table based on the final 802.11n std. While here 2011-03-10 18:17:24 +00:00
ieee80211_hwmp.c Missing code for receiving MESH PREP that should be part of r230409. 2012-01-29 19:35:40 +00:00
ieee80211_input.c Print out the bogus beacon interval. 2012-02-28 21:41:47 +00:00
ieee80211_input.h Fix some corner cases in the net80211 sequence number retransmission 2011-05-04 02:23:59 +00:00
ieee80211_ioctl.c Add the ability to kick an existing mesh node without waiting for it 2012-01-11 17:10:27 +00:00
ieee80211_ioctl.h Track the number of bad beacons received. 2012-02-28 04:05:35 +00:00
ieee80211_mesh.c Correct the 802.11s mesh configuration structure and related tidbits. 2012-02-13 07:47:36 +00:00
ieee80211_mesh.h Correct the 802.11s mesh configuration structure and related tidbits. 2012-02-13 07:47:36 +00:00
ieee80211_monitor.c
ieee80211_monitor.h
ieee80211_node.c Revert r220907 and r220915. 2011-04-22 00:44:27 +00:00
ieee80211_node.h Remove redundant forward declaration of struct ieee80211com. 2012-02-20 15:05:21 +00:00
ieee80211_output.c Hold IF_LOCK when manipulating the interface flags. 2012-02-24 05:40:36 +00:00
ieee80211_phy.c
ieee80211_phy.h
ieee80211_power.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
ieee80211_power.h
ieee80211_proto.c Although it's documented that the vap newstate call can drop the 2012-02-24 05:39:00 +00:00
ieee80211_proto.h Remove now redundant mac argument. 2011-12-17 10:32:31 +00:00
ieee80211_radiotap.c Add the MCS radiotype entry. 2012-01-11 01:09:08 +00:00
ieee80211_radiotap.h Add a radiotap vendor header definition. 2012-02-24 05:33:11 +00:00
ieee80211_ratectl_none.c Some device drivers calculate various timing related things based on 2010-11-13 14:59:54 +00:00
ieee80211_ratectl.c Instead of using the AMRR ratectl algo as default for drivers which have 2010-11-06 18:17:20 +00:00
ieee80211_ratectl.h The ni_rctls checks are used to verify that a ratectl algo has set up 2010-11-14 09:59:52 +00:00
ieee80211_regdomain.c
ieee80211_regdomain.h
ieee80211_rssadapt.c
ieee80211_rssadapt.h
ieee80211_scan_sta.c When setting a fixed channel on adapters with 11n support the scan 2011-08-08 16:29:07 +00:00
ieee80211_scan.c Attempt to catch scan cancellations at exactly the wrong time from occuring. 2012-03-02 02:53:43 +00:00
ieee80211_scan.h Add 802.11h quiet time element support into net80211. 2011-11-08 04:00:24 +00:00
ieee80211_sta.c Only increment is_beacon_bad if we're not scanning. 2012-02-28 21:43:29 +00:00
ieee80211_sta.h
ieee80211_superg.c
ieee80211_superg.h
ieee80211_tdma.c Fix the situation where net80211 is built with IEEE80211_SUPPORT_TDMA but a module 2012-01-15 19:45:23 +00:00
ieee80211_tdma.h
ieee80211_var.h Fix some net80211 enum nits: 2011-12-17 10:23:17 +00:00
ieee80211_wds.c Fix some corner cases in the net80211 sequence number retransmission 2011-05-04 02:23:59 +00:00
ieee80211_wds.h
ieee80211_xauth.c
ieee80211.c Mark the taskqueue as the _net80211_ taskqueue. 2012-01-22 05:30:29 +00:00
ieee80211.h Update the 802.11s IE numbers to represent the latest 802.11 amendment standard. 2012-02-08 06:56:19 +00:00