2010-12-03 04:12:40

by Nick Kossifidis

[permalink] [raw]
Subject: [PATCH 6/6] ath5k: Include tx ack reporting on hw flags

* Since we report tx acks to the protocol stack, add the needed
flag to hw_flags. This way we'll also use the new AP probing mechanism.

Signed-off-by: Nick Kossifidis <[email protected]>

---
drivers/net/wireless/ath/ath5k/base.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
index e68f248..cb4ecfa 100644
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -2341,8 +2341,9 @@ ath5k_init_softc(struct ath5k_softc *sc, const struct ath_bus_ops *bus_ops)
/* Initialize driver private data */
SET_IEEE80211_DEV(hw, sc->dev);
hw->flags = IEEE80211_HW_RX_INCLUDES_FCS |
- IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
- IEEE80211_HW_SIGNAL_DBM;
+ IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
+ IEEE80211_HW_SIGNAL_DBM |
+ IEEE80211_HW_REPORTS_TX_ACK_STATUS;

hw->wiphy->interface_modes =
BIT(NL80211_IFTYPE_AP) |


2010-12-03 06:36:05

by Sedat Dilek

[permalink] [raw]
Subject: Re: [PATCH 6/6] ath5k: Include tx ack reporting on hw flags

Tested-by: Sedat Dilek <[email protected]>

On Fri, Dec 3, 2010 at 5:12 AM, Nick Kossifidis <[email protected]> wrote:
>  * Since we report tx acks to the protocol stack, add the needed
>  flag to hw_flags. This way we'll also use the new AP probing mechanism.
>
>  Signed-off-by: Nick Kossifidis <[email protected]>
>
> ---
>  drivers/net/wireless/ath/ath5k/base.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
> index e68f248..cb4ecfa 100644
> --- a/drivers/net/wireless/ath/ath5k/base.c
> +++ b/drivers/net/wireless/ath/ath5k/base.c
> @@ -2341,8 +2341,9 @@ ath5k_init_softc(struct ath5k_softc *sc, const struct ath_bus_ops *bus_ops)
>        /* Initialize driver private data */
>        SET_IEEE80211_DEV(hw, sc->dev);
>        hw->flags = IEEE80211_HW_RX_INCLUDES_FCS |
> -                   IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
> -                   IEEE80211_HW_SIGNAL_DBM;
> +                       IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
> +                       IEEE80211_HW_SIGNAL_DBM |
> +                       IEEE80211_HW_REPORTS_TX_ACK_STATUS;
>
>        hw->wiphy->interface_modes =
>                BIT(NL80211_IFTYPE_AP) |
>