Are you NATing clients on the AP, or bridging them to a local VLAN? NATing will of course make them appear to come from the AP, from bridging means only the APs traffic itself will come from the AP (and you would probably be getting a false positive in this case).
You can create a layer 7 firewall rule for your WiFi. Go:
Wireless/Firewall and Traffic Shaping/Add a layer 7 Firewall Rule
Add the category "Peer to Peer (P2P)" and select "All Peer-to-peer (P2P)".