]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
wlcore: increase max roc duration to 30 seconds
authorEliad Peller <eliad@wizery.com>
Fri, 11 Jul 2014 00:01:34 +0000 (03:01 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Jul 2014 19:59:58 +0000 (15:59 -0400)
we don't have any actual limitation in the driver, so
increase it arbitrarily to 30 seconds.

The long ROC is needed for the smart config.flow.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wlcore/main.c

index 4c16262afa16dbc0b1c0395cec635d2ffbd3f09f..01b4d9e9af69c1a54047be7f85cc71de4ee63342 100644 (file)
@@ -5806,7 +5806,7 @@ static int wl1271_init_ieee80211(struct wl1271 *wl)
        wl->hw->wiphy->max_sched_scan_ie_len = WL1271_CMD_TEMPL_MAX_SIZE -
                sizeof(struct ieee80211_header);
 
-       wl->hw->wiphy->max_remain_on_channel_duration = 5000;
+       wl->hw->wiphy->max_remain_on_channel_duration = 30000;
 
        wl->hw->wiphy->flags |= WIPHY_FLAG_AP_UAPSD |
                                WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL |