mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 23:28:55 +00:00
iwlwifi: move to 512 queues
Avoid using the old define since it will enlarge necessary structs for previous HW. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
ced19f2696
commit
e982bc2ca8
5 changed files with 8 additions and 6 deletions
|
@ -85,7 +85,7 @@
|
||||||
|
|
||||||
static const struct iwl_base_params iwl_a000_base_params = {
|
static const struct iwl_base_params iwl_a000_base_params = {
|
||||||
.eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_A000,
|
.eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_A000,
|
||||||
.num_of_queues = 31,
|
.num_of_queues = 512,
|
||||||
.shadow_ram_support = true,
|
.shadow_ram_support = true,
|
||||||
.led_compensation = 57,
|
.led_compensation = 57,
|
||||||
.wd_timeout = IWL_LONG_WD_TIMEOUT,
|
.wd_timeout = IWL_LONG_WD_TIMEOUT,
|
||||||
|
|
|
@ -170,7 +170,7 @@ struct iwl_base_params {
|
||||||
apmg_wake_up_wa:1,
|
apmg_wake_up_wa:1,
|
||||||
scd_chain_ext_wa:1;
|
scd_chain_ext_wa:1;
|
||||||
|
|
||||||
u8 num_of_queues; /* def: HW dependent */
|
u16 num_of_queues; /* def: HW dependent */
|
||||||
|
|
||||||
u8 max_ll_items;
|
u8 max_ll_items;
|
||||||
u8 led_compensation;
|
u8 led_compensation;
|
||||||
|
|
|
@ -396,6 +396,8 @@ static inline void iwl_free_rxb(struct iwl_rx_cmd_buffer *r)
|
||||||
* currently supports
|
* currently supports
|
||||||
*/
|
*/
|
||||||
#define IWL_MAX_HW_QUEUES 32
|
#define IWL_MAX_HW_QUEUES 32
|
||||||
|
#define IWL_MAX_TVQM_QUEUES 512
|
||||||
|
|
||||||
#define IWL_MAX_TID_COUNT 8
|
#define IWL_MAX_TID_COUNT 8
|
||||||
#define IWL_MGMT_TID 15
|
#define IWL_MGMT_TID 15
|
||||||
#define IWL_FRAME_LIMIT 64
|
#define IWL_FRAME_LIMIT 64
|
||||||
|
|
|
@ -788,7 +788,7 @@ struct iwl_mvm {
|
||||||
u64 on_time_scan;
|
u64 on_time_scan;
|
||||||
} radio_stats, accu_radio_stats;
|
} radio_stats, accu_radio_stats;
|
||||||
|
|
||||||
u8 hw_queue_to_mac80211[IWL_MAX_HW_QUEUES];
|
u8 hw_queue_to_mac80211[IWL_MAX_TVQM_QUEUES];
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
u8 hw_queue_refcount;
|
u8 hw_queue_refcount;
|
||||||
|
|
|
@ -414,9 +414,9 @@ struct iwl_trans_pcie {
|
||||||
struct iwl_dma_ptr kw;
|
struct iwl_dma_ptr kw;
|
||||||
|
|
||||||
struct iwl_txq *txq_memory;
|
struct iwl_txq *txq_memory;
|
||||||
struct iwl_txq *txq[IWL_MAX_HW_QUEUES];
|
struct iwl_txq *txq[IWL_MAX_TVQM_QUEUES];
|
||||||
unsigned long queue_used[BITS_TO_LONGS(IWL_MAX_HW_QUEUES)];
|
unsigned long queue_used[BITS_TO_LONGS(IWL_MAX_TVQM_QUEUES)];
|
||||||
unsigned long queue_stopped[BITS_TO_LONGS(IWL_MAX_HW_QUEUES)];
|
unsigned long queue_stopped[BITS_TO_LONGS(IWL_MAX_TVQM_QUEUES)];
|
||||||
|
|
||||||
/* PCI bus related data */
|
/* PCI bus related data */
|
||||||
struct pci_dev *pci_dev;
|
struct pci_dev *pci_dev;
|
||||||
|
|
Loading…
Add table
Reference in a new issue