diff options
Diffstat (limited to 'drivers/net/wireless/wl12xx/conf.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/conf.h | 46 |
1 files changed, 44 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/conf.h b/drivers/net/wireless/wl12xx/conf.h index a16b3616e430..7563ce3a9f66 100644 --- a/drivers/net/wireless/wl12xx/conf.h +++ b/drivers/net/wireless/wl12xx/conf.h | |||
@@ -496,6 +496,26 @@ struct conf_rx_settings { | |||
496 | CONF_HW_BIT_RATE_2MBPS) | 496 | CONF_HW_BIT_RATE_2MBPS) |
497 | #define CONF_TX_RATE_RETRY_LIMIT 10 | 497 | #define CONF_TX_RATE_RETRY_LIMIT 10 |
498 | 498 | ||
499 | /* | ||
500 | * Rates supported for data packets when operating as AP. Note the absense | ||
501 | * of the 22Mbps rate. There is a FW limitation on 12 rates so we must drop | ||
502 | * one. The rate dropped is not mandatory under any operating mode. | ||
503 | */ | ||
504 | #define CONF_TX_AP_ENABLED_RATES (CONF_HW_BIT_RATE_1MBPS | \ | ||
505 | CONF_HW_BIT_RATE_2MBPS | CONF_HW_BIT_RATE_5_5MBPS | \ | ||
506 | CONF_HW_BIT_RATE_6MBPS | CONF_HW_BIT_RATE_9MBPS | \ | ||
507 | CONF_HW_BIT_RATE_11MBPS | CONF_HW_BIT_RATE_12MBPS | \ | ||
508 | CONF_HW_BIT_RATE_18MBPS | CONF_HW_BIT_RATE_24MBPS | \ | ||
509 | CONF_HW_BIT_RATE_36MBPS | CONF_HW_BIT_RATE_48MBPS | \ | ||
510 | CONF_HW_BIT_RATE_54MBPS) | ||
511 | |||
512 | /* | ||
513 | * Default rates for management traffic when operating in AP mode. This | ||
514 | * should be configured according to the basic rate set of the AP | ||
515 | */ | ||
516 | #define CONF_TX_AP_DEFAULT_MGMT_RATES (CONF_HW_BIT_RATE_1MBPS | \ | ||
517 | CONF_HW_BIT_RATE_2MBPS | CONF_HW_BIT_RATE_5_5MBPS) | ||
518 | |||
499 | struct conf_tx_rate_class { | 519 | struct conf_tx_rate_class { |
500 | 520 | ||
501 | /* | 521 | /* |
@@ -636,9 +656,9 @@ struct conf_tx_settings { | |||
636 | 656 | ||
637 | /* | 657 | /* |
638 | * Configuration for rate classes for TX (currently only one | 658 | * Configuration for rate classes for TX (currently only one |
639 | * rate class supported.) | 659 | * rate class supported). Used in non-AP mode. |
640 | */ | 660 | */ |
641 | struct conf_tx_rate_class rc_conf; | 661 | struct conf_tx_rate_class sta_rc_conf; |
642 | 662 | ||
643 | /* | 663 | /* |
644 | * Configuration for access categories for TX rate control. | 664 | * Configuration for access categories for TX rate control. |
@@ -647,6 +667,22 @@ struct conf_tx_settings { | |||
647 | struct conf_tx_ac_category ac_conf[CONF_TX_MAX_AC_COUNT]; | 667 | struct conf_tx_ac_category ac_conf[CONF_TX_MAX_AC_COUNT]; |
648 | 668 | ||
649 | /* | 669 | /* |
670 | * Configuration for rate classes in AP-mode. These rate classes | ||
671 | * are for the AC TX queues | ||
672 | */ | ||
673 | struct conf_tx_rate_class ap_rc_conf[CONF_TX_MAX_AC_COUNT]; | ||
674 | |||
675 | /* | ||
676 | * Management TX rate class for AP-mode. | ||
677 | */ | ||
678 | struct conf_tx_rate_class ap_mgmt_conf; | ||
679 | |||
680 | /* | ||
681 | * Broadcast TX rate class for AP-mode. | ||
682 | */ | ||
683 | struct conf_tx_rate_class ap_bcst_conf; | ||
684 | |||
685 | /* | ||
650 | * Configuration for TID parameters. | 686 | * Configuration for TID parameters. |
651 | */ | 687 | */ |
652 | u8 tid_conf_count; | 688 | u8 tid_conf_count; |
@@ -687,6 +723,12 @@ struct conf_tx_settings { | |||
687 | * Range: CONF_HW_BIT_RATE_* bit mask | 723 | * Range: CONF_HW_BIT_RATE_* bit mask |
688 | */ | 724 | */ |
689 | u32 basic_rate_5; | 725 | u32 basic_rate_5; |
726 | |||
727 | /* | ||
728 | * TX retry limits for templates | ||
729 | */ | ||
730 | u8 tmpl_short_retry_limit; | ||
731 | u8 tmpl_long_retry_limit; | ||
690 | }; | 732 | }; |
691 | 733 | ||
692 | enum { | 734 | enum { |