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 #1344 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Xtended Range elements are incorrectly filled

Reported by: Assigned to:
Priority: major Milestone: version 0.9.5
Component: madwifi: 802.11 stack Version: v0.9.3.1
Keywords: Cc:
Patch is attached: 0 Pending:


While doing experiments with Xtended range feature I found that the driver is not correctly filling the extended range elements in the beacon. It is trying to write few extra bytes than what is allocated for the extended range elements. My observation is it has no side effects now but ignoring such error may bounce back with heap overflow problem. I am attaching patch for the same in which i have assumed some value for Xtended Range Type ,Subtype and version number. I am still exploring this feature and I know its not yet complete. This fix is an effort to reduce any future problem with the driver. Thanks Md Sohail Ahmad, AirTight? Networks Inc


patch-xr-element-fill-fix.diff (2.4 kB) - added by on 05/24/07 16:05:22.
patch-xr-element-fill-fix.2.diff (2.4 kB) - added by on 05/24/07 16:22:55.

Change History

05/24/07 16:05:22 changed by

  • attachment patch-xr-element-fill-fix.diff added.

05/24/07 16:12:20 changed by

The attached patch fixes the error in ieee80211_add_xr_param function while filling the Xtended Range elements. Extra bytes were being written by the function which has been removed. Some assumption has been done for the value of XR Type,Subtype, and Version number in the fix. Please let me know incase of any query concern. Signed-off-by: Md Sohail Ahmad <>

05/24/07 16:22:55 changed by

  • attachment patch-xr-element-fill-fix.2.diff added.

05/24/07 16:24:27 changed by

Attaching working patch. Signed-off-by: Md Sohail Ahmad <>

05/24/07 18:46:40 changed by mentor

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to version 0.9.4.

02/11/08 06:19:37 changed by mrenzmann

  • milestone changed from version 0.9.4 to version 0.9.5.