On Mon, 2012-10-15 at 09:17 +0530, Mahesh Palivela wrote: > On 10/10/2012 02:41 PM, Johannes Berg wrote: > >> > >> we need "channel starting frequency" anyways for calculating center > >> freq. so we can use same constant for computing primary chan freq as > >> well. why switch to prim_chan_offset? > > > > I think it'd be easier for drivers, since they typically seem to use > > that to specify the control channel. If we give the frequency, they'll > > have to calculate back to offset. The offset is also used in IEs etc., > > so I think overall that would simplify things. > > Offset means we specify one of -70, -50, -30, -10, +10, +30, +50, +70 > for 80/160 MHz BW from center freq. > For ex. 80 MHz BW of channel 36, 40, 44 and 48 center freq is 42. If > control chan 36, then we specify offset -30. Is that what we want? > > VHT IEs doesn't use offset anywhere. I am not sure why/where drivers use > offset values. Ok, d'oh, our device uses an offset but I just reviewed the spec and that just says the control channel is specified in the *HT* IE... SO let's do what you suggested before and have all the three different frequencies. 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