Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1648 (new defect)

Opened 15 years ago

Last modified 15 years ago

No bssid validation in ADHOC mode

Reported by: Assigned to:
Priority: minor Milestone:
Component: madwifi: 802.11 stack Version: v0.9.3.3
Keywords: adhoc bssid validation Cc:
Patch is attached: 1 Pending:

Description (Last modified by mentor)

There is no BSSID validation when an interface is configured in ADHOC mode. So, under some conditions, a host accepts IP packets even if they have been sent by hosts with different ESSID and BSSID.

You can reproduce this problem this way:

  • Configure two adhoc hosts with different ESSID and BSSID;
  • Set IP addresses of the same network to these hosts;
  • On both hosts set a static entry in the ARP table with the MAC of the other host;
  • Now you can ping or generate any kind of traffic between these hosts, even if they belong to different adhoc cells (they have different BSSID).

I suggest a patch to correct this problem (attached, based on It works but I'm not sure if it's 100% correct.


802.11-adhoc-bssid-validation.patch (0.9 kB) - added by on 11/15/07 15:15:00.

Change History

11/15/07 15:15:00 changed by

  • attachment 802.11-adhoc-bssid-validation.patch added.


11/15/07 15:17:30 changed by mentor

  • priority changed from critical to minor.
  • description changed.

(follow-up: ↓ 3 ) 11/15/07 15:18:41 changed by mentor

Would you please sign off on your patch? DevDocs/SigningPatches

(in reply to: ↑ 2 ) 11/15/07 15:27:35 changed by anonymous

Replying to mentor:

Would you please sign off on your patch? DevDocs/SigningPatches

Signed-off-by: Emanuele Colombo <>, Alberto Pollastro <>