[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <877e8bsmv1.fsf@purkki.adurom.net>
Date: Sun, 21 Jul 2019 13:28:18 +0300
From: Kalle Valo <kvalo@...eaurora.org>
To: Ryder Lee <ryder.lee@...iatek.com>
Cc: Felix Fietkau <nbd@....name>,
Lorenzo Bianconi <lorenzo.bianconi@...hat.com>,
Roy Luo <royluo@...gle.com>, YF Luo <yf.luo@...iatek.com>,
Yiwei Chung <yiwei.chung@...iatek.com>,
Sean Wang <sean.wang@...iatek.com>,
<linux-wireless@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/3] mt76: mt7615: add cwmin/cwmax initial values
Ryder Lee <ryder.lee@...iatek.com> writes:
> Add initial values in mt7615_mcu_set_wmm() to cleanup setup flow.
>
> Signed-off-by: Ryder Lee <ryder.lee@...iatek.com>
[...]
> -#define WMM_AIFS_SET BIT(0)
> -#define WMM_CW_MIN_SET BIT(1)
> -#define WMM_CW_MAX_SET BIT(2)
> -#define WMM_TXOP_SET BIT(3)
> +#define WMM_PARAM_SET GENMASK(3, 0)
I don't see how this is any better? IMHO you just hide what is the
meaning of each bit.
--
Kalle Valo
Powered by blists - more mailing lists