Skip to content

Commit

Permalink
wlcore: increase max roc duration to 30 seconds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eliad Peller authored and John W. Linville committed Jul 15, 2014
1 parent e93e15f commit fbddf58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ti/wlcore/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit fbddf58

Please sign in to comment.