sta_info.h (c316cf670491def52a396d3bdc5a63ad01f7fefa) | sta_info.h (484a54c2e597dbc4ace79c1687022282905afba0) |
---|---|
1/* 2 * Copyright 2002-2005, Devicescape Software, Inc. 3 * Copyright 2013-2014 Intel Mobile Communications GmbH 4 * Copyright(c) 2015-2017 Intel Deutschland GmbH 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 380 unchanged lines hidden (view full) --- 389 s8 chain_signal_last[IEEE80211_MAX_CHAINS]; 390 u16 last_rate; 391 struct u64_stats_sync syncp; 392 u64 bytes; 393 u64 msdu[IEEE80211_NUM_TIDS + 1]; 394}; 395 396/** | 1/* 2 * Copyright 2002-2005, Devicescape Software, Inc. 3 * Copyright 2013-2014 Intel Mobile Communications GmbH 4 * Copyright(c) 2015-2017 Intel Deutschland GmbH 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 380 unchanged lines hidden (view full) --- 389 s8 chain_signal_last[IEEE80211_MAX_CHAINS]; 390 u16 last_rate; 391 struct u64_stats_sync syncp; 392 u64 bytes; 393 u64 msdu[IEEE80211_NUM_TIDS + 1]; 394}; 395 396/** |
397 * The bandwidth threshold below which the per-station CoDel parameters will be 398 * scaled to be more lenient (to prevent starvation of slow stations). This 399 * value will be scaled by the number of active stations when it is being 400 * applied. 401 */ 402#define STA_SLOW_THRESHOLD 6000 /* 6 Mbps */ 403 404/** |
|
397 * struct sta_info - STA information 398 * 399 * This structure collects information about a station that 400 * mac80211 is communicating with. 401 * 402 * @list: global linked list entry 403 * @free_list: list entry for keeping track of stations to free 404 * @hash_node: hash node for rhashtable --- 36 unchanged lines hidden (view full) --- 441 * @sta: station information we share with the driver 442 * @sta_state: duplicates information about station state (for debug) 443 * @rcu_head: RCU head used for freeing this station struct 444 * @cur_max_bandwidth: maximum bandwidth to use for TX to the station, 445 * taken from HT/VHT capabilities or VHT operating mode notification 446 * @known_smps_mode: the smps_mode the client thinks we are in. Relevant for 447 * AP only. 448 * @cipher_scheme: optional cipher scheme for this station | 405 * struct sta_info - STA information 406 * 407 * This structure collects information about a station that 408 * mac80211 is communicating with. 409 * 410 * @list: global linked list entry 411 * @free_list: list entry for keeping track of stations to free 412 * @hash_node: hash node for rhashtable --- 36 unchanged lines hidden (view full) --- 449 * @sta: station information we share with the driver 450 * @sta_state: duplicates information about station state (for debug) 451 * @rcu_head: RCU head used for freeing this station struct 452 * @cur_max_bandwidth: maximum bandwidth to use for TX to the station, 453 * taken from HT/VHT capabilities or VHT operating mode notification 454 * @known_smps_mode: the smps_mode the client thinks we are in. Relevant for 455 * AP only. 456 * @cipher_scheme: optional cipher scheme for this station |
457 * @cparams: CoDel parameters for this station. |
|
449 * @reserved_tid: reserved TID (if any, otherwise IEEE80211_TID_UNRESERVED) 450 * @fast_tx: TX fastpath information 451 * @fast_rx: RX fastpath information 452 * @tdls_chandef: a TDLS peer can have a wider chandef that is compatible to 453 * the BSS one. 454 * @tx_stats: TX statistics 455 * @rx_stats: RX statistics 456 * @pcpu_rx_stats: per-CPU RX statistics, assigned only if the driver needs --- 87 unchanged lines hidden (view full) --- 544 struct dentry *debugfs_dir; 545#endif 546 547 enum ieee80211_sta_rx_bandwidth cur_max_bandwidth; 548 549 enum ieee80211_smps_mode known_smps_mode; 550 const struct ieee80211_cipher_scheme *cipher_scheme; 551 | 458 * @reserved_tid: reserved TID (if any, otherwise IEEE80211_TID_UNRESERVED) 459 * @fast_tx: TX fastpath information 460 * @fast_rx: RX fastpath information 461 * @tdls_chandef: a TDLS peer can have a wider chandef that is compatible to 462 * the BSS one. 463 * @tx_stats: TX statistics 464 * @rx_stats: RX statistics 465 * @pcpu_rx_stats: per-CPU RX statistics, assigned only if the driver needs --- 87 unchanged lines hidden (view full) --- 553 struct dentry *debugfs_dir; 554#endif 555 556 enum ieee80211_sta_rx_bandwidth cur_max_bandwidth; 557 558 enum ieee80211_smps_mode known_smps_mode; 559 const struct ieee80211_cipher_scheme *cipher_scheme; 560 |
561 struct codel_params cparams; 562 |
|
552 u8 reserved_tid; 553 554 struct cfg80211_chan_def tdls_chandef; 555 556 /* keep last! */ 557 struct ieee80211_sta sta; 558}; 559 --- 225 unchanged lines hidden --- | 563 u8 reserved_tid; 564 565 struct cfg80211_chan_def tdls_chandef; 566 567 /* keep last! */ 568 struct ieee80211_sta sta; 569}; 570 --- 225 unchanged lines hidden --- |