rtl8192cu: fix the mesh beaconing
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Fri, 23 Jan 2015 08:59:24 +0000 (16:59 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Jan 2015 17:58:43 +0000 (19:58 +0200)
Patch "rtlwifi: add support to send beacon frame" allows
the beaconing of rtl8192cu. But mesh beaconing is not
working. Fix this.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rtlwifi/rtl8192cu/hw.c

index 551321728ae06b7f3781795717a27e453f6a8f65..e5a7c4f81ab8d56194f940a1c48dda46e2b8e5ee 100644 (file)
@@ -1509,6 +1509,7 @@ void rtl92cu_set_beacon_related_registers(struct ieee80211_hw *hw)
        /* TODO: Modify later (Find the right parameters)
         * NOTE: Fix test chip's bug (about contention windows's randomness) */
        if ((mac->opmode == NL80211_IFTYPE_ADHOC) ||
+           (mac->opmode == NL80211_IFTYPE_MESH_POINT) ||
            (mac->opmode == NL80211_IFTYPE_AP)) {
                rtl_write_byte(rtlpriv, REG_RXTSF_OFFSET_CCK, 0x50);
                rtl_write_byte(rtlpriv, REG_RXTSF_OFFSET_OFDM, 0x50);
This page took 0.044434 seconds and 5 git commands to generate.