Dynamic packet capture allows capturing wireless packets between clients and an access point to diagnose root-cause wireless issues. For example, when a major issue is detected, such as an authorization failure, packet captures facilitate quick troubleshooting and root-cause analysis.