From: "andrea.merello" <andrea.merello@xxxxxxxxx> HW Specifications says this register has to be written whenever the NIC joins (or creates) a network (BSS and IBSS). I suspect that not writing the beacon interval register is probably not a big issue (probably related to functions not used in the driver right now). Possibly power-save and HW beaconing. But I'm not sure it is only needed for that purposes.. On the other hand I'm sure writing it will not hurt anyway. This patch adds register write on beacon interval changes. Signed-off-by: andrea.merello <andrea.merello@xxxxxxxxx> Signed-off-by: andrea merello <andrea.merello@xxxxxxxxx> --- drivers/net/wireless/rtl818x/rtl8180/dev.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/rtl818x/rtl8180/dev.c b/drivers/net/wireless/rtl818x/rtl8180/dev.c index 9645ed2..88f3afd 100644 --- a/drivers/net/wireless/rtl818x/rtl8180/dev.c +++ b/drivers/net/wireless/rtl818x/rtl8180/dev.c @@ -806,6 +806,10 @@ static void rtl8180_bss_info_changed(struct ieee80211_hw *dev, vif_priv = (struct rtl8180_vif *)&vif->drv_priv; + if (changed & BSS_CHANGED_BEACON_INT) + rtl818x_iowrite16(priv, &priv->map->BEACON_INTERVAL, + info->beacon_int); + if (changed & BSS_CHANGED_BSSID) { for (i = 0; i < ETH_ALEN; i++) rtl818x_iowrite8(priv, &priv->map->BSSID[i], -- 1.8.3.2 -- 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