Commit fb9b5487 authored by Vipin Mehta's avatar Vipin Mehta Committed by Greg Kroah-Hartman

staging: ath6kl: Adding support for txop bursting enable/disable

Adding compile time support for enabling/disabling txop bursting.
Signed-off-by: default avatarVipin Mehta <vmehta@atheros.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 15eccc06
...@@ -2528,6 +2528,13 @@ int ar6000_target_config_wlan_params(AR_SOFTC_T *ar) ...@@ -2528,6 +2528,13 @@ int ar6000_target_config_wlan_params(AR_SOFTC_T *ar)
status = A_ERROR; status = A_ERROR;
} }
#if WLAN_CONFIG_DISABLE_TX_BURSTING
if ((wmi_set_wmm_txop(ar->arWmi, WMI_TXOP_DISABLED)) != 0) {
AR_DEBUG_PRINTF(ATH_DEBUG_ERR,("Unable to set txop bursting \n"));
status = A_ERROR;
}
#endif
return status; return status;
} }
......
...@@ -102,6 +102,13 @@ ...@@ -102,6 +102,13 @@
*/ */
#define WLAN_CONFIG_PM_WOW2 0 #define WLAN_CONFIG_PM_WOW2 0
/*
* This configuration item enables/disables transmit bursting
* 0 - Enable tx Bursting (default)
* 1 - Disable tx bursting
*/
#define WLAN_CONFIG_DISABLE_TX_BURSTING 0
/* /*
* Platform specific function to power ON/OFF AR6000 * Platform specific function to power ON/OFF AR6000
* and enable/disable SDIO card detection * and enable/disable SDIO card detection
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment