Search Linux Wireless

Re: [PATCH] mesh: Skip STA expiration on user_mpm mode

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

 



On Tue, Jan 13, 2015 at 9:23 PM, Masashi Honma <masashi.honma@xxxxxxxxx> wrote:
> The mesh STA expiration processing works even if user_mpm mode. This causes
> unexpected STA disconnection.
>
> This patch skips STA expiration processing on user_mpm mode.
>
> Signed-off-by: Masashi Honma <masashi.honma@xxxxxxxxx>

>
> -       ieee80211_sta_expire(sdata, ifmsh->mshcfg.plink_timeout * HZ);
> +       if (!ifmsh->user_mpm)
> +               ieee80211_sta_expire(sdata, ifmsh->mshcfg.plink_timeout * HZ);

I took a look at what authsae is doing, and it looks like it's just
prepared to handle the NL80211_CMD_DEL_STATION events generated from
cfg80211_del_sta() -- is there a reason that couldn't work for wpa_s
too?  Then you'd only need the patch to configure that timeout on the
client, and you can simplify it by not caring about user_mpm.

-- 
Bob Copeland %% www.bobcopeland.com
--
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