Skip to content

Commit

Permalink
staging: ath6kl: Adding support for txop bursting enable/disable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vipin Mehta authored and Greg Kroah-Hartman committed Feb 18, 2011
1 parent 15eccc0 commit fb9b548
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/staging/ath6kl/os/linux/ar6000_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
7 changes: 7 additions & 0 deletions drivers/staging/ath6kl/os/linux/include/wlan_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,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
Expand Down

0 comments on commit fb9b548

Please sign in to comment.