mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2025-01-03 21:04:05 +00:00
Update os_intfs.c
* Add rtw_led_ctrl module
This commit is contained in:
parent
af1fc407d7
commit
699922ec91
@ -622,6 +622,12 @@ module_param(rtw_mcc_sta_bw40_target_tx_tp, int, 0644);
|
||||
module_param(rtw_mcc_sta_bw80_target_tx_tp, int, 0644);
|
||||
#endif /*CONFIG_MCC_MODE */
|
||||
|
||||
#ifdef CONFIG_SW_LED
|
||||
int rtw_led_ctrl = 1; /* Default to normal blink */
|
||||
module_param(rtw_led_ctrl, int, 0644);
|
||||
MODULE_PARM_DESC(rtw_led_ctrl,"Led Control: 0=Always off, 1=Normal blink, 2=Always on");
|
||||
#endif /* CONFIG_SW_LED */
|
||||
|
||||
void rtw_regsty_load_target_tx_power(struct registry_priv *regsty)
|
||||
{
|
||||
int path, rs;
|
||||
@ -913,7 +919,10 @@ uint loadparam(_adapter *padapter)
|
||||
registry_par->trx_share_mode = rtw_trx_share_mode;
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_SW_LED
|
||||
registry_par->led_ctrl = (u8)rtw_led_ctrl;
|
||||
#endif /* CONFIG_SW_LED */
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user