OSDN Git Service

mac80211: proper IBSS locking
[uclinux-h8/linux.git] / net / mac80211 / ieee80211_i.h
index 9b3c3f9..c6b5c2d 100644 (file)
@@ -377,14 +377,11 @@ struct ieee80211_if_managed {
        int last_cqm_event_signal;
 };
 
-enum ieee80211_ibss_request {
-       IEEE80211_IBSS_REQ_RUN  = 0,
-};
-
 struct ieee80211_if_ibss {
        struct timer_list timer;
 
-       unsigned long request;
+       struct mutex mtx;
+
        unsigned long last_scan_completed;
 
        u32 basic_rates;
@@ -850,6 +847,14 @@ struct ieee80211_local {
        struct notifier_block network_latency_notifier;
        struct notifier_block ifa_notifier;
 
+       /*
+        * The dynamic ps timeout configured from user space via WEXT -
+        * this will override whatever chosen by mac80211 internally.
+        */
+       int dynamic_ps_forced_timeout;
+       int dynamic_ps_user_timeout;
+       bool disable_dynamic_ps;
+
        int user_power_level; /* in dBm */
        int power_constr_level; /* in dBm */