Lines Matching defs:ieee80211_local

1268 struct ieee80211_local {  struct
1272 struct ieee80211_hw hw;
1274 struct fq fq;
1275 struct codel_vars *cvars;
1276 struct codel_params cparams;
1279 spinlock_t active_txq_lock[IEEE80211_NUM_ACS];
1280 struct list_head active_txqs[IEEE80211_NUM_ACS];
1281 u16 schedule_round[IEEE80211_NUM_ACS];
1283 u16 airtime_flags;
1284 u32 aql_txq_limit_low[IEEE80211_NUM_ACS];
1285 u32 aql_txq_limit_high[IEEE80211_NUM_ACS];
1286 u32 aql_threshold;
1287 atomic_t aql_total_pending_airtime;
1288 atomic_t aql_ac_pending_airtime[IEEE80211_NUM_ACS];
1290 const struct ieee80211_ops *ops;
1296 struct workqueue_struct *workqueue;
1298 unsigned long queue_stop_reasons[IEEE80211_MAX_QUEUES];
1299 int q_stop_reasons[IEEE80211_MAX_QUEUES][IEEE80211_QUEUE_STOP_REASONS];
1301 spinlock_t queue_stop_reason_lock;
1303 int open_count;
1304 int monitors, cooked_mntrs;
1306 int fif_fcsfail, fif_plcpfail, fif_control, fif_other_bss, fif_pspoll,
1307 fif_probe_req;
1308 bool probe_req_reg;
1309 bool rx_mcast_action_reg;
1310 unsigned int filter_flags; /* FIF_* */
1312 bool wiphy_ciphers_allocated;
1314 bool use_chanctx;
1317 spinlock_t filter_lock;
1320 struct work_struct reconfig_filter;
1323 struct netdev_hw_addr_list mc_list;
1325 bool tim_in_locked_section; /* see ieee80211_beacon_get() */
1333 bool suspended;
1336 bool suspending;
1344 bool resuming;
1350 bool quiescing;
1353 bool started;
1356 bool in_reconfig;
1359 bool wowlan;
1361 struct work_struct radar_detected_work;
1364 u8 rx_chains;
1367 u8 sband_allocated;
1369 int tx_headroom; /* required headroom for hardware/radiotap */
1376 struct tasklet_struct tasklet;
1377 struct sk_buff_head skb_queue;
1378 struct sk_buff_head skb_queue_unreliable;
1380 spinlock_t rx_path_lock;
1387 struct mutex sta_mtx;
1388 spinlock_t tim_lock;
1389 unsigned long num_sta;
1390 struct list_head sta_list;
1391 struct rhltable sta_hash;
1392 struct rhltable link_sta_hash;
1393 struct timer_list sta_cleanup;
1394 int sta_generation;
1396 struct sk_buff_head pending[IEEE80211_MAX_QUEUES];
1397 struct tasklet_struct tx_pending_tasklet;
1398 struct tasklet_struct wake_txqs_tasklet;
1400 atomic_t agg_queue_stop[IEEE80211_MAX_QUEUES];
1403 atomic_t iff_allmultis;
1405 struct rate_control_ref *rate_ctrl;
1407 struct arc4_ctx wep_tx_ctx;
1408 struct arc4_ctx wep_rx_ctx;
1409 u32 wep_iv;
1412 struct list_head interfaces;
1413 struct list_head mon_list; /* only that are IFF_UP && !cooked */
1414 struct mutex iflist_mtx;
1420 struct mutex key_mtx;
1423 struct mutex mtx;
1426 unsigned long scanning;
1427 struct cfg80211_ssid scan_ssid;
1428 struct cfg80211_scan_request *int_scan_req;
1429 struct cfg80211_scan_request __rcu *scan_req;
1430 struct ieee80211_scan_request *hw_scan_req;
1431 struct cfg80211_chan_def scan_chandef;
1432 enum nl80211_band hw_scan_band;
1433 int scan_channel_idx;
1434 int scan_ies_len;
1435 int hw_scan_ies_bufsize;
1436 struct cfg80211_scan_info scan_info;
1438 struct work_struct sched_scan_stopped_work;
1439 struct ieee80211_sub_if_data __rcu *sched_scan_sdata;
1440 struct cfg80211_sched_scan_request __rcu *sched_scan_req;
1441 u8 scan_addr[ETH_ALEN];
1443 unsigned long leave_oper_channel_time;
1444 enum mac80211_scan_state next_scan_state;
1445 struct delayed_work scan_work;
1446 struct ieee80211_sub_if_data __rcu *scan_sdata;
1448 struct cfg80211_chan_def _oper_chandef;
1451 struct ieee80211_channel *tmp_channel;
1454 struct list_head chanctx_list;
1455 struct mutex chanctx_mtx;
1458 struct led_trigger tx_led, rx_led, assoc_led, radio_led;
1459 struct led_trigger tpt_led;
1460 atomic_t tx_led_active, rx_led_active, assoc_led_active;
1461 atomic_t radio_led_active, tpt_led_active;
1462 struct tpt_led_trigger *tpt_led_trigger;
1468 u32 dot11TransmittedFragmentCount;
1469 u32 dot11MulticastTransmittedFrameCount;
1470 u32 dot11FailedCount;
1471 u32 dot11RetryCount;
1472 u32 dot11MultipleRetryCount;
1473 u32 dot11FrameDuplicateCount;
1474 u32 dot11ReceivedFragmentCount;
1475 u32 dot11MulticastReceivedFrameCount;
1476 u32 dot11TransmittedFrameCount;
1479 unsigned int tx_handlers_drop;
1480 unsigned int tx_handlers_queued;
1481 unsigned int tx_handlers_drop_wep;
1482 unsigned int tx_handlers_drop_not_assoc;
1483 unsigned int tx_handlers_drop_unauth_port;
1484 unsigned int rx_handlers_drop;
1485 unsigned int rx_handlers_queued;
1486 unsigned int rx_handlers_drop_nullfunc;
1487 unsigned int rx_handlers_drop_defrag;
1488 unsigned int tx_expand_skb_head;
1489 unsigned int tx_expand_skb_head_cloned;
1490 unsigned int rx_expand_skb_head_defrag;
1491 unsigned int rx_handlers_fragments;
1492 unsigned int tx_status_drop;
1499 int total_ps_buffered; /* total number of all buffered unicast and
1503 bool pspolling;
1508 struct ieee80211_sub_if_data *ps_sdata;
1509 struct work_struct dynamic_ps_enable_work;
1510 struct work_struct dynamic_ps_disable_work;
1511 struct timer_list dynamic_ps_timer;
1512 struct notifier_block ifa_notifier;
1513 struct notifier_block ifa6_notifier;
1519 int dynamic_ps_forced_timeout;
1521 int user_power_level; /* in dBm, for all interfaces */
1523 enum ieee80211_smps_mode smps_mode;
1525 struct work_struct restart_work;
1528 struct local_debugfsdentries {
1531 } debugfs;
1532 bool force_tx_status;
1538 struct delayed_work roc_work;
1539 struct list_head roc_list;
1540 struct work_struct hw_roc_start, hw_roc_done;
1541 unsigned long hw_roc_start_time;
1542 u64 roc_cookie_counter;
1544 struct idr ack_status_frames;
1545 spinlock_t ack_status_lock;
1547 struct ieee80211_sub_if_data __rcu *p2p_sdata;
1572 struct ieee80211_local *local = sdata->local; in ieee80211_get_sband() argument