File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
drivers/net/wireless/intel/iwlwifi/pcie Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2101,10 +2101,10 @@ static void iwl_txq_gen1_update_byte_cnt_tbl(struct iwl_trans *trans,
2101
2101
2102
2102
bc_ent = cpu_to_le16 (len | (sta_id << 12 ));
2103
2103
2104
- scd_bc_tbl [txq_id * BC_TABLE_SIZE + write_ptr ].tfd_offset = bc_ent ;
2104
+ scd_bc_tbl [txq_id * TFD_QUEUE_BC_SIZE + write_ptr ].tfd_offset = bc_ent ;
2105
2105
2106
2106
if (write_ptr < TFD_QUEUE_SIZE_BC_DUP )
2107
- scd_bc_tbl [txq_id * BC_TABLE_SIZE + TFD_QUEUE_SIZE_MAX + write_ptr ].tfd_offset =
2107
+ scd_bc_tbl [txq_id * TFD_QUEUE_BC_SIZE + TFD_QUEUE_SIZE_MAX + write_ptr ].tfd_offset =
2108
2108
bc_ent ;
2109
2109
}
2110
2110
@@ -2328,10 +2328,10 @@ static void iwl_txq_gen1_inval_byte_cnt_tbl(struct iwl_trans *trans,
2328
2328
2329
2329
bc_ent = cpu_to_le16 (1 | (sta_id << 12 ));
2330
2330
2331
- scd_bc_tbl [txq_id * BC_TABLE_SIZE + read_ptr ].tfd_offset = bc_ent ;
2331
+ scd_bc_tbl [txq_id * TFD_QUEUE_BC_SIZE + read_ptr ].tfd_offset = bc_ent ;
2332
2332
2333
2333
if (read_ptr < TFD_QUEUE_SIZE_BC_DUP )
2334
- scd_bc_tbl [txq_id * BC_TABLE_SIZE + TFD_QUEUE_SIZE_MAX + read_ptr ].tfd_offset =
2334
+ scd_bc_tbl [txq_id * TFD_QUEUE_BC_SIZE + TFD_QUEUE_SIZE_MAX + read_ptr ].tfd_offset =
2335
2335
bc_ent ;
2336
2336
}
2337
2337
You can’t perform that action at this time.
0 commit comments