Lines Matching defs:ieee80211_local
1284 struct ieee80211_local { struct
1288 struct ieee80211_hw hw;
1290 struct fq fq;
1291 struct codel_vars *cvars;
1292 struct codel_params cparams;
1295 spinlock_t active_txq_lock[IEEE80211_NUM_ACS];
1296 struct list_head active_txqs[IEEE80211_NUM_ACS];
1297 u16 schedule_round[IEEE80211_NUM_ACS];
1300 spinlock_t handle_wake_tx_queue_lock;
1302 u16 airtime_flags;
1303 u32 aql_txq_limit_low[IEEE80211_NUM_ACS];
1304 u32 aql_txq_limit_high[IEEE80211_NUM_ACS];
1305 u32 aql_threshold;
1306 atomic_t aql_total_pending_airtime;
1307 atomic_t aql_ac_pending_airtime[IEEE80211_NUM_ACS];
1309 const struct ieee80211_ops *ops;
1315 struct workqueue_struct *workqueue;
1317 unsigned long queue_stop_reasons[IEEE80211_MAX_QUEUES];
1318 int q_stop_reasons[IEEE80211_MAX_QUEUES][IEEE80211_QUEUE_STOP_REASONS];
1320 spinlock_t queue_stop_reason_lock;
1322 int open_count;
1323 int monitors, cooked_mntrs;
1325 int fif_fcsfail, fif_plcpfail, fif_control, fif_other_bss, fif_pspoll,
1326 fif_probe_req;
1327 bool probe_req_reg;
1328 bool rx_mcast_action_reg;
1329 unsigned int filter_flags; /* FIF_* */
1331 bool wiphy_ciphers_allocated;
1333 bool use_chanctx;
1336 spinlock_t filter_lock;
1339 struct wiphy_work reconfig_filter;
1342 struct netdev_hw_addr_list mc_list;
1344 bool tim_in_locked_section; /* see ieee80211_beacon_get() */
1352 bool suspended;
1355 bool suspending;
1363 bool resuming;
1369 bool quiescing;
1372 bool started;
1375 bool in_reconfig;
1378 bool reconfig_failure;
1381 bool wowlan;
1383 struct wiphy_work radar_detected_work;
1386 u8 rx_chains;
1389 u8 sband_allocated;
1391 int tx_headroom; /* required headroom for hardware/radiotap */
1398 struct tasklet_struct tasklet;
1399 struct sk_buff_head skb_queue;
1400 struct sk_buff_head skb_queue_unreliable;
1402 spinlock_t rx_path_lock;
1409 spinlock_t tim_lock;
1410 unsigned long num_sta;
1411 struct list_head sta_list;
1412 struct rhltable sta_hash;
1413 struct rhltable link_sta_hash;
1414 struct timer_list sta_cleanup;
1415 int sta_generation;
1417 struct sk_buff_head pending[IEEE80211_MAX_QUEUES];
1418 struct tasklet_struct tx_pending_tasklet;
1419 struct tasklet_struct wake_txqs_tasklet;
1421 atomic_t agg_queue_stop[IEEE80211_MAX_QUEUES];
1424 atomic_t iff_allmultis;
1426 struct rate_control_ref *rate_ctrl;
1428 struct arc4_ctx wep_tx_ctx;
1429 struct arc4_ctx wep_rx_ctx;
1430 u32 wep_iv;
1433 struct list_head interfaces;
1434 struct list_head mon_list; /* only that are IFF_UP && !cooked */
1435 struct mutex iflist_mtx;
1438 unsigned long scanning;
1439 struct cfg80211_ssid scan_ssid;
1440 struct cfg80211_scan_request *int_scan_req;
1441 struct cfg80211_scan_request __rcu *scan_req;
1442 struct ieee80211_scan_request *hw_scan_req;
1443 struct cfg80211_chan_def scan_chandef;
1444 enum nl80211_band hw_scan_band;
1445 int scan_channel_idx;
1446 int scan_ies_len;
1447 int hw_scan_ies_bufsize;
1448 struct cfg80211_scan_info scan_info;
1450 struct wiphy_work sched_scan_stopped_work;
1451 struct ieee80211_sub_if_data __rcu *sched_scan_sdata;
1452 struct cfg80211_sched_scan_request __rcu *sched_scan_req;
1453 u8 scan_addr[ETH_ALEN];
1455 unsigned long leave_oper_channel_time;
1456 enum mac80211_scan_state next_scan_state;
1457 struct wiphy_delayed_work scan_work;
1458 struct ieee80211_sub_if_data __rcu *scan_sdata;
1460 struct cfg80211_chan_def _oper_chandef;
1463 struct ieee80211_channel *tmp_channel;
1466 struct list_head chanctx_list;
1469 struct led_trigger tx_led, rx_led, assoc_led, radio_led;
1470 struct led_trigger tpt_led;
1471 atomic_t tx_led_active, rx_led_active, assoc_led_active;
1472 atomic_t radio_led_active, tpt_led_active;
1473 struct tpt_led_trigger *tpt_led_trigger;
1479 u32 dot11TransmittedFragmentCount;
1480 u32 dot11MulticastTransmittedFrameCount;
1481 u32 dot11FailedCount;
1482 u32 dot11RetryCount;
1483 u32 dot11MultipleRetryCount;
1484 u32 dot11FrameDuplicateCount;
1485 u32 dot11ReceivedFragmentCount;
1486 u32 dot11MulticastReceivedFrameCount;
1487 u32 dot11TransmittedFrameCount;
1490 unsigned int tx_handlers_drop;
1491 unsigned int tx_handlers_queued;
1492 unsigned int tx_handlers_drop_wep;
1493 unsigned int tx_handlers_drop_not_assoc;
1494 unsigned int tx_handlers_drop_unauth_port;
1495 unsigned int rx_handlers_drop;
1496 unsigned int rx_handlers_queued;
1497 unsigned int rx_handlers_drop_nullfunc;
1498 unsigned int rx_handlers_drop_defrag;
1499 unsigned int tx_expand_skb_head;
1500 unsigned int tx_expand_skb_head_cloned;
1501 unsigned int rx_expand_skb_head_defrag;
1502 unsigned int rx_handlers_fragments;
1503 unsigned int tx_status_drop;
1510 int total_ps_buffered; /* total number of all buffered unicast and
1514 bool pspolling;
1519 struct ieee80211_sub_if_data *ps_sdata;
1520 struct wiphy_work dynamic_ps_enable_work;
1521 struct wiphy_work dynamic_ps_disable_work;
1522 struct timer_list dynamic_ps_timer;
1523 struct notifier_block ifa_notifier;
1524 struct notifier_block ifa6_notifier;
1530 int dynamic_ps_forced_timeout;
1532 int user_power_level; /* in dBm, for all interfaces */
1534 enum ieee80211_smps_mode smps_mode;
1536 struct work_struct restart_work;
1539 struct local_debugfsdentries {
1542 } debugfs;
1543 bool force_tx_status;
1549 struct wiphy_delayed_work roc_work;
1550 struct list_head roc_list;
1551 struct wiphy_work hw_roc_start, hw_roc_done;
1552 unsigned long hw_roc_start_time;
1553 u64 roc_cookie_counter;
1555 struct idr ack_status_frames;
1556 spinlock_t ack_status_lock;
1558 struct ieee80211_sub_if_data __rcu *p2p_sdata;
1561 struct ieee80211_sub_if_data __rcu *monitor_sdata;
1585 struct ieee80211_local *local = sdata->local; in ieee80211_get_sband() argument