Hi Samuel, >> Update the buffer alone, not the entire node. >> This involves, >> 1) Freeing the buffer alone. >> 2) Allocating a new buffer >> 3) Update the node timestamp with the current time. >I don't fully understand how freeing and allocating a buffer would help with >better scan results. Also, is this patch just keeping the scanned BSSs longer >before invalidating them ?
In fact, the better scan result is implemented in FW (We have upstreamed to linux.firmware) In driver site, it must manage the scan result from FW. For current design, the life time of each AP node is 2 mins and 4 missing counts (This may need to modify for different WIFI Manager UI). Previous driver, we have bugs for AP node management. The invalid AP node may not be free (memory leakage or dead AP node still exist) and some AP nodes may not follow the rule of 2 mins life time and 4 missing counts. So, this patch is to fix the AP node management in driver. Samuel Chang Engineer Qualcomm Atheros, Inc. Taipei Office, Taiwan 12F., No.407, Ruiguang Rd., Neihu Dist. Taipei City 11492, Taiwan (R.O.C.) t + 886 2.8751.6385 f + 886 2.8751.6397 ________________________________________ 寄件者: [email protected] [[email protected]] 代表 Samuel Ortiz [[email protected]] 寄件日期: 2011年7月28日 上午 01:45 收件者: Chang, Samuel 副本: Wu, Ricky; Huang, Maggie; [email protected]; Yang, Jack; [email protected] 主旨: Re: [Meego-kernel] [PATCH] ar6003 : Improve the management of scan node and correct every scan node's life time Hi Samuel, My comments below: On Fri, Jul 15, 2011 at 04:33:20PM +0000, Chang, Samuel wrote: > Subject: Improve the management of scan node and correct every scan node's > life time > > Update the buffer alone, not the entire node. > This involves, > 1) Freeing the buffer alone. > 2) Allocating a new buffer > 3) Update the node timestamp with the current time. I don't fully understand how freeing and allocating a buffer would help with better scan results. Also, is this patch just keeping the scanned BSSs longer before invalidating them ? Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ _______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel _______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
