Search Linux Wireless

Re: [PATCH] mac80211: mesh STAs only process mesh beacons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2012-10-20 at 19:03 -0700, Thomas Pedersen wrote:
> Before, a mesh STA would execute some code on behalf of AP or IBSS
> beacons. Since the mesh stack currently does not consider anything but
> other mesh STAs interesting, limit processing to just these and save a
> little overhead.

I can apply this, but I think while you're at it the function deserves a
bit more thought:

> Signed-off-by: Thomas Pedersen <thomas@xxxxxxxxxxx>

> -	if (elems.mesh_id && elems.mesh_config &&
> -	    mesh_matches_local(sdata, &elems))
> +	if (mesh_matches_local(sdata, &elems))
>  		mesh_neighbour_update(sdata, mgmt->sa, &elems);
>  
>  	if (ifmsh->sync_ops)

Why would you want to invoke sync_ops when the mesh is somebody else's
mesh, i.e. doesn't match local?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux