Lines Matching defs:ieee80211_local
1344 struct ieee80211_local { struct
1348 struct ieee80211_hw hw;
1350 struct fq fq;
1351 struct codel_vars *cvars;
1352 struct codel_params cparams;
1355 spinlock_t active_txq_lock[IEEE80211_NUM_ACS];
1356 struct list_head active_txqs[IEEE80211_NUM_ACS];
1357 u16 schedule_round[IEEE80211_NUM_ACS];
1360 spinlock_t handle_wake_tx_queue_lock;
1362 u16 airtime_flags;
1363 u32 aql_txq_limit_low[IEEE80211_NUM_ACS];
1364 u32 aql_txq_limit_high[IEEE80211_NUM_ACS];
1365 u32 aql_threshold;
1366 atomic_t aql_total_pending_airtime;
1367 atomic_t aql_ac_pending_airtime[IEEE80211_NUM_ACS];
1369 const struct ieee80211_ops *ops;
1375 struct workqueue_struct *workqueue;
1377 unsigned long queue_stop_reasons[IEEE80211_MAX_QUEUES];
1378 int q_stop_reasons[IEEE80211_MAX_QUEUES][IEEE80211_QUEUE_STOP_REASONS];
1380 spinlock_t queue_stop_reason_lock;
1382 int open_count;
1383 int monitors, cooked_mntrs, tx_mntrs;
1385 int fif_fcsfail, fif_plcpfail, fif_control, fif_other_bss, fif_pspoll,
1386 fif_probe_req;
1387 bool probe_req_reg;
1388 bool rx_mcast_action_reg;
1389 unsigned int filter_flags; /* FIF_* */
1391 bool wiphy_ciphers_allocated;
1393 struct cfg80211_chan_def dflt_chandef;
1394 bool emulate_chanctx;
1397 spinlock_t filter_lock;
1400 struct wiphy_work reconfig_filter;
1403 struct netdev_hw_addr_list mc_list;
1405 bool tim_in_locked_section; /* see ieee80211_beacon_get() */
1413 bool suspended;
1416 bool suspending;
1424 bool resuming;
1430 bool quiescing;
1433 bool started;
1436 bool in_reconfig;
1439 bool reconfig_failure;
1442 bool wowlan;
1444 struct wiphy_work radar_detected_work;
1447 u8 rx_chains;
1450 u8 sband_allocated;
1452 int tx_headroom; /* required headroom for hardware/radiotap */
1459 struct tasklet_struct tasklet;
1460 struct sk_buff_head skb_queue;
1461 struct sk_buff_head skb_queue_unreliable;
1463 spinlock_t rx_path_lock;
1470 spinlock_t tim_lock;
1471 unsigned long num_sta;
1472 struct list_head sta_list;
1473 struct rhltable sta_hash;
1474 struct rhltable link_sta_hash;
1475 struct timer_list sta_cleanup;
1476 int sta_generation;
1478 struct sk_buff_head pending[IEEE80211_MAX_QUEUES];
1479 struct tasklet_struct tx_pending_tasklet;
1480 struct tasklet_struct wake_txqs_tasklet;
1482 atomic_t agg_queue_stop[IEEE80211_MAX_QUEUES];
1485 atomic_t iff_allmultis;
1487 struct rate_control_ref *rate_ctrl;
1489 struct arc4_ctx wep_tx_ctx;
1490 struct arc4_ctx wep_rx_ctx;
1491 u32 wep_iv;
1494 struct list_head interfaces;
1495 struct list_head mon_list; /* only that are IFF_UP && !cooked */
1496 struct mutex iflist_mtx;
1499 unsigned long scanning;
1500 struct cfg80211_ssid scan_ssid;
1501 struct cfg80211_scan_request *int_scan_req;
1502 struct cfg80211_scan_request __rcu *scan_req;
1503 struct ieee80211_scan_request *hw_scan_req;
1504 struct cfg80211_chan_def scan_chandef;
1505 enum nl80211_band hw_scan_band;
1506 int scan_channel_idx;
1507 int scan_ies_len;
1508 int hw_scan_ies_bufsize;
1509 struct cfg80211_scan_info scan_info;
1511 struct wiphy_work sched_scan_stopped_work;
1512 struct ieee80211_sub_if_data __rcu *sched_scan_sdata;
1513 struct cfg80211_sched_scan_request __rcu *sched_scan_req;
1514 u8 scan_addr[ETH_ALEN];
1516 unsigned long leave_oper_channel_time;
1517 enum mac80211_scan_state next_scan_state;
1518 struct wiphy_delayed_work scan_work;
1519 struct ieee80211_sub_if_data __rcu *scan_sdata;
1522 struct ieee80211_channel *tmp_channel;
1525 struct list_head chanctx_list;
1528 struct led_trigger tx_led, rx_led, assoc_led, radio_led;
1529 struct led_trigger tpt_led;
1530 atomic_t tx_led_active, rx_led_active, assoc_led_active;
1531 atomic_t radio_led_active, tpt_led_active;
1532 struct tpt_led_trigger *tpt_led_trigger;
1538 u32 dot11TransmittedFragmentCount;
1539 u32 dot11MulticastTransmittedFrameCount;
1540 u32 dot11FailedCount;
1541 u32 dot11RetryCount;
1542 u32 dot11MultipleRetryCount;
1543 u32 dot11FrameDuplicateCount;
1544 u32 dot11ReceivedFragmentCount;
1545 u32 dot11MulticastReceivedFrameCount;
1546 u32 dot11TransmittedFrameCount;
1549 unsigned int tx_handlers_drop;
1550 unsigned int tx_handlers_queued;
1551 unsigned int tx_handlers_drop_wep;
1552 unsigned int tx_handlers_drop_not_assoc;
1553 unsigned int tx_handlers_drop_unauth_port;
1554 unsigned int rx_handlers_drop;
1555 unsigned int rx_handlers_queued;
1556 unsigned int rx_handlers_drop_nullfunc;
1557 unsigned int rx_handlers_drop_defrag;
1558 unsigned int tx_expand_skb_head;
1559 unsigned int tx_expand_skb_head_cloned;
1560 unsigned int rx_expand_skb_head_defrag;
1561 unsigned int rx_handlers_fragments;
1562 unsigned int tx_status_drop;
1569 int total_ps_buffered; /* total number of all buffered unicast and
1573 bool pspolling;
1578 struct ieee80211_sub_if_data *ps_sdata;
1579 struct wiphy_work dynamic_ps_enable_work;
1580 struct wiphy_work dynamic_ps_disable_work;
1581 struct timer_list dynamic_ps_timer;
1582 struct notifier_block ifa_notifier;
1583 struct notifier_block ifa6_notifier;
1589 int dynamic_ps_forced_timeout;
1591 int user_power_level; /* in dBm, for all interfaces */
1593 struct work_struct restart_work;
1596 struct local_debugfsdentries {
1599 } debugfs;
1600 bool force_tx_status;
1606 struct wiphy_delayed_work roc_work;
1607 struct list_head roc_list;
1608 struct wiphy_work hw_roc_start, hw_roc_done;
1609 unsigned long hw_roc_start_time;
1610 u64 roc_cookie_counter;
1612 struct idr ack_status_frames;
1613 spinlock_t ack_status_lock;
1615 struct ieee80211_sub_if_data __rcu *p2p_sdata;
1618 struct ieee80211_sub_if_data __rcu *monitor_sdata;
1642 struct ieee80211_local *local = sdata->local; in ieee80211_get_sband() argument