Search Linux Wireless

Re: [PATCH] iw: fix ampdu spacing & max amsdu length reporting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I know Johannes is on vacation, so just a reminder :)

On Sat, Jun 26, 2010 at 3:51 PM, Christian Lamparter
<chunkeey@xxxxxxxxxxxxxx> wrote:
> Signed-off-by: Christian Lamparter <chunkeey@xxxxxxxxxxxxxx>
> ---
> diff --git a/scan.c b/scan.c
> index 09b1047..cd58290 100644
> --- a/scan.c
> +++ b/scan.c
> @@ -497,7 +497,7 @@ static void print_ht_capa(const uint8_t type, uint8_t len, const uint8_t *data)
>        printf("\n");
>        print_ht_capability(data[0] | (data[1] << 8));
>        print_ampdu_length(data[2] & 3);
> -       print_ampdu_spacing((data[2] >> 2) & 3);
> +       print_ampdu_spacing((data[2] >> 2) & 7);
>        print_ht_mcs(data + 3);
>  }
>
> diff --git a/util.c b/util.c
> index 0c6d978..80d5402 100644
> --- a/util.c
> +++ b/util.c
> @@ -457,8 +457,8 @@ void print_ht_capability(__u16 cap)
>
>        PRINT_HT_CAP((cap & BIT(10)), "HT Delayed Block Ack");
>
> -       PRINT_HT_CAP((cap & BIT(11)), "Max AMSDU length: 3839 bytes");
> -        PRINT_HT_CAP(!(cap & BIT(11)), "Max AMSDU length: 7935 bytes");
> +       PRINT_HT_CAP(!(cap & BIT(11)), "Max AMSDU length: 3839 bytes");
> +       PRINT_HT_CAP((cap & BIT(11)), "Max AMSDU length: 7935 bytes");
>
>        /*
>         * For beacons and probe response this would mean the BSS
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux