On Wed, Oct 23, 2019 at 10:23 AM Tony Chuang <yhchuang@xxxxxxxxxxx> wrote: > > > > > I don't see any chance that delta_power_index[] will be < 0. Either from > > rtw_phy_pwrtrack_get_pwridx() or swing_table. > > > > Maybe just use u8 instead of s8? > > > > I think "return -delta_swing_table_idx_neg[delta];" should be stored > with s8 ? > Sorry for missing that. I was somehow misled by the naming 'power_index'. > Yan-Hsuan