On Sat, 2018-01-27 at 13:44 -0600, Larry Finger wrote: > On 01/26/2018 01:46 AM, pkshih@xxxxxxxxxxx wrote: > > From: Ping-Ke Shih <pkshih@xxxxxxxxxxx> > > > > In older design, the TX power is grouped into rate section (smaller array > > size), but new design groups them into rate (larger array size). Thus, > > we extend the size for both cases, and add compile time assertion. > > > > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> > > --- > > I hate to see any arrays getting larger, but I can see that changes in rates > make this inevitable. The BUILD_BUG_ON() is a good addition. > > Acked-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> > My steps to revise tx_power procedure are 1. extends the array size (this commit) 2. add 8822be (the new tx_power procedure is included) 3. make all chips use the new tx_power procedure PK