Search Linux Wireless

Re: [PATCHv4 1/2] cfg80211: enable dynack through nl80211

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

 



> diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
> index f1db15b..0b2d55d 100644
> --- a/include/uapi/linux/nl80211.h
> +++ b/include/uapi/linux/nl80211.h
> @@ -1594,6 +1594,9 @@ enum nl80211_commands {
>   * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is
>   *	the TDLS link initiator.
>   *
> + * @NL80211_ATTR_WIPHY_DYN_ACK: whether dynamic ack timeout estimation
> + *	algorithm is enabled

You should probably describe that it's related to the
NL80211_FEATURE_ACKTO_ESTIMATION feature (and you should document that
it's a flag) since otherwise nobody will be able to correlate the two
things easily. :)


> +       if (info->attrs[NL80211_ATTR_WIPHY_DYN_ACK]) {
> +               if (!(rdev->wiphy.features &
> NL80211_FEATURE_ACKTO_ESTIMATION))
> +                       return -EOPNOTSUPP;
> +
> +               changed |= WIPHY_PARAM_DYN_ACK;
> +       }

that doesn't really seem right, how do you turn it off??

johannes

--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux