Lines Matching defs:ieee80211_local

1350 struct ieee80211_local {  struct
1354 struct ieee80211_hw hw;
1356 struct fq fq;
1357 struct codel_vars *cvars;
1358 struct codel_params cparams;
1361 spinlock_t active_txq_lock[IEEE80211_NUM_ACS];
1362 struct list_head active_txqs[IEEE80211_NUM_ACS];
1363 u16 schedule_round[IEEE80211_NUM_ACS];
1366 spinlock_t handle_wake_tx_queue_lock;
1368 u16 airtime_flags;
1369 u32 aql_txq_limit_low[IEEE80211_NUM_ACS];
1370 u32 aql_txq_limit_high[IEEE80211_NUM_ACS];
1371 u32 aql_threshold;
1372 atomic_t aql_total_pending_airtime;
1373 atomic_t aql_ac_pending_airtime[IEEE80211_NUM_ACS];
1375 const struct ieee80211_ops *ops;
1381 struct workqueue_struct *workqueue;
1383 unsigned long queue_stop_reasons[IEEE80211_MAX_QUEUES];
1384 int q_stop_reasons[IEEE80211_MAX_QUEUES][IEEE80211_QUEUE_STOP_REASONS];
1386 spinlock_t queue_stop_reason_lock;
1388 int open_count;
1389 int monitors, virt_monitors, tx_mntrs;
1391 int fif_fcsfail, fif_plcpfail, fif_control, fif_other_bss, fif_pspoll,
1392 fif_probe_req;
1393 bool probe_req_reg;
1394 bool rx_mcast_action_reg;
1395 unsigned int filter_flags; /* FIF_* */
1397 bool wiphy_ciphers_allocated;
1399 struct cfg80211_chan_def dflt_chandef;
1400 bool emulate_chanctx;
1403 spinlock_t filter_lock;
1406 struct wiphy_work reconfig_filter;
1409 struct netdev_hw_addr_list mc_list;
1411 bool tim_in_locked_section; /* see ieee80211_beacon_get() */
1419 bool suspended;
1422 bool suspending;
1430 bool resuming;
1436 bool quiescing;
1439 bool started;
1442 bool in_reconfig;
1445 bool reconfig_failure;
1448 bool wowlan;
1450 struct wiphy_work radar_detected_work;
1453 u8 rx_chains;
1456 u8 sband_allocated;
1458 int tx_headroom; /* required headroom for hardware/radiotap */
1465 struct tasklet_struct tasklet;
1466 struct sk_buff_head skb_queue;
1467 struct sk_buff_head skb_queue_unreliable;
1469 spinlock_t rx_path_lock;
1476 spinlock_t tim_lock;
1477 unsigned long num_sta;
1478 struct list_head sta_list;
1479 struct rhltable sta_hash;
1480 struct rhltable link_sta_hash;
1481 struct timer_list sta_cleanup;
1482 int sta_generation;
1484 struct sk_buff_head pending[IEEE80211_MAX_QUEUES];
1485 struct tasklet_struct tx_pending_tasklet;
1486 struct tasklet_struct wake_txqs_tasklet;
1488 atomic_t agg_queue_stop[IEEE80211_MAX_QUEUES];
1491 atomic_t iff_allmultis;
1493 struct rate_control_ref *rate_ctrl;
1495 struct arc4_ctx wep_tx_ctx;
1496 struct arc4_ctx wep_rx_ctx;
1497 u32 wep_iv;
1500 struct list_head interfaces;
1501 struct list_head mon_list; /* only that are IFF_UP */
1502 struct mutex iflist_mtx;
1505 unsigned long scanning;
1506 struct cfg80211_ssid scan_ssid;
1507 struct cfg80211_scan_request *int_scan_req;
1508 struct cfg80211_scan_request __rcu *scan_req;
1509 struct ieee80211_scan_request *hw_scan_req;
1510 struct cfg80211_chan_def scan_chandef;
1511 enum nl80211_band hw_scan_band;
1512 int scan_channel_idx;
1513 int scan_ies_len;
1514 int hw_scan_ies_bufsize;
1515 struct cfg80211_scan_info scan_info;
1517 struct wiphy_work sched_scan_stopped_work;
1518 struct ieee80211_sub_if_data __rcu *sched_scan_sdata;
1519 struct cfg80211_sched_scan_request __rcu *sched_scan_req;
1520 u8 scan_addr[ETH_ALEN];
1522 unsigned long leave_oper_channel_time;
1523 enum mac80211_scan_state next_scan_state;
1524 struct wiphy_delayed_work scan_work;
1525 struct ieee80211_sub_if_data __rcu *scan_sdata;
1528 struct ieee80211_channel *tmp_channel;
1531 struct list_head chanctx_list;
1534 struct led_trigger tx_led, rx_led, assoc_led, radio_led;
1535 struct led_trigger tpt_led;
1536 atomic_t tx_led_active, rx_led_active, assoc_led_active;
1537 atomic_t radio_led_active, tpt_led_active;
1538 struct tpt_led_trigger *tpt_led_trigger;
1544 u32 dot11TransmittedFragmentCount;
1545 u32 dot11MulticastTransmittedFrameCount;
1546 u32 dot11FailedCount;
1547 u32 dot11RetryCount;
1548 u32 dot11MultipleRetryCount;
1549 u32 dot11FrameDuplicateCount;
1550 u32 dot11ReceivedFragmentCount;
1551 u32 dot11MulticastReceivedFrameCount;
1552 u32 dot11TransmittedFrameCount;
1555 unsigned int tx_handlers_drop;
1556 unsigned int tx_handlers_queued;
1557 unsigned int tx_handlers_drop_wep;
1558 unsigned int tx_handlers_drop_not_assoc;
1559 unsigned int tx_handlers_drop_unauth_port;
1560 unsigned int rx_handlers_drop;
1561 unsigned int rx_handlers_queued;
1562 unsigned int rx_handlers_drop_nullfunc;
1563 unsigned int rx_handlers_drop_defrag;
1564 unsigned int tx_expand_skb_head;
1565 unsigned int tx_expand_skb_head_cloned;
1566 unsigned int rx_expand_skb_head_defrag;
1567 unsigned int rx_handlers_fragments;
1568 unsigned int tx_status_drop;
1575 int total_ps_buffered; /* total number of all buffered unicast and
1579 bool pspolling;
1584 struct ieee80211_sub_if_data *ps_sdata;
1585 struct wiphy_work dynamic_ps_enable_work;
1586 struct wiphy_work dynamic_ps_disable_work;
1587 struct timer_list dynamic_ps_timer;
1588 struct notifier_block ifa_notifier;
1589 struct notifier_block ifa6_notifier;
1595 int dynamic_ps_forced_timeout;
1597 int user_power_level; /* in dBm, for all interfaces */
1599 struct work_struct restart_work;
1602 struct local_debugfsdentries {
1605 } debugfs;
1606 bool force_tx_status;
1612 struct wiphy_delayed_work roc_work;
1613 struct list_head roc_list;
1614 struct wiphy_work hw_roc_start, hw_roc_done;
1615 unsigned long hw_roc_start_time;
1616 u64 roc_cookie_counter;
1618 struct idr ack_status_frames;
1619 spinlock_t ack_status_lock;
1621 struct ieee80211_sub_if_data __rcu *p2p_sdata;
1624 struct ieee80211_sub_if_data __rcu *monitor_sdata;
1648 struct ieee80211_local *local = sdata->local; in ieee80211_get_sband() argument