summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorVipin Mehta <vmehta@atheros.com>2011-02-18 13:13:08 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-18 13:28:51 -0800
commitfb9b548717444c82eb2d196c91729421ee68d4be (patch)
treeada3fb2c862e7e7ac6848b7e58bfba87f80ae244 /drivers/staging
parent15eccc06e107f7d28e3e9985dc529a5dbbc4df63 (diff)
staging: ath6kl: Adding support for txop bursting enable/disable
Adding compile time support for enabling/disabling txop bursting. Signed-off-by: Vipin Mehta <vmehta@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/ath6kl/os/linux/ar6000_drv.c7
-rw-r--r--drivers/staging/ath6kl/os/linux/include/wlan_config.h7
2 files changed, 14 insertions, 0 deletions
diff --git a/drivers/staging/ath6kl/os/linux/ar6000_drv.c b/drivers/staging/ath6kl/os/linux/ar6000_drv.c
index b69280da113..f084a92c920 100644
--- a/drivers/staging/ath6kl/os/linux/ar6000_drv.c
+++ b/drivers/staging/ath6kl/os/linux/ar6000_drv.c
@@ -2528,6 +2528,13 @@ int ar6000_target_config_wlan_params(AR_SOFTC_T *ar)
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;
}
diff --git a/drivers/staging/ath6kl/os/linux/include/wlan_config.h b/drivers/staging/ath6kl/os/linux/include/wlan_config.h
index f7d04872222..2de5cef26cc 100644
--- a/drivers/staging/ath6kl/os/linux/include/wlan_config.h
+++ b/drivers/staging/ath6kl/os/linux/include/wlan_config.h
@@ -103,6 +103,13 @@
#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
* and enable/disable SDIO card detection
*/