Add CONFIG_USB2_EXTERNAL_POWER supported

This commit is contained in:
kimocoder 2018-07-03 10:24:00 +02:00
parent 05b29d4114
commit 5cc650c60f
2 changed files with 3 additions and 2 deletions

View File

@ -92,6 +92,7 @@ CONFIG_RTW_WIFI_HAL = y
CONFIG_VHT_EXTRAS = y
CONFIG_LED_CONTROL = y
CONFIG_LED_ENABLE = y
CONFIG_USB2_EXTERNAL_POWER = n
########################## Debug ###########################
CONFIG_RTW_DEBUG = n
# default log level is _DRV_INFO_ = 4,

View File

@ -159,7 +159,7 @@ int rtw_uapsd_ac_enable = 0x0;
int rtw_pwrtrim_enable = 0; /* Default Enalbe power trim by efuse config */
#endif
uint rtw_tx_bw_mode = 0x21;
uint rtw_tx_bw_mode = 0x21; // = 0010 0001 = (0010 = 2 = 80MHz, 0001 = 1 = 40 MHz) (see rtw_bw_mode below)
module_param(rtw_tx_bw_mode, uint, 0644);
MODULE_PARM_DESC(rtw_tx_bw_mode, "The max tx bw for 2.4G and 5G. format is the same as rtw_bw_mode");
@ -171,7 +171,7 @@ int rtw_ht_enable = 1;
#ifdef CONFIG_RTW_CUSTOMIZE_BWMODE
int rtw_bw_mode = CONFIG_RTW_CUSTOMIZE_BWMODE;
#else
int rtw_bw_mode = 0x21;
int rtw_bw_mode = 0x21; // = 0010 0001 = (0010 = 2 = 80MHz, 0001 = 1 = 40 MHz)
#endif
int rtw_ampdu_enable = 1;/* for enable tx_ampdu , */ /* 0: disable, 0x1:enable */
int rtw_rx_stbc = BIT(0) | BIT(1);/* 0: disable, bit(0):enable 2.4g, bit(1):enable 5g; =1 can be used to enable 2.4GHZ for IOT issue with bufflao's AP at 5GHZ */