o11s / open80211s

open80211s
Other
242 stars 55 forks source link

Should honor dot11MeshHWMPrannInterval before forwarding RANNs #6

Open jcard0na opened 12 years ago

jcard0na commented 12 years ago

On Tue, Mar 13, 2012 at 11:32 AM, Monthadar Al Jaberi monthadar@gmail.com wrote:

I am looking at HWMP RANN, and there is something that is strange in Draft P802.11-REVmb/D12 chapter 13.10.12.3 Case B Propagation.

There is a condition "-- The mesh STA sent its previous RANN dot11MeshHWMPrannInterval TUs ago", but for propagation this condition doesn't make a lot of sense to me.

I believe this condition is in place to avoid RANN storms. If for whatever reason a node receives a large number of RANNs, this condition ensures that the rate of transmitted RANNs does not exceed (1024/dot11MeshHWMPrannInterval) RANNs per second.

The MIB definition provides a bit more detail:

"This attribute specifies the minimum interval of time (in TUs) during which a mesh STA can send only one Action frame containing a RANN element."

I looked into your code and found that you ignore it too when propagating.

It's not that important, but we probably should implement it.