freebsd-nq/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
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
ieee80211_adhoc.h
ieee80211_ageq.c
ieee80211_ageq.h
ieee80211_alq.c
ieee80211_alq.h
ieee80211_amrr.c
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
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
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
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
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
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
ieee80211_ratectl.c
ieee80211_ratectl.h
ieee80211_regdomain.c
ieee80211_regdomain.h
ieee80211_rssadapt.c
ieee80211_rssadapt.h
ieee80211_scan_sta.c
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
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