Hi everyone, I would like to share my solution to a similar problem on the MBA I recently bought. Before I started to have the wifi dropping constantly, the wifi access was simply stable.
First, I used the airportd debug logger as mentioned by wifiguru. After rambling in my memory lanes for the past couple of hours, I noticed I disabled 'the password prompt required after sleep or screen saver begins' and screen saver. So I examined what the Mac said whilst checking event timestamps against my actions.
The following airportd debug is from a situation where I had the password prompt disabled:
Sun Mar 18 16:08:08.47 <configd[18]> SleepAcknowledgementCheck: Checking sleep readiness
Sun Mar 18 16:08:08.47 <configd[18]> _wowEnabled: WoW is active on en0
Sun Mar 18 16:08:08.47 <configd[18]> _apAppleWoWCapable: AP on en0 does not support Apple sleep notifications
Sun Mar 18 16:08:08.47 <configd[18]> wowExchangeRequiredForNode: WoW exchange not required for en0
Sun Mar 18 16:08:08.47 <configd[18]> _acknowledgeSleepEvent: Acknowledging sleep event
Sun Mar 18 16:11:34.38 <kernel> en0: link down event, informing supplicant.
en0 is the wireless interface on my MBA in this. MBA went to sleep mode at 16:08:08, with no password lock, and I woke him up at 16:11:34. Alas, the link is down... I have no idea of what the function name WoW stands for, but the event log text seems to suggest the Access Point on this interface does not suppoet Apple Sleep Notification feature.
Accordingly, my focus shifted to console logs (available from Applications>Utilities) to see if there might be something helpful.
18/03/2012 16:08:10.000 kernel: LE is supported - Disable LE meta event
18/03/2012 16:11:34.000 kernel: Wake reason: EHC1
18/03/2012 16:11:34.000 kernel: Previous Sleep Cause: 5
18/03/2012 16:11:34.000 kernel: The USB device HubDevice (Port 1 of Hub at 0xfd000000) may have caused a wake by issuing a remote wakeup (2)
18/03/2012 16:11:34.000 kernel: wlEvent: en0 en0 Link DOWN
18/03/2012 16:11:34.000 kernel: AirPort: Link Down on en0. Reason 4 (Disassociated due to inactivity).
18/03/2012 16:11:34.000 kernel: en0: link down event, informing supplicant.
There you go, for some reason, the wifi could not stay available if the computer went into sleep mode. In my situation, I was forced to select the netowork from the list every time the MBA woke up so that it would be on the wifi network.
So the solution is to turn on the screen saver, which has done a trick!
This way, I see airportd debug keep emitting logs from the link quality check event, indicating that there is no link interruption.
Sun Mar 18 16:57:39.457 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en0> Opportunistic Roam : Current RSSI <-50>, Last Opp Roam RSSI <-42>
Sun Mar 18 16:57:45.459 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en0)
:
:
Lastly, as many others, I am one of a multitude of computer users who want computers that work to get jobs done. Although I do not mind debugging, this does not serve the primary purpose of using a computer. I do hope Apple address user experience from this angle, not just its unrivalled aesthetic appeal.
Thank you wifiguru for your nice pointer.