On Wed, Sep 15, 2010 at 08:53:34PM +0530, Felix Fietkau wrote: > On 2010-09-15 4:22 PM, Vasanthakumar Thiagarajan wrote: > > Signed-off-by: Vasanthakumar Thiagarajan <vasanth@xxxxxxxxxxx> > NACK. The point of the caldata struct is to keep calibration data for > the operating channel and reset it whenever that changes (but not just > for off-channel activity). > Since the PAPRD data uses quite a bit of memory and doesn't take that > long to generate, we don't really need to make it per-channel. Yes, it takes some memory, this looked clean and simple. It is not unusual case that we would be operating on different channels (think about roaming,dfs,p2p and etc). The existing implementation does not do paprd calibration when the operating channel is changed. Having a single caldata might require us depend on SC_OP_SCANNING/ SC_OP_OFFCHANNEL, but we are already dealing with some bugs in those flags. I completely agree that it takes memory, would try to fix existing issues in paprd rather than keeping channel specific data. thanks for the review. Vasanth -- 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