diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-04-09 20:46:51 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-12 15:06:08 -0400 |
commit | b2cf410ccb927141e69aa610b6dcf5137701f3af (patch) | |
tree | c6144fd18a09164a0ceb12428ab092ce9d00e48d /drivers/net/wireless/iwlwifi/iwl-trans.h | |
parent | e3e07e0b10b3e6ca5cc7f6f4bf28d3419a9a12e4 (diff) |
iwlwifi: move rx_page_order into transport
That way it isn't needed in hw_params, which
is shared data. It also isn't really what we
should configure in the transport, that is
better just 4k/8k, so configure a bool and
derive the page order in the transport. This
also means the transport doesn't need access
to the module parameter any more.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h index 66c54c1b404e..46be59f5ef39 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans.h +++ b/drivers/net/wireless/iwlwifi/iwl-trans.h | |||
@@ -305,6 +305,8 @@ static inline struct page *rxb_steal_page(struct iwl_rx_cmd_buffer *r) | |||
305 | * list of such notifications to filter. Max length is | 305 | * list of such notifications to filter. Max length is |
306 | * %MAX_NO_RECLAIM_CMDS. | 306 | * %MAX_NO_RECLAIM_CMDS. |
307 | * @n_no_reclaim_cmds: # of commands in list | 307 | * @n_no_reclaim_cmds: # of commands in list |
308 | * @rx_buf_size_8k: 8 kB RX buffer size needed for A-MSDUs, | ||
309 | * if unset 4k will be the RX buffer size | ||
308 | */ | 310 | */ |
309 | struct iwl_trans_config { | 311 | struct iwl_trans_config { |
310 | struct iwl_op_mode *op_mode; | 312 | struct iwl_op_mode *op_mode; |
@@ -314,6 +316,8 @@ struct iwl_trans_config { | |||
314 | u8 cmd_queue; | 316 | u8 cmd_queue; |
315 | const u8 *no_reclaim_cmds; | 317 | const u8 *no_reclaim_cmds; |
316 | int n_no_reclaim_cmds; | 318 | int n_no_reclaim_cmds; |
319 | |||
320 | bool rx_buf_size_8k; | ||
317 | }; | 321 | }; |
318 | 322 | ||
319 | /** | 323 | /** |