Lines Matching refs:wlvif
15 struct wl12xx_vif *wlvif, in wl18xx_cmd_channel_switch() argument
31 cmd->role_id = wlvif->role_id; in wl18xx_cmd_channel_switch()
51 if (wlvif->bss_type == BSS_TYPE_STA_BSS) in wl18xx_cmd_channel_switch()
52 supported_rates |= wlcore_hw_sta_get_ap_rate_mask(wl, wlvif); in wl18xx_cmd_channel_switch()
55 wlcore_hw_ap_get_mimo_wide_rate_mask(wl, wlvif); in wl18xx_cmd_channel_switch()
56 if (wlvif->p2p) in wl18xx_cmd_channel_switch()
59 cmd->channel_type = wlvif->channel_type; in wl18xx_cmd_channel_switch()
162 int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start) in wl18xx_cmd_set_cac() argument
168 wlvif->channel, start ? "start" : "stop"); in wl18xx_cmd_set_cac()
174 cmd->role_id = wlvif->role_id; in wl18xx_cmd_set_cac()
175 cmd->channel = wlvif->channel; in wl18xx_cmd_set_cac()
176 if (wlvif->band == NL80211_BAND_5GHZ) in wl18xx_cmd_set_cac()
178 cmd->bandwidth = wlcore_get_native_channel_type(wlvif->channel_type); in wl18xx_cmd_set_cac()
219 int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_cmd_dfs_master_restart() argument
225 wlvif->role_id); in wl18xx_cmd_dfs_master_restart()
231 cmd->role_id = wlvif->role_id; in wl18xx_cmd_dfs_master_restart()