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

Opened 11 years ago

Last modified 11 years ago

Maybe wrong calculation of curRate

Reported by: anonymous Assigned to:
Priority: minor Milestone: version 0.9.5
Component: madwifi: 802.11 stack Version: v0.9.4
Keywords: curRate rate11b Cc:
Patch is attached: 0 Pending:


I tried to understadn the roaming mechansim, therefore I put some printks in ieeee80211_scan_sta.c function sta_roam_check. What I see was that curRate = ni->ni_rates.rs_rates[ni->ni_txrate] & IEEE80211_RATE_VAL; gives for example the 2 *rate instead of rate. For example 22 instead of 11 or 4 instead of 2. The mode I tested with was 802.11b. I don't know if this is also true for other modes, but changing roamRate with "iwpriv ath0 rate11b xx" makes more sense if it xx is not 2*xx for changing the Roaming-Level. Hope this helps you to get a better roaming.

Change History

06/19/08 04:37:37 changed by mentor

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

The usage is correct but slightly unclear. The iwpriv require that you set them in units of 0.5 (as we only have integer calculations in the kernel). I have updated the names to make this slightly more clear.