diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-11-26 16:05:41 (GMT) |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-11-28 09:45:42 (GMT) |
commit | 5f9b67770be4201f4449b0f180effecaac4e2686 (patch) | |
tree | 5ac83cde8a352c12db4715e83743915de03a961f /drivers/net/wireless/ti/wlcore/hw_ops.h | |
parent | 7c482c1040ae54e89a8fd4d6415577070d5a915d (diff) | |
download | linux-fsl-qoriq-5f9b67770be4201f4449b0f180effecaac4e2686.tar.xz |
wlcore: use new set bandwidth command to adjusting channel BW
We support changing the channel BW when we started the STA role on
a 40Mhz bandwidth. Otherwise a reconnection is required.
Save the started channel width and use it when channel width updates
arrive.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/hw_ops.h')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/hw_ops.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/hw_ops.h b/drivers/net/wireless/ti/wlcore/hw_ops.h index 2673d78..0e0b656 100644 --- a/drivers/net/wireless/ti/wlcore/hw_ops.h +++ b/drivers/net/wireless/ti/wlcore/hw_ops.h @@ -201,4 +201,12 @@ wlcore_hw_pre_pkt_send(struct wl1271 *wl, u32 buf_offset, u32 last_len) return buf_offset; } +static inline void +wlcore_hw_sta_rc_update(struct wl1271 *wl, struct wl12xx_vif *wlvif, + struct ieee80211_sta *sta, u32 changed) +{ + if (wl->ops->sta_rc_update) + wl->ops->sta_rc_update(wl, wlvif, sta, changed); +} + #endif |