wlvif             275 drivers/net/wireless/ti/wl12xx/cmd.c 			      struct wl12xx_vif *wlvif,
wlvif             289 drivers/net/wireless/ti/wl12xx/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif             115 drivers/net/wireless/ti/wl12xx/cmd.h 			      struct wl12xx_vif *wlvif,
wlvif            1460 drivers/net/wireless/ti/wl12xx/main.c 				       struct wl12xx_vif *wlvif)
wlvif            1462 drivers/net/wireless/ti/wl12xx/main.c 	return wlvif->rate_set;
wlvif              80 drivers/net/wireless/ti/wl12xx/scan.c static int wl1271_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              84 drivers/net/wireless/ti/wl12xx/scan.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             108 drivers/net/wireless/ti/wl12xx/scan.c 	if (wlcore_is_p2p_mgmt(wlvif))
wlvif             109 drivers/net/wireless/ti/wl12xx/scan.c 		cmd->params.role_id = wlvif->dev_role_id;
wlvif             111 drivers/net/wireless/ti/wl12xx/scan.c 		cmd->params.role_id = wlvif->role_id;
wlvif             145 drivers/net/wireless/ti/wl12xx/scan.c 	ret = wl12xx_cmd_build_probe_req(wl, wlvif,
wlvif             177 drivers/net/wireless/ti/wl12xx/scan.c int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             204 drivers/net/wireless/ti/wl12xx/scan.c void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             216 drivers/net/wireless/ti/wl12xx/scan.c 		mask = wlvif->bitrate_masks[band];
wlvif             223 drivers/net/wireless/ti/wl12xx/scan.c 		ret = wl1271_scan_send(wl, wlvif, band, false, rate);
wlvif             226 drivers/net/wireless/ti/wl12xx/scan.c 			wl1271_scan_stm(wl, wlvif);
wlvif             233 drivers/net/wireless/ti/wl12xx/scan.c 		mask = wlvif->bitrate_masks[band];
wlvif             240 drivers/net/wireless/ti/wl12xx/scan.c 		ret = wl1271_scan_send(wl, wlvif, band, true, rate);
wlvif             246 drivers/net/wireless/ti/wl12xx/scan.c 			wl1271_scan_stm(wl, wlvif);
wlvif             253 drivers/net/wireless/ti/wl12xx/scan.c 		rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[band]);
wlvif             254 drivers/net/wireless/ti/wl12xx/scan.c 		ret = wl1271_scan_send(wl, wlvif, band, false, rate);
wlvif             257 drivers/net/wireless/ti/wl12xx/scan.c 			wl1271_scan_stm(wl, wlvif);
wlvif             264 drivers/net/wireless/ti/wl12xx/scan.c 		rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[band]);
wlvif             265 drivers/net/wireless/ti/wl12xx/scan.c 		ret = wl1271_scan_send(wl, wlvif, band, true, rate);
wlvif             268 drivers/net/wireless/ti/wl12xx/scan.c 			wl1271_scan_stm(wl, wlvif);
wlvif             308 drivers/net/wireless/ti/wl12xx/scan.c 				  struct wl12xx_vif *wlvif,
wlvif             324 drivers/net/wireless/ti/wl12xx/scan.c 	cfg->role_id = wlvif->role_id;
wlvif             343 drivers/net/wireless/ti/wl12xx/scan.c 	ret = wlcore_scan_sched_scan_ssid_list(wl, wlvif, req);
wlvif             368 drivers/net/wireless/ti/wl12xx/scan.c 		ret = wl12xx_cmd_build_probe_req(wl, wlvif,
wlvif             369 drivers/net/wireless/ti/wl12xx/scan.c 						 wlvif->role_id, band,
wlvif             385 drivers/net/wireless/ti/wl12xx/scan.c 		ret = wl12xx_cmd_build_probe_req(wl, wlvif,
wlvif             386 drivers/net/wireless/ti/wl12xx/scan.c 						 wlvif->role_id, band,
wlvif             414 drivers/net/wireless/ti/wl12xx/scan.c int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             421 drivers/net/wireless/ti/wl12xx/scan.c 	if (wlvif->bss_type != BSS_TYPE_STA_BSS)
wlvif             425 drivers/net/wireless/ti/wl12xx/scan.c 	    test_bit(WLVIF_FLAG_IN_USE, &wlvif->flags))
wlvif             432 drivers/net/wireless/ti/wl12xx/scan.c 	start->role_id = wlvif->role_id;
wlvif             447 drivers/net/wireless/ti/wl12xx/scan.c int wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif  *wlvif,
wlvif             453 drivers/net/wireless/ti/wl12xx/scan.c 	ret = wl1271_scan_sched_scan_config(wl, wlvif, req, ies);
wlvif             457 drivers/net/wireless/ti/wl12xx/scan.c 	return wl1271_scan_sched_scan_start(wl, wlvif);
wlvif             460 drivers/net/wireless/ti/wl12xx/scan.c void wl12xx_scan_sched_scan_stop(struct wl1271 *wl,  struct wl12xx_vif *wlvif)
wlvif             474 drivers/net/wireless/ti/wl12xx/scan.c 	stop->role_id = wlvif->role_id;
wlvif             488 drivers/net/wireless/ti/wl12xx/scan.c int wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             491 drivers/net/wireless/ti/wl12xx/scan.c 	wl1271_scan_stm(wl, wlvif);
wlvif             495 drivers/net/wireless/ti/wl12xx/scan.c void wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             497 drivers/net/wireless/ti/wl12xx/scan.c 	wl1271_scan_stm(wl, wlvif);
wlvif             118 drivers/net/wireless/ti/wl12xx/scan.h int wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             120 drivers/net/wireless/ti/wl12xx/scan.h int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif             121 drivers/net/wireless/ti/wl12xx/scan.h void wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif             122 drivers/net/wireless/ti/wl12xx/scan.h int wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif  *wlvif,
wlvif             125 drivers/net/wireless/ti/wl12xx/scan.h void wl12xx_scan_sched_scan_stop(struct wl1271 *wl,  struct wl12xx_vif *wlvif);
wlvif              15 drivers/net/wireless/ti/wl18xx/cmd.c 			      struct wl12xx_vif *wlvif,
wlvif              31 drivers/net/wireless/ti/wl18xx/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif              51 drivers/net/wireless/ti/wl18xx/cmd.c 	if (wlvif->bss_type == BSS_TYPE_STA_BSS)
wlvif              52 drivers/net/wireless/ti/wl18xx/cmd.c 		supported_rates |= wlcore_hw_sta_get_ap_rate_mask(wl, wlvif);
wlvif              55 drivers/net/wireless/ti/wl18xx/cmd.c 			wlcore_hw_ap_get_mimo_wide_rate_mask(wl, wlvif);
wlvif              56 drivers/net/wireless/ti/wl18xx/cmd.c 	if (wlvif->p2p)
wlvif              59 drivers/net/wireless/ti/wl18xx/cmd.c 	cmd->channel_type = wlvif->channel_type;
wlvif             162 drivers/net/wireless/ti/wl18xx/cmd.c int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start)
wlvif             168 drivers/net/wireless/ti/wl18xx/cmd.c 		     wlvif->channel, start ? "start" : "stop");
wlvif             174 drivers/net/wireless/ti/wl18xx/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif             175 drivers/net/wireless/ti/wl18xx/cmd.c 	cmd->channel = wlvif->channel;
wlvif             176 drivers/net/wireless/ti/wl18xx/cmd.c 	if (wlvif->band == NL80211_BAND_5GHZ)
wlvif             178 drivers/net/wireless/ti/wl18xx/cmd.c 	cmd->bandwidth = wlcore_get_native_channel_type(wlvif->channel_type);
wlvif             219 drivers/net/wireless/ti/wl18xx/cmd.c int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             225 drivers/net/wireless/ti/wl18xx/cmd.c 		     wlvif->role_id);
wlvif             231 drivers/net/wireless/ti/wl18xx/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif              73 drivers/net/wireless/ti/wl18xx/cmd.h 			      struct wl12xx_vif *wlvif,
wlvif              79 drivers/net/wireless/ti/wl18xx/cmd.h int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start);
wlvif              81 drivers/net/wireless/ti/wl18xx/cmd.h int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif             348 drivers/net/wireless/ti/wl18xx/debugfs.c 	struct wl12xx_vif *wlvif;
wlvif             377 drivers/net/wireless/ti/wl18xx/debugfs.c 	wl12xx_for_each_wlvif_ap(wl, wlvif) {
wlvif             378 drivers/net/wireless/ti/wl18xx/debugfs.c 		wlcore_cmd_generic_cfg(wl, wlvif,
wlvif             208 drivers/net/wireless/ti/wl18xx/event.c 		struct wl12xx_vif *wlvif;
wlvif             215 drivers/net/wireless/ti/wl18xx/event.c 		wlvif = wl->links[link_id].wlvif;
wlvif             216 drivers/net/wireless/ti/wl18xx/event.c 		vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             221 drivers/net/wireless/ti/wl18xx/event.c 		if (wlvif->bss_type != BSS_TYPE_AP_BSS)
wlvif            1272 drivers/net/wireless/ti/wl18xx/main.c 				       struct wl12xx_vif *wlvif)
wlvif            1274 drivers/net/wireless/ti/wl18xx/main.c 	u32 hw_rate_set = wlvif->rate_set;
wlvif            1276 drivers/net/wireless/ti/wl18xx/main.c 	if (wlvif->channel_type == NL80211_CHAN_HT40MINUS ||
wlvif            1277 drivers/net/wireless/ti/wl18xx/main.c 	    wlvif->channel_type == NL80211_CHAN_HT40PLUS) {
wlvif            1292 drivers/net/wireless/ti/wl18xx/main.c 					     struct wl12xx_vif *wlvif)
wlvif            1294 drivers/net/wireless/ti/wl18xx/main.c 	if (wlvif->channel_type == NL80211_CHAN_HT40MINUS ||
wlvif            1295 drivers/net/wireless/ti/wl18xx/main.c 	    wlvif->channel_type == NL80211_CHAN_HT40PLUS) {
wlvif            1299 drivers/net/wireless/ti/wl18xx/main.c 		if (WARN_ON(wlvif->band != NL80211_BAND_5GHZ))
wlvif            1304 drivers/net/wireless/ti/wl18xx/main.c 		   wlvif->band == NL80211_BAND_2GHZ) {
wlvif            1614 drivers/net/wireless/ti/wl18xx/main.c 				 struct wl12xx_vif *wlvif)
wlvif            1616 drivers/net/wireless/ti/wl18xx/main.c 	bool wide = wlvif->rc_update_bw >= IEEE80211_STA_RX_BW_40;
wlvif            1621 drivers/net/wireless/ti/wl18xx/main.c 	if (WARN_ON(wlvif->bss_type != BSS_TYPE_STA_BSS))
wlvif            1625 drivers/net/wireless/ti/wl18xx/main.c 	if (!test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags))
wlvif            1632 drivers/net/wireless/ti/wl18xx/main.c 	if (wlvif->sta.role_chan_type == NL80211_CHAN_HT40MINUS ||
wlvif            1633 drivers/net/wireless/ti/wl18xx/main.c 	    wlvif->sta.role_chan_type == NL80211_CHAN_HT40PLUS)
wlvif            1634 drivers/net/wireless/ti/wl18xx/main.c 		wl18xx_acx_peer_ht_operation_mode(wl, wlvif->sta.hlid, wide);
wlvif            1636 drivers/net/wireless/ti/wl18xx/main.c 		ieee80211_connection_loss(wl12xx_wlvif_to_vif(wlvif));
wlvif              27 drivers/net/wireless/ti/wl18xx/scan.c static int wl18xx_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              41 drivers/net/wireless/ti/wl18xx/scan.c 	if (wlcore_is_p2p_mgmt(wlvif))
wlvif              42 drivers/net/wireless/ti/wl18xx/scan.c 		cmd->role_id = wlvif->dev_role_id;
wlvif              44 drivers/net/wireless/ti/wl18xx/scan.c 		cmd->role_id = wlvif->role_id;
wlvif             100 drivers/net/wireless/ti/wl18xx/scan.c 		ret = wl12xx_cmd_build_probe_req(wl, wlvif,
wlvif             117 drivers/net/wireless/ti/wl18xx/scan.c 		ret = wl12xx_cmd_build_probe_req(wl, wlvif,
wlvif             146 drivers/net/wireless/ti/wl18xx/scan.c void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             156 drivers/net/wireless/ti/wl18xx/scan.c 				  struct wl12xx_vif *wlvif,
wlvif             168 drivers/net/wireless/ti/wl18xx/scan.c 	filter_type = wlcore_scan_sched_scan_ssid_list(wl, wlvif, req);
wlvif             178 drivers/net/wireless/ti/wl18xx/scan.c 	cmd->role_id = wlvif->role_id;
wlvif             243 drivers/net/wireless/ti/wl18xx/scan.c 		ret = wl12xx_cmd_build_probe_req(wl, wlvif,
wlvif             260 drivers/net/wireless/ti/wl18xx/scan.c 		ret = wl12xx_cmd_build_probe_req(wl, wlvif,
wlvif             289 drivers/net/wireless/ti/wl18xx/scan.c int wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             293 drivers/net/wireless/ti/wl18xx/scan.c 	return wl18xx_scan_sched_scan_config(wl, wlvif, req, ies);
wlvif             296 drivers/net/wireless/ti/wl18xx/scan.c static int __wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             310 drivers/net/wireless/ti/wl18xx/scan.c 	stop->role_id = wlvif->role_id;
wlvif             324 drivers/net/wireless/ti/wl18xx/scan.c void wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             326 drivers/net/wireless/ti/wl18xx/scan.c 	__wl18xx_scan_stop(wl, wlvif, SCAN_TYPE_PERIODIC);
wlvif             328 drivers/net/wireless/ti/wl18xx/scan.c int wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             331 drivers/net/wireless/ti/wl18xx/scan.c 	return wl18xx_scan_send(wl, wlvif, req);
wlvif             334 drivers/net/wireless/ti/wl18xx/scan.c int wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             336 drivers/net/wireless/ti/wl18xx/scan.c 	return __wl18xx_scan_stop(wl, wlvif, SCAN_TYPE_SEARCH);
wlvif             105 drivers/net/wireless/ti/wl18xx/scan.h int wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             107 drivers/net/wireless/ti/wl18xx/scan.h int wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif             108 drivers/net/wireless/ti/wl18xx/scan.h void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif             109 drivers/net/wireless/ti/wl18xx/scan.h int wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             112 drivers/net/wireless/ti/wl18xx/scan.h void wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              51 drivers/net/wireless/ti/wl18xx/tx.c 			struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif              52 drivers/net/wireless/ti/wl18xx/tx.c 			if (wlvif->channel_type == NL80211_CHAN_HT40MINUS ||
wlvif              53 drivers/net/wireless/ti/wl18xx/tx.c 			    wlvif->channel_type == NL80211_CHAN_HT40PLUS) {
wlvif              22 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_wake_up_conditions(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              37 drivers/net/wireless/ti/wlcore/acx.c 	wake_up->role_id = wlvif->role_id;
wlvif              82 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              99 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif             113 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             127 drivers/net/wireless/ti/wlcore/acx.c 	feature->role_id = wlvif->role_id;
wlvif             184 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             198 drivers/net/wireless/ti/wlcore/acx.c 	slot->role_id = wlvif->role_id;
wlvif             213 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             228 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif             246 drivers/net/wireless/ti/wlcore/acx.c 				      struct wl12xx_vif *wlvif)
wlvif             259 drivers/net/wireless/ti/wlcore/acx.c 	rx_timeout->role_id = wlvif->role_id;
wlvif             276 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             297 drivers/net/wireless/ti/wlcore/acx.c 	rts->role_id = wlvif->role_id;
wlvif             340 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_beacon_filter_opt(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             359 drivers/net/wireless/ti/wlcore/acx.c 	beacon_filter->role_id = wlvif->role_id;
wlvif             381 drivers/net/wireless/ti/wlcore/acx.c 				   struct wl12xx_vif *wlvif)
wlvif             397 drivers/net/wireless/ti/wlcore/acx.c 	ie_table->role_id = wlvif->role_id;
wlvif             438 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_conn_monit_params(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             460 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif             563 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_bcn_dtim_options(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             576 drivers/net/wireless/ti/wlcore/acx.c 	bb->role_id = wlvif->role_id;
wlvif             593 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_aid(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 aid)
wlvif             606 drivers/net/wireless/ti/wlcore/acx.c 	acx_aid->role_id = wlvif->role_id;
wlvif             649 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_set_preamble(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             663 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif             677 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_cts_protect(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             691 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif             722 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_sta_rate_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             738 drivers/net/wireless/ti/wlcore/acx.c 		wlvif->basic_rate, wlvif->rate_set);
wlvif             741 drivers/net/wireless/ti/wlcore/acx.c 	acx->rate_policy_idx = cpu_to_le32(wlvif->sta.basic_rate_idx);
wlvif             742 drivers/net/wireless/ti/wlcore/acx.c 	acx->rate_policy.enabled_rates = cpu_to_le32(wlvif->basic_rate);
wlvif             754 drivers/net/wireless/ti/wlcore/acx.c 	acx->rate_policy_idx = cpu_to_le32(wlvif->sta.ap_rate_idx);
wlvif             758 drivers/net/wireless/ti/wlcore/acx.c 		cpu_to_le32(wlcore_hw_sta_get_ap_rate_mask(wl, wlvif));
wlvif             774 drivers/net/wireless/ti/wlcore/acx.c 	acx->rate_policy_idx = cpu_to_le32(wlvif->sta.p2p_rate_idx);
wlvif             825 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_ac_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             841 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif             859 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_tid_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             876 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif            1058 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_bet_enable(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1075 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif            1090 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_arp_ip_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1104 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif            1152 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_keep_alive_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1166 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif            1180 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_keep_alive_config(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1194 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif            1212 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_rssi_snr_trigger(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1226 drivers/net/wireless/ti/wlcore/acx.c 	wlvif->last_rssi_event = -1;
wlvif            1228 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif            1254 drivers/net/wireless/ti/wlcore/acx.c 				    struct wl12xx_vif *wlvif)
wlvif            1268 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif            1335 drivers/net/wireless/ti/wlcore/acx.c 				   struct wl12xx_vif *wlvif,
wlvif            1349 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif            1372 drivers/net/wireless/ti/wlcore/acx.c 				       struct wl12xx_vif *wlvif)
wlvif            1386 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif            1448 drivers/net/wireless/ti/wlcore/acx.c int wl12xx_acx_tsf_info(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1460 drivers/net/wireless/ti/wlcore/acx.c 	tsf_info->role_id = wlvif->role_id;
wlvif            1477 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_ps_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1507 drivers/net/wireless/ti/wlcore/acx.c 		rx_streaming->role_id = wlvif->role_id;
wlvif            1526 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_ap_max_tx_retry(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            1537 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif            1551 drivers/net/wireless/ti/wlcore/acx.c int wl12xx_acx_config_ps(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            1566 drivers/net/wireless/ti/wlcore/acx.c 	config_ps->null_data_rate = cpu_to_le32(wlvif->basic_rate);
wlvif            1582 drivers/net/wireless/ti/wlcore/acx.c 				    struct wl12xx_vif *wlvif, u8 *addr)
wlvif            1594 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif            1730 drivers/net/wireless/ti/wlcore/acx.c int wlcore_acx_average_rssi(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1744 drivers/net/wireless/ti/wlcore/acx.c 	acx->role_id = wlvif->role_id;
wlvif            1030 drivers/net/wireless/ti/wlcore/acx.h 				  struct wl12xx_vif *wlvif,
wlvif            1033 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1035 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif            1039 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1041 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1044 drivers/net/wireless/ti/wlcore/acx.h 				      struct wl12xx_vif *wlvif);
wlvif            1045 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1048 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_beacon_filter_opt(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1051 drivers/net/wireless/ti/wlcore/acx.h 				   struct wl12xx_vif *wlvif);
wlvif            1052 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_conn_monit_params(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1057 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_bcn_dtim_options(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif            1058 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_aid(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 aid);
wlvif            1060 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_set_preamble(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1062 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_cts_protect(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1065 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_sta_rate_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif            1068 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_ac_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1070 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_tid_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1080 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_bet_enable(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1082 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_arp_ip_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1087 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_keep_alive_config(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1089 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_rssi_snr_trigger(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1092 drivers/net/wireless/ti/wlcore/acx.h 				    struct wl12xx_vif *wlvif);
wlvif            1097 drivers/net/wireless/ti/wlcore/acx.h 				   struct wl12xx_vif *wlvif,
wlvif            1100 drivers/net/wireless/ti/wlcore/acx.h 				       struct wl12xx_vif *wlvif);
wlvif            1104 drivers/net/wireless/ti/wlcore/acx.h int wl12xx_acx_tsf_info(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1106 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_ps_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1108 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_ap_max_tx_retry(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif            1109 drivers/net/wireless/ti/wlcore/acx.h int wl12xx_acx_config_ps(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif            1111 drivers/net/wireless/ti/wlcore/acx.h 				    struct wl12xx_vif *wlvif, u8 *addr);
wlvif            1115 drivers/net/wireless/ti/wlcore/acx.h int wlcore_acx_average_rssi(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             312 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid)
wlvif             324 drivers/net/wireless/ti/wlcore/cmd.c 	__set_bit(link, wlvif->links_map);
wlvif             335 drivers/net/wireless/ti/wlcore/cmd.c 	wl->links[link].wlvif = wlvif;
wlvif             341 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->bss_type != BSS_TYPE_AP_BSS)
wlvif             342 drivers/net/wireless/ti/wlcore/cmd.c 		wl->links[link].total_freed_pkts = wlvif->total_freed_pkts;
wlvif             350 drivers/net/wireless/ti/wlcore/cmd.c void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid)
wlvif             360 drivers/net/wireless/ti/wlcore/cmd.c 	__clear_bit(*hlid, wlvif->links_map);
wlvif             373 drivers/net/wireless/ti/wlcore/cmd.c 	wl->links[*hlid].wlvif = NULL;
wlvif             375 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->bss_type == BSS_TYPE_AP_BSS &&
wlvif             376 drivers/net/wireless/ti/wlcore/cmd.c 	    *hlid == wlvif->ap.bcast_hlid) {
wlvif             382 drivers/net/wireless/ti/wlcore/cmd.c 		wlvif->total_freed_pkts = wl->links[*hlid].total_freed_pkts;
wlvif             388 drivers/net/wireless/ti/wlcore/cmd.c 		if (wlvif->encryption_type == KEY_GEM)
wlvif             392 drivers/net/wireless/ti/wlcore/cmd.c 			wlvif->total_freed_pkts += sqn_padding;
wlvif             421 drivers/net/wireless/ti/wlcore/cmd.c 				     struct wl12xx_vif *wlvif,
wlvif             434 drivers/net/wireless/ti/wlcore/cmd.c 	wl1271_debug(DEBUG_CMD, "cmd role start dev %d", wlvif->dev_role_id);
wlvif             436 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->role_id = wlvif->dev_role_id;
wlvif             441 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->dev_hlid == WL12XX_INVALID_LINK_ID) {
wlvif             442 drivers/net/wireless/ti/wlcore/cmd.c 		ret = wl12xx_allocate_link(wl, wlvif, &wlvif->dev_hlid);
wlvif             446 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->device.hlid = wlvif->dev_hlid;
wlvif             447 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->device.session = wl->session_ids[wlvif->dev_hlid];
wlvif             462 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_free_link(wl, wlvif, &wlvif->dev_hlid);
wlvif             472 drivers/net/wireless/ti/wlcore/cmd.c 				    struct wl12xx_vif *wlvif)
wlvif             477 drivers/net/wireless/ti/wlcore/cmd.c 	if (WARN_ON(wlvif->dev_hlid == WL12XX_INVALID_LINK_ID))
wlvif             488 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->role_id = wlvif->dev_role_id;
wlvif             498 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_free_link(wl, wlvif, &wlvif->dev_hlid);
wlvif             507 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_cmd_role_start_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             509 drivers/net/wireless/ti/wlcore/cmd.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             520 drivers/net/wireless/ti/wlcore/cmd.c 	wl1271_debug(DEBUG_CMD, "cmd role start sta %d", wlvif->role_id);
wlvif             522 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif             523 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->band == NL80211_BAND_5GHZ)
wlvif             525 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->channel = wlvif->channel;
wlvif             526 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.basic_rate_set = cpu_to_le32(wlvif->basic_rate_set);
wlvif             527 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.beacon_interval = cpu_to_le16(wlvif->beacon_int);
wlvif             529 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.ssid_len = wlvif->ssid_len;
wlvif             530 drivers/net/wireless/ti/wlcore/cmd.c 	memcpy(cmd->sta.ssid, wlvif->ssid, wlvif->ssid_len);
wlvif             534 drivers/net/wireless/ti/wlcore/cmd.c 			  wlcore_hw_sta_get_ap_rate_mask(wl, wlvif);
wlvif             535 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->p2p)
wlvif             540 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->channel_type = wlcore_get_native_channel_type(wlvif->channel_type);
wlvif             542 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->sta.hlid == WL12XX_INVALID_LINK_ID) {
wlvif             543 drivers/net/wireless/ti/wlcore/cmd.c 		ret = wl12xx_allocate_link(wl, wlvif, &wlvif->sta.hlid);
wlvif             547 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.hlid = wlvif->sta.hlid;
wlvif             548 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.session = wl->session_ids[wlvif->sta.hlid];
wlvif             559 drivers/net/wireless/ti/wlcore/cmd.c 		     wlvif->role_id, cmd->sta.hlid, cmd->sta.session,
wlvif             560 drivers/net/wireless/ti/wlcore/cmd.c 		     wlvif->basic_rate_set, wlvif->rate_set);
wlvif             568 drivers/net/wireless/ti/wlcore/cmd.c 	wlvif->sta.role_chan_type = wlvif->channel_type;
wlvif             573 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_free_link(wl, wlvif, &wlvif->sta.hlid);
wlvif             583 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_cmd_role_stop_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             588 drivers/net/wireless/ti/wlcore/cmd.c 	if (WARN_ON(wlvif->sta.hlid == WL12XX_INVALID_LINK_ID))
wlvif             597 drivers/net/wireless/ti/wlcore/cmd.c 	wl1271_debug(DEBUG_CMD, "cmd role stop sta %d", wlvif->role_id);
wlvif             599 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif             609 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_free_link(wl, wlvif, &wlvif->sta.hlid);
wlvif             618 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             621 drivers/net/wireless/ti/wlcore/cmd.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             626 drivers/net/wireless/ti/wlcore/cmd.c 	wl1271_debug(DEBUG_CMD, "cmd role start ap %d", wlvif->role_id);
wlvif             631 drivers/net/wireless/ti/wlcore/cmd.c 		if (wlvif->ssid_len == 0 && !bss_conf->hidden_ssid) {
wlvif             644 drivers/net/wireless/ti/wlcore/cmd.c 	ret = wl12xx_allocate_link(wl, wlvif, &wlvif->ap.global_hlid);
wlvif             648 drivers/net/wireless/ti/wlcore/cmd.c 	ret = wl12xx_allocate_link(wl, wlvif, &wlvif->ap.bcast_hlid);
wlvif             653 drivers/net/wireless/ti/wlcore/cmd.c 	wl->links[wlvif->ap.bcast_hlid].total_freed_pkts =
wlvif             654 drivers/net/wireless/ti/wlcore/cmd.c 						wlvif->total_freed_pkts;
wlvif             656 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif             659 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ap.global_hlid = wlvif->ap.global_hlid;
wlvif             660 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ap.broadcast_hlid = wlvif->ap.bcast_hlid;
wlvif             661 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ap.global_session_id = wl->session_ids[wlvif->ap.global_hlid];
wlvif             662 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ap.bcast_session_id = wl->session_ids[wlvif->ap.bcast_hlid];
wlvif             663 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ap.basic_rate_set = cpu_to_le32(wlvif->basic_rate_set);
wlvif             664 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ap.beacon_interval = cpu_to_le16(wlvif->beacon_int);
wlvif             669 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ap.wmm = wlvif->wmm_enabled;
wlvif             670 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->channel = wlvif->channel;
wlvif             671 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->channel_type = wlcore_get_native_channel_type(wlvif->channel_type);
wlvif             676 drivers/net/wireless/ti/wlcore/cmd.c 		cmd->ap.ssid_len = wlvif->ssid_len;
wlvif             677 drivers/net/wireless/ti/wlcore/cmd.c 		memcpy(cmd->ap.ssid, wlvif->ssid, wlvif->ssid_len);
wlvif             685 drivers/net/wireless/ti/wlcore/cmd.c 		wlcore_hw_ap_get_mimo_wide_rate_mask(wl, wlvif);
wlvif             686 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->p2p)
wlvif             694 drivers/net/wireless/ti/wlcore/cmd.c 	switch (wlvif->band) {
wlvif             702 drivers/net/wireless/ti/wlcore/cmd.c 		wl1271_warning("ap start - unknown band: %d", (int)wlvif->band);
wlvif             716 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_free_link(wl, wlvif, &wlvif->ap.bcast_hlid);
wlvif             719 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_free_link(wl, wlvif, &wlvif->ap.global_hlid);
wlvif             728 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_cmd_role_stop_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             739 drivers/net/wireless/ti/wlcore/cmd.c 	wl1271_debug(DEBUG_CMD, "cmd role stop ap %d", wlvif->role_id);
wlvif             741 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif             749 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_free_link(wl, wlvif, &wlvif->ap.bcast_hlid);
wlvif             750 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_free_link(wl, wlvif, &wlvif->ap.global_hlid);
wlvif             759 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_cmd_role_start_ibss(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             761 drivers/net/wireless/ti/wlcore/cmd.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             772 drivers/net/wireless/ti/wlcore/cmd.c 	wl1271_debug(DEBUG_CMD, "cmd role start ibss %d", wlvif->role_id);
wlvif             774 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif             775 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->band == NL80211_BAND_5GHZ)
wlvif             777 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->channel = wlvif->channel;
wlvif             778 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ibss.basic_rate_set = cpu_to_le32(wlvif->basic_rate_set);
wlvif             779 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ibss.beacon_interval = cpu_to_le16(wlvif->beacon_int);
wlvif             782 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ibss.ssid_len = wlvif->ssid_len;
wlvif             783 drivers/net/wireless/ti/wlcore/cmd.c 	memcpy(cmd->ibss.ssid, wlvif->ssid, wlvif->ssid_len);
wlvif             785 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.local_rates = cpu_to_le32(wlvif->rate_set);
wlvif             787 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->sta.hlid == WL12XX_INVALID_LINK_ID) {
wlvif             788 drivers/net/wireless/ti/wlcore/cmd.c 		ret = wl12xx_allocate_link(wl, wlvif, &wlvif->sta.hlid);
wlvif             792 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ibss.hlid = wlvif->sta.hlid;
wlvif             793 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ibss.remote_rates = cpu_to_le32(wlvif->rate_set);
wlvif             797 drivers/net/wireless/ti/wlcore/cmd.c 		     wlvif->role_id, cmd->sta.hlid, cmd->sta.session,
wlvif             798 drivers/net/wireless/ti/wlcore/cmd.c 		     wlvif->basic_rate_set, wlvif->rate_set);
wlvif             813 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_free_link(wl, wlvif, &wlvif->sta.hlid);
wlvif             981 drivers/net/wireless/ti/wlcore/cmd.c int wl1271_cmd_ps_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             995 drivers/net/wireless/ti/wlcore/cmd.c 	ps_params->role_id = wlvif->role_id;
wlvif            1055 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_cmd_build_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            1063 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->bss_type == BSS_TYPE_IBSS) {
wlvif            1068 drivers/net/wireless/ti/wlcore/cmd.c 					     wl12xx_wlvif_to_vif(wlvif),
wlvif            1076 drivers/net/wireless/ti/wlcore/cmd.c 	ret = wl1271_cmd_template_set(wl, wlvif->role_id,
wlvif            1078 drivers/net/wireless/ti/wlcore/cmd.c 				      wlvif->basic_rate);
wlvif            1090 drivers/net/wireless/ti/wlcore/cmd.c 				   struct wl12xx_vif *wlvif)
wlvif            1092 drivers/net/wireless/ti/wlcore/cmd.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif            1100 drivers/net/wireless/ti/wlcore/cmd.c 	ret = wl1271_cmd_template_set(wl, wlvif->role_id, CMD_TEMPL_KLV,
wlvif            1102 drivers/net/wireless/ti/wlcore/cmd.c 				      wlvif->sta.klv_template_id,
wlvif            1103 drivers/net/wireless/ti/wlcore/cmd.c 				      wlvif->basic_rate);
wlvif            1114 drivers/net/wireless/ti/wlcore/cmd.c int wl1271_cmd_build_ps_poll(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1117 drivers/net/wireless/ti/wlcore/cmd.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif            1125 drivers/net/wireless/ti/wlcore/cmd.c 	ret = wl1271_cmd_template_set(wl, wlvif->role_id,
wlvif            1127 drivers/net/wireless/ti/wlcore/cmd.c 				      skb->len, 0, wlvif->basic_rate_set);
wlvif            1134 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_cmd_build_probe_req(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1140 drivers/net/wireless/ti/wlcore/cmd.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif            1166 drivers/net/wireless/ti/wlcore/cmd.c 	rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[band]);
wlvif            1183 drivers/net/wireless/ti/wlcore/cmd.c 					      struct wl12xx_vif *wlvif,
wlvif            1186 drivers/net/wireless/ti/wlcore/cmd.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif            1197 drivers/net/wireless/ti/wlcore/cmd.c 	rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[wlvif->band]);
wlvif            1198 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->band == NL80211_BAND_2GHZ)
wlvif            1199 drivers/net/wireless/ti/wlcore/cmd.c 		ret = wl1271_cmd_template_set(wl, wlvif->role_id,
wlvif            1203 drivers/net/wireless/ti/wlcore/cmd.c 		ret = wl1271_cmd_template_set(wl, wlvif->role_id,
wlvif            1214 drivers/net/wireless/ti/wlcore/cmd.c int wl1271_cmd_build_arp_rsp(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            1218 drivers/net/wireless/ti/wlcore/cmd.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif            1249 drivers/net/wireless/ti/wlcore/cmd.c 	tmpl->sender_ip = wlvif->ip_addr;
wlvif            1252 drivers/net/wireless/ti/wlcore/cmd.c 	switch (wlvif->encryption_type) {
wlvif            1267 drivers/net/wireless/ti/wlcore/cmd.c 			       wlvif->encryption_type);
wlvif            1278 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->sta.qos)
wlvif            1285 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->sta.qos)
wlvif            1289 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->encryption_type != KEY_NONE)
wlvif            1297 drivers/net/wireless/ti/wlcore/cmd.c 	ret = wl1271_cmd_template_set(wl, wlvif->role_id, CMD_TEMPL_ARP_RSP,
wlvif            1299 drivers/net/wireless/ti/wlcore/cmd.c 				      wlvif->basic_rate);
wlvif            1307 drivers/net/wireless/ti/wlcore/cmd.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            1323 drivers/net/wireless/ti/wlcore/cmd.c 	return wl1271_cmd_template_set(wl, wlvif->role_id,
wlvif            1326 drivers/net/wireless/ti/wlcore/cmd.c 				       wlvif->basic_rate);
wlvif            1360 drivers/net/wireless/ti/wlcore/cmd.c int wl1271_cmd_set_sta_key(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1369 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->sta.hlid == WL12XX_INVALID_LINK_ID)
wlvif            1378 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->hlid = wlvif->sta.hlid;
wlvif            1429 drivers/net/wireless/ti/wlcore/cmd.c int wl1271_cmd_set_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1442 drivers/net/wireless/ti/wlcore/cmd.c 	if (hlid == wlvif->ap.bcast_hlid) {
wlvif            1491 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_cmd_set_peer_state(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1509 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->bss_type == BSS_TYPE_STA_BSS)
wlvif            1510 drivers/net/wireless/ti/wlcore/cmd.c 		cmd->wmm = wlvif->wmm_enabled;
wlvif            1525 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_cmd_add_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1547 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif            1558 drivers/net/wireless/ti/wlcore/cmd.c 	sta_rates = sta->supp_rates[wlvif->band];
wlvif            1566 drivers/net/wireless/ti/wlcore/cmd.c 							wlvif->band));
wlvif            1571 drivers/net/wireless/ti/wlcore/cmd.c 			     wlvif->basic_rate_set);
wlvif            1572 drivers/net/wireless/ti/wlcore/cmd.c 		cmd->supported_rates = cpu_to_le32(wlvif->basic_rate_set);
wlvif            1591 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_cmd_remove_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1610 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif            1856 drivers/net/wireless/ti/wlcore/cmd.c static int wl12xx_cmd_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1883 drivers/net/wireless/ti/wlcore/cmd.c 		wl1271_error("roc - unknown band: %d", (int)wlvif->band);
wlvif            1930 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id,
wlvif            1938 drivers/net/wireless/ti/wlcore/cmd.c 	ret = wl12xx_cmd_roc(wl, wlvif, role_id, band, channel);
wlvif            1971 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_cmd_stop_channel_switch(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            1984 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif            2000 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            2005 drivers/net/wireless/ti/wlcore/cmd.c 	if (WARN_ON(!(wlvif->bss_type == BSS_TYPE_STA_BSS ||
wlvif            2006 drivers/net/wireless/ti/wlcore/cmd.c 		      wlvif->bss_type == BSS_TYPE_IBSS)))
wlvif            2010 drivers/net/wireless/ti/wlcore/cmd.c 	if (!wlcore_is_p2p_mgmt(wlvif)) {
wlvif            2012 drivers/net/wireless/ti/wlcore/cmd.c 					     wl12xx_wlvif_to_vif(wlvif)->addr,
wlvif            2014 drivers/net/wireless/ti/wlcore/cmd.c 					     &wlvif->dev_role_id);
wlvif            2019 drivers/net/wireless/ti/wlcore/cmd.c 	ret = wl12xx_cmd_role_start_dev(wl, wlvif, band, channel);
wlvif            2023 drivers/net/wireless/ti/wlcore/cmd.c 	ret = wl12xx_roc(wl, wlvif, wlvif->dev_role_id, band, channel);
wlvif            2030 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_cmd_role_stop_dev(wl, wlvif);
wlvif            2032 drivers/net/wireless/ti/wlcore/cmd.c 	if (!wlcore_is_p2p_mgmt(wlvif))
wlvif            2033 drivers/net/wireless/ti/wlcore/cmd.c 		wl12xx_cmd_role_disable(wl, &wlvif->dev_role_id);
wlvif            2039 drivers/net/wireless/ti/wlcore/cmd.c int wl12xx_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            2043 drivers/net/wireless/ti/wlcore/cmd.c 	if (WARN_ON(!(wlvif->bss_type == BSS_TYPE_STA_BSS ||
wlvif            2044 drivers/net/wireless/ti/wlcore/cmd.c 		      wlvif->bss_type == BSS_TYPE_IBSS)))
wlvif            2052 drivers/net/wireless/ti/wlcore/cmd.c 	if (test_bit(wlvif->dev_role_id, wl->roc_map)) {
wlvif            2053 drivers/net/wireless/ti/wlcore/cmd.c 		ret = wl12xx_croc(wl, wlvif->dev_role_id);
wlvif            2058 drivers/net/wireless/ti/wlcore/cmd.c 	ret = wl12xx_cmd_role_stop_dev(wl, wlvif);
wlvif            2062 drivers/net/wireless/ti/wlcore/cmd.c 	if (!wlcore_is_p2p_mgmt(wlvif)) {
wlvif            2063 drivers/net/wireless/ti/wlcore/cmd.c 		ret = wl12xx_cmd_role_disable(wl, &wlvif->dev_role_id);
wlvif            2072 drivers/net/wireless/ti/wlcore/cmd.c int wlcore_cmd_generic_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            2080 drivers/net/wireless/ti/wlcore/cmd.c 		     wlvif->role_id, feature, enable, value);
wlvif            2086 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->role_id = wlvif->role_id;
wlvif              23 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_cmd_role_start_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              24 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_cmd_role_stop_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              25 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              26 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_cmd_role_stop_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              27 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_cmd_role_start_ibss(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              28 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              30 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              38 drivers/net/wireless/ti/wlcore/cmd.h int wl1271_cmd_ps_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              45 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_cmd_build_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              46 drivers/net/wireless/ti/wlcore/cmd.h int wl1271_cmd_build_ps_poll(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              48 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_cmd_build_probe_req(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              54 drivers/net/wireless/ti/wlcore/cmd.h 					      struct wl12xx_vif *wlvif,
wlvif              56 drivers/net/wireless/ti/wlcore/cmd.h int wl1271_cmd_build_arp_rsp(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              59 drivers/net/wireless/ti/wlcore/cmd.h 				   struct wl12xx_vif *wlvif);
wlvif              61 drivers/net/wireless/ti/wlcore/cmd.h int wl1271_cmd_set_sta_key(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              65 drivers/net/wireless/ti/wlcore/cmd.h int wl1271_cmd_set_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              69 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_cmd_set_peer_state(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              71 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id,
wlvif              74 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_cmd_add_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              76 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_cmd_remove_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              81 drivers/net/wireless/ti/wlcore/cmd.h int wlcore_cmd_generic_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              87 drivers/net/wireless/ti/wlcore/cmd.h 			      struct wl12xx_vif *wlvif,
wlvif              90 drivers/net/wireless/ti/wlcore/cmd.h 				   struct wl12xx_vif *wlvif);
wlvif              91 drivers/net/wireless/ti/wlcore/cmd.h int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              93 drivers/net/wireless/ti/wlcore/cmd.h void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid);
wlvif             267 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl12xx_vif *wlvif;
wlvif             299 drivers/net/wireless/ti/wlcore/debugfs.c 	wl12xx_for_each_wlvif_sta(wl, wlvif) {
wlvif             300 drivers/net/wireless/ti/wlcore/debugfs.c 		if (test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags))
wlvif             301 drivers/net/wireless/ti/wlcore/debugfs.c 			wl1271_ps_set_mode(wl, wlvif, STATION_AUTO_PS_MODE);
wlvif             334 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl12xx_vif *wlvif;
wlvif             371 drivers/net/wireless/ti/wlcore/debugfs.c 	wl12xx_for_each_wlvif_sta(wl, wlvif) {
wlvif             372 drivers/net/wireless/ti/wlcore/debugfs.c 		if (test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags))
wlvif             373 drivers/net/wireless/ti/wlcore/debugfs.c 			wl1271_ps_set_mode(wl, wlvif, ps_mode);
wlvif             440 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl12xx_vif *wlvif;
wlvif             464 drivers/net/wireless/ti/wlcore/debugfs.c 	wl12xx_for_each_wlvif_sta(wl, wlvif) {
wlvif             465 drivers/net/wireless/ti/wlcore/debugfs.c 		if (!test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags))
wlvif             468 drivers/net/wireless/ti/wlcore/debugfs.c 		DRIVER_STATE_PRINT_GENERIC(channel, "%d (%s)", wlvif->channel,
wlvif             469 drivers/net/wireless/ti/wlcore/debugfs.c 					   wlvif->p2p ? "P2P-CL" : "STA");
wlvif             472 drivers/net/wireless/ti/wlcore/debugfs.c 	wl12xx_for_each_wlvif_ap(wl, wlvif)
wlvif             473 drivers/net/wireless/ti/wlcore/debugfs.c 		DRIVER_STATE_PRINT_GENERIC(channel, "%d (%s)", wlvif->channel,
wlvif             474 drivers/net/wireless/ti/wlcore/debugfs.c 					   wlvif->p2p ? "P2P-GO" : "AP");
wlvif             536 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl12xx_vif *wlvif;
wlvif             550 drivers/net/wireless/ti/wlcore/debugfs.c 			  #x " = " fmt "\n", wlvif->x))
wlvif             562 drivers/net/wireless/ti/wlcore/debugfs.c 		memcpy(tmp_buf, wlvif->x,			\
wlvif             568 drivers/net/wireless/ti/wlcore/debugfs.c 	wl12xx_for_each_wlvif(wl, wlvif) {
wlvif             576 drivers/net/wireless/ti/wlcore/debugfs.c 		if (wlvif->bss_type == BSS_TYPE_STA_BSS ||
wlvif             577 drivers/net/wireless/ti/wlcore/debugfs.c 		    wlvif->bss_type == BSS_TYPE_IBSS) {
wlvif             600 drivers/net/wireless/ti/wlcore/debugfs.c 		VIF_STATE_PRINT_NSTR(ssid, wlvif->ssid_len);
wlvif             821 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl12xx_vif *wlvif;
wlvif             847 drivers/net/wireless/ti/wlcore/debugfs.c 	wl12xx_for_each_wlvif_sta(wl, wlvif) {
wlvif             848 drivers/net/wireless/ti/wlcore/debugfs.c 		wl1271_recalc_rx_streaming(wl, wlvif);
wlvif             879 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl12xx_vif *wlvif;
wlvif             905 drivers/net/wireless/ti/wlcore/debugfs.c 	wl12xx_for_each_wlvif_sta(wl, wlvif) {
wlvif             906 drivers/net/wireless/ti/wlcore/debugfs.c 		wl1271_recalc_rx_streaming(wl, wlvif);
wlvif             937 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl12xx_vif *wlvif;
wlvif             955 drivers/net/wireless/ti/wlcore/debugfs.c 	wl12xx_for_each_wlvif(wl, wlvif) {
wlvif             956 drivers/net/wireless/ti/wlcore/debugfs.c 		ret = wl1271_acx_beacon_filter_opt(wl, wlvif, !!value);
wlvif             102 drivers/net/wireless/ti/wlcore/event.c 	struct wl12xx_vif *wlvif;
wlvif             110 drivers/net/wireless/ti/wlcore/event.c 	wl12xx_for_each_wlvif_sta(wl, wlvif) {
wlvif             111 drivers/net/wireless/ti/wlcore/event.c 		if (metric <= wlvif->rssi_thold)
wlvif             116 drivers/net/wireless/ti/wlcore/event.c 		vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             117 drivers/net/wireless/ti/wlcore/event.c 		if (event != wlvif->last_rssi_event)
wlvif             120 drivers/net/wireless/ti/wlcore/event.c 		wlvif->last_rssi_event = event;
wlvif             125 drivers/net/wireless/ti/wlcore/event.c static void wl1271_stop_ba_event(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             127 drivers/net/wireless/ti/wlcore/event.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             129 drivers/net/wireless/ti/wlcore/event.c 	if (wlvif->bss_type != BSS_TYPE_AP_BSS) {
wlvif             130 drivers/net/wireless/ti/wlcore/event.c 		u8 hlid = wlvif->sta.hlid;
wlvif             138 drivers/net/wireless/ti/wlcore/event.c 		for_each_set_bit(hlid, wlvif->ap.sta_hlid_map,
wlvif             153 drivers/net/wireless/ti/wlcore/event.c 	struct wl12xx_vif *wlvif;
wlvif             159 drivers/net/wireless/ti/wlcore/event.c 		wl12xx_for_each_wlvif_sta(wl, wlvif) {
wlvif             160 drivers/net/wireless/ti/wlcore/event.c 			wl1271_recalc_rx_streaming(wl, wlvif);
wlvif             183 drivers/net/wireless/ti/wlcore/event.c 	struct wl12xx_vif *wlvif;
wlvif             188 drivers/net/wireless/ti/wlcore/event.c 	wl12xx_for_each_wlvif(wl, wlvif) {
wlvif             189 drivers/net/wireless/ti/wlcore/event.c 		if (wlvif->role_id == WL12XX_INVALID_ROLE_ID ||
wlvif             190 drivers/net/wireless/ti/wlcore/event.c 		    !test_bit(wlvif->role_id , &roles_bitmap))
wlvif             193 drivers/net/wireless/ti/wlcore/event.c 		wlvif->ba_allowed = !!test_bit(wlvif->role_id,
wlvif             195 drivers/net/wireless/ti/wlcore/event.c 		if (!wlvif->ba_allowed)
wlvif             196 drivers/net/wireless/ti/wlcore/event.c 			wl1271_stop_ba_event(wl, wlvif);
wlvif             205 drivers/net/wireless/ti/wlcore/event.c 	struct wl12xx_vif *wlvif;
wlvif             211 drivers/net/wireless/ti/wlcore/event.c 	wl12xx_for_each_wlvif(wl, wlvif) {
wlvif             212 drivers/net/wireless/ti/wlcore/event.c 		if (wlvif->role_id == WL12XX_INVALID_ROLE_ID ||
wlvif             213 drivers/net/wireless/ti/wlcore/event.c 		    !test_bit(wlvif->role_id , &roles_bitmap))
wlvif             217 drivers/net/wireless/ti/wlcore/event.c 					&wlvif->flags))
wlvif             220 drivers/net/wireless/ti/wlcore/event.c 		vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             222 drivers/net/wireless/ti/wlcore/event.c 		if (wlvif->bss_type == BSS_TYPE_STA_BSS) {
wlvif             224 drivers/net/wireless/ti/wlcore/event.c 			cancel_delayed_work(&wlvif->channel_switch_work);
wlvif             226 drivers/net/wireless/ti/wlcore/event.c 			set_bit(WLVIF_FLAG_BEACON_DISABLED, &wlvif->flags);
wlvif             248 drivers/net/wireless/ti/wlcore/event.c 	struct wl12xx_vif *wlvif;
wlvif             257 drivers/net/wireless/ti/wlcore/event.c 		wl12xx_for_each_wlvif_ap(wl, wlvif) {
wlvif             258 drivers/net/wireless/ti/wlcore/event.c 			if (!test_bit(h, wlvif->ap.sta_hlid_map))
wlvif             266 drivers/net/wireless/ti/wlcore/event.c 		vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             307 drivers/net/wireless/ti/wlcore/event.c 	struct wl12xx_vif *wlvif;
wlvif             314 drivers/net/wireless/ti/wlcore/event.c 	wl12xx_for_each_wlvif_sta(wl, wlvif) {
wlvif             315 drivers/net/wireless/ti/wlcore/event.c 		if (wlvif->role_id == WL12XX_INVALID_ROLE_ID ||
wlvif             316 drivers/net/wireless/ti/wlcore/event.c 		    !test_bit(wlvif->role_id , &roles_bitmap))
wlvif             319 drivers/net/wireless/ti/wlcore/event.c 		vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             322 drivers/net/wireless/ti/wlcore/event.c 		if (wlvif->p2p) {
wlvif             333 drivers/net/wireless/ti/wlcore/event.c 					     &wlvif->connection_loss_work,
wlvif              87 drivers/net/wireless/ti/wlcore/hw_ops.h wlcore_hw_init_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif              90 drivers/net/wireless/ti/wlcore/hw_ops.h 		return wl->ops->init_vif(wl, wlvif);
wlvif             105 drivers/net/wireless/ti/wlcore/hw_ops.h wlcore_hw_sta_get_ap_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             110 drivers/net/wireless/ti/wlcore/hw_ops.h 	return wl->ops->sta_get_ap_rate_mask(wl, wlvif);
wlvif             143 drivers/net/wireless/ti/wlcore/hw_ops.h 				     struct wl12xx_vif *wlvif)
wlvif             146 drivers/net/wireless/ti/wlcore/hw_ops.h 		return wl->ops->ap_get_mimo_wide_rate_mask(wl, wlvif);
wlvif             200 drivers/net/wireless/ti/wlcore/hw_ops.h wlcore_hw_sta_rc_update(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             203 drivers/net/wireless/ti/wlcore/hw_ops.h 		wl->ops->sta_rc_update(wl, wlvif);
wlvif             302 drivers/net/wireless/ti/wlcore/hw_ops.h wlcore_hw_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start)
wlvif             307 drivers/net/wireless/ti/wlcore/hw_ops.h 	return wl->ops->set_cac(wl, wlvif, start);
wlvif             311 drivers/net/wireless/ti/wlcore/hw_ops.h wlcore_hw_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             316 drivers/net/wireless/ti/wlcore/hw_ops.h 	return wl->ops->dfs_master_restart(wl, wlvif);
wlvif             145 drivers/net/wireless/ti/wlcore/init.c 					  struct wl12xx_vif *wlvif)
wlvif             160 drivers/net/wireless/ti/wlcore/init.c 	rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set);
wlvif             161 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_cmd_template_set(wl, wlvif->role_id,
wlvif             173 drivers/net/wireless/ti/wlcore/init.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif             193 drivers/net/wireless/ti/wlcore/init.c 	rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set);
wlvif             194 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_cmd_template_set(wl, wlvif->role_id,
wlvif             206 drivers/net/wireless/ti/wlcore/init.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif             226 drivers/net/wireless/ti/wlcore/init.c 	rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set);
wlvif             227 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_cmd_template_set(wl, wlvif->role_id,
wlvif             248 drivers/net/wireless/ti/wlcore/init.c 					    struct wl12xx_vif *wlvif)
wlvif             252 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_slot(wl, wlvif, DEFAULT_SLOT_TIME);
wlvif             256 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_service_period_timeout(wl, wlvif);
wlvif             260 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_rts_threshold(wl, wlvif, wl->hw->wiphy->rts_threshold);
wlvif             268 drivers/net/wireless/ti/wlcore/init.c 					 struct wl12xx_vif *wlvif)
wlvif             272 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_beacon_filter_table(wl, wlvif);
wlvif             277 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_beacon_filter_opt(wl, wlvif, false);
wlvif             311 drivers/net/wireless/ti/wlcore/init.c 					struct wl12xx_vif *wlvif)
wlvif             315 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_bcn_dtim_options(wl, wlvif);
wlvif             337 drivers/net/wireless/ti/wlcore/init.c int wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             342 drivers/net/wireless/ti/wlcore/init.c 	ret = wl12xx_acx_config_ps(wl, wlvif);
wlvif             351 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_sta_rate_policies(wl, wlvif);
wlvif             361 drivers/net/wireless/ti/wlcore/init.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif             365 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_keep_alive_mode(wl, wlvif, false);
wlvif             373 drivers/net/wireless/ti/wlcore/init.c static int wl1271_ap_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             377 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_init_ap_rates(wl, wlvif);
wlvif             391 drivers/net/wireless/ti/wlcore/init.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif             394 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_ap_init_deauth_template(wl, wlvif);
wlvif             410 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_beacon_filter_opt(wl, wlvif, false);
wlvif             423 drivers/net/wireless/ti/wlcore/init.c int wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             430 drivers/net/wireless/ti/wlcore/init.c 		     wlvif->basic_rate_set);
wlvif             432 drivers/net/wireless/ti/wlcore/init.c 	if (wlvif->basic_rate_set == 0)
wlvif             435 drivers/net/wireless/ti/wlcore/init.c 	rc.enabled_rates = wlvif->basic_rate_set;
wlvif             439 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_ap_rate_policy(wl, &rc, wlvif->ap.mgmt_rate_idx);
wlvif             444 drivers/net/wireless/ti/wlcore/init.c 	rc.enabled_rates = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set);
wlvif             448 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_ap_rate_policy(wl, &rc, wlvif->ap.bcast_rate_idx);
wlvif             456 drivers/net/wireless/ti/wlcore/init.c 	if (wl->ofdm_only_ap && (wlvif->basic_rate_set & CONF_TX_OFDM_RATES))
wlvif             465 drivers/net/wireless/ti/wlcore/init.c 	supported_rates |= wlcore_hw_ap_get_mimo_wide_rate_mask(wl, wlvif);
wlvif             474 drivers/net/wireless/ti/wlcore/init.c 						wlvif->ap.ucast_rate_idx[i]);
wlvif             482 drivers/net/wireless/ti/wlcore/init.c static int wl1271_set_ba_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             485 drivers/net/wireless/ti/wlcore/init.c 	wlvif->ba_allowed = true;
wlvif             489 drivers/net/wireless/ti/wlcore/init.c 	if (wlvif->bss_type != BSS_TYPE_AP_BSS &&
wlvif             490 drivers/net/wireless/ti/wlcore/init.c 	    wlvif->bss_type != BSS_TYPE_STA_BSS) {
wlvif             491 drivers/net/wireless/ti/wlcore/init.c 		wlvif->ba_support = false;
wlvif             495 drivers/net/wireless/ti/wlcore/init.c 	wlvif->ba_support = true;
wlvif             498 drivers/net/wireless/ti/wlcore/init.c 	return wl12xx_acx_set_ba_initiator_policy(wl, wlvif);
wlvif             502 drivers/net/wireless/ti/wlcore/init.c static int wl12xx_init_sta_role(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             506 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_group_address_tbl(wl, wlvif, true, NULL, 0);
wlvif             511 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_conn_monit_params(wl, wlvif, false);
wlvif             516 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_init_sta_beacon_filter(wl, wlvif);
wlvif             521 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_init_beacon_broadcast(wl, wlvif);
wlvif             526 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_rssi_snr_avg_weights(wl, wlvif);
wlvif             534 drivers/net/wireless/ti/wlcore/init.c static int wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             538 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_ap_max_tx_retry(wl, wlvif);
wlvif             543 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_tx_power(wl, wlvif, wlvif->power_level);
wlvif             548 drivers/net/wireless/ti/wlcore/init.c 		wlcore_cmd_generic_cfg(wl, wlvif,
wlvif             557 drivers/net/wireless/ti/wlcore/init.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif             560 drivers/net/wireless/ti/wlcore/init.c 	bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS);
wlvif             591 drivers/net/wireless/ti/wlcore/init.c 		ret = wl1271_ap_hw_init(wl, wlvif);
wlvif             595 drivers/net/wireless/ti/wlcore/init.c 		ret = wl12xx_init_ap_role(wl, wlvif);
wlvif             599 drivers/net/wireless/ti/wlcore/init.c 		ret = wl1271_sta_hw_init(wl, wlvif);
wlvif             603 drivers/net/wireless/ti/wlcore/init.c 		ret = wl12xx_init_sta_role(wl, wlvif);
wlvif             608 drivers/net/wireless/ti/wlcore/init.c 	wl12xx_init_phy_vif_config(wl, wlvif);
wlvif             614 drivers/net/wireless/ti/wlcore/init.c 		ret = wl1271_acx_ac_cfg(wl, wlvif, conf_ac->ac,
wlvif             621 drivers/net/wireless/ti/wlcore/init.c 		ret = wl1271_acx_tid_cfg(wl, wlvif,
wlvif             634 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_acx_feature_cfg(wl, wlvif);
wlvif             648 drivers/net/wireless/ti/wlcore/init.c 	ret = wl1271_set_ba_policies(wl, wlvif);
wlvif             652 drivers/net/wireless/ti/wlcore/init.c 	ret = wlcore_hw_init_vif(wl, wlvif);
wlvif              22 drivers/net/wireless/ti/wlcore/init.h int wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              24 drivers/net/wireless/ti/wlcore/init.h int wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              45 drivers/net/wireless/ti/wlcore/main.c static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              47 drivers/net/wireless/ti/wlcore/main.c static int wl12xx_set_authorized(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif              51 drivers/net/wireless/ti/wlcore/main.c 	if (WARN_ON(wlvif->bss_type != BSS_TYPE_STA_BSS))
wlvif              54 drivers/net/wireless/ti/wlcore/main.c 	if (!test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags))
wlvif              57 drivers/net/wireless/ti/wlcore/main.c 	if (test_and_set_bit(WLVIF_FLAG_STA_STATE_SENT, &wlvif->flags))
wlvif              60 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid);
wlvif              81 drivers/net/wireless/ti/wlcore/main.c static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              87 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_acx_ps_rx_streaming(wl, wlvif, enable);
wlvif              92 drivers/net/wireless/ti/wlcore/main.c 		set_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif->flags);
wlvif              94 drivers/net/wireless/ti/wlcore/main.c 		clear_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif->flags);
wlvif             103 drivers/net/wireless/ti/wlcore/main.c int wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif             109 drivers/net/wireless/ti/wlcore/main.c 	if (!test_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif->flags))
wlvif             114 drivers/net/wireless/ti/wlcore/main.c 	    test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags) &&
wlvif             117 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_set_rx_streaming(wl, wlvif, true);
wlvif             119 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_set_rx_streaming(wl, wlvif, false);
wlvif             121 drivers/net/wireless/ti/wlcore/main.c 		del_timer_sync(&wlvif->rx_streaming_timer);
wlvif             130 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif,
wlvif             132 drivers/net/wireless/ti/wlcore/main.c 	struct wl1271 *wl = wlvif->wl;
wlvif             136 drivers/net/wireless/ti/wlcore/main.c 	if (test_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif->flags) ||
wlvif             137 drivers/net/wireless/ti/wlcore/main.c 	    !test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags) ||
wlvif             151 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_set_rx_streaming(wl, wlvif, true);
wlvif             156 drivers/net/wireless/ti/wlcore/main.c 	mod_timer(&wlvif->rx_streaming_timer,
wlvif             169 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif,
wlvif             171 drivers/net/wireless/ti/wlcore/main.c 	struct wl1271 *wl = wlvif->wl;
wlvif             175 drivers/net/wireless/ti/wlcore/main.c 	if (!test_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif->flags))
wlvif             184 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_set_rx_streaming(wl, wlvif, false);
wlvif             197 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = from_timer(wlvif, t, rx_streaming_timer);
wlvif             198 drivers/net/wireless/ti/wlcore/main.c 	struct wl1271 *wl = wlvif->wl;
wlvif             199 drivers/net/wireless/ti/wlcore/main.c 	ieee80211_queue_work(wl->hw, &wlvif->rx_streaming_disable_work);
wlvif             217 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif,
wlvif             219 drivers/net/wireless/ti/wlcore/main.c 	struct wl1271 *wl = wlvif->wl;
wlvif             220 drivers/net/wireless/ti/wlcore/main.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             234 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_set_ht_capabilities(wl, &wlvif->rc_ht_cap,
wlvif             235 drivers/net/wireless/ti/wlcore/main.c 						     true, wlvif->sta.hlid);
wlvif             239 drivers/net/wireless/ti/wlcore/main.c 		wlcore_hw_sta_rc_update(wl, wlvif);
wlvif             337 drivers/net/wireless/ti/wlcore/main.c 					struct wl12xx_vif *wlvif,
wlvif             349 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_ps_link_end(wl, wlvif, hlid);
wlvif             362 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_ps_link_start(wl, wlvif, hlid, true);
wlvif             366 drivers/net/wireless/ti/wlcore/main.c 					   struct wl12xx_vif *wlvif,
wlvif             382 drivers/net/wireless/ti/wlcore/main.c 	for_each_set_bit(hlid, wlvif->ap.sta_hlid_map, wl->num_links)
wlvif             383 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_irq_ps_regulate_link(wl, wlvif, hlid,
wlvif             389 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif             481 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_for_each_wlvif_ap(wl, wlvif) {
wlvif             482 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_irq_update_links_status(wl, wlvif, status);
wlvif             851 drivers/net/wireless/ti/wlcore/main.c static void wlcore_save_freed_pkts(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             864 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->encryption_type == KEY_GEM)
wlvif             872 drivers/net/wireless/ti/wlcore/main.c 					struct wl12xx_vif *wlvif,
wlvif             876 drivers/net/wireless/ti/wlcore/main.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             885 drivers/net/wireless/ti/wlcore/main.c 		wlcore_save_freed_pkts(wl, wlvif, hlid, sta);
wlvif             922 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif             959 drivers/net/wireless/ti/wlcore/main.c 		wlvif = list_first_entry(&wl->wlvif_list,
wlvif             961 drivers/net/wireless/ti/wlcore/main.c 		vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             963 drivers/net/wireless/ti/wlcore/main.c 		if (wlvif->bss_type == BSS_TYPE_STA_BSS &&
wlvif             964 drivers/net/wireless/ti/wlcore/main.c 		    test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) {
wlvif             965 drivers/net/wireless/ti/wlcore/main.c 			wlcore_save_freed_pkts_addr(wl, wlvif, wlvif->sta.hlid,
wlvif            1209 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = NULL;
wlvif            1220 drivers/net/wireless/ti/wlcore/main.c 	wlvif = wl12xx_vif_to_data(vif);
wlvif            1224 drivers/net/wireless/ti/wlcore/main.c 	hlid = wl12xx_tx_get_hlid(wl, wlvif, skb, control->sta);
wlvif            1234 drivers/net/wireless/ti/wlcore/main.c 	    (!test_bit(hlid, wlvif->links_map)) ||
wlvif            1235 drivers/net/wireless/ti/wlcore/main.c 	     (wlcore_is_queue_stopped_locked(wl, wlvif, q) &&
wlvif            1236 drivers/net/wireless/ti/wlcore/main.c 	      !wlcore_is_queue_stopped_by_reason_locked(wl, wlvif, q,
wlvif            1248 drivers/net/wireless/ti/wlcore/main.c 	wlvif->tx_queue_count[q]++;
wlvif            1254 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->tx_queue_count[q] >= WL1271_TX_QUEUE_HIGH_WATERMARK &&
wlvif            1255 drivers/net/wireless/ti/wlcore/main.c 	    !wlcore_is_queue_stopped_by_reason_locked(wl, wlvif, q,
wlvif            1258 drivers/net/wireless/ti/wlcore/main.c 		wlcore_stop_queue_locked(wl, wlvif, q,
wlvif            1618 drivers/net/wireless/ti/wlcore/main.c 					struct wl12xx_vif *wlvif,
wlvif            1623 drivers/net/wireless/ti/wlcore/main.c 	if (!test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags))
wlvif            1636 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_acx_wake_up_conditions(wl, wlvif,
wlvif            1648 drivers/net/wireless/ti/wlcore/main.c 					struct wl12xx_vif *wlvif,
wlvif            1653 drivers/net/wireless/ti/wlcore/main.c 	if (!test_bit(WLVIF_FLAG_AP_STARTED, &wlvif->flags))
wlvif            1656 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_acx_beacon_filter_opt(wl, wlvif, true);
wlvif            1670 drivers/net/wireless/ti/wlcore/main.c 				    struct wl12xx_vif *wlvif,
wlvif            1673 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->bss_type == BSS_TYPE_STA_BSS)
wlvif            1674 drivers/net/wireless/ti/wlcore/main.c 		return wl1271_configure_suspend_sta(wl, wlvif, wow);
wlvif            1675 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->bss_type == BSS_TYPE_AP_BSS)
wlvif            1676 drivers/net/wireless/ti/wlcore/main.c 		return wl1271_configure_suspend_ap(wl, wlvif, wow);
wlvif            1680 drivers/net/wireless/ti/wlcore/main.c static void wl1271_configure_resume(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            1683 drivers/net/wireless/ti/wlcore/main.c 	bool is_ap = wlvif->bss_type == BSS_TYPE_AP_BSS;
wlvif            1684 drivers/net/wireless/ti/wlcore/main.c 	bool is_sta = wlvif->bss_type == BSS_TYPE_STA_BSS;
wlvif            1689 drivers/net/wireless/ti/wlcore/main.c 	if ((is_sta && !test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) ||
wlvif            1690 drivers/net/wireless/ti/wlcore/main.c 	    (is_ap && !test_bit(WLVIF_FLAG_AP_STARTED, &wlvif->flags)))
wlvif            1702 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_wake_up_conditions(wl, wlvif,
wlvif            1711 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_beacon_filter_opt(wl, wlvif, false);
wlvif            1719 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif            1744 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_for_each_wlvif(wl, wlvif) {
wlvif            1745 drivers/net/wireless/ti/wlcore/main.c 		if (wlcore_is_p2p_mgmt(wlvif))
wlvif            1748 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_configure_suspend(wl, wlvif, wow);
wlvif            1801 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif            1858 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_for_each_wlvif(wl, wlvif) {
wlvif            1859 drivers/net/wireless/ti/wlcore/main.c 		if (wlcore_is_p2p_mgmt(wlvif))
wlvif            1862 drivers/net/wireless/ti/wlcore/main.c 		wl1271_configure_resume(wl, wlvif);
wlvif            2036 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif            2040 drivers/net/wireless/ti/wlcore/main.c 	wlvif = container_of(dwork, struct wl12xx_vif, channel_switch_work);
wlvif            2041 drivers/net/wireless/ti/wlcore/main.c 	wl = wlvif->wl;
wlvif            2043 drivers/net/wireless/ti/wlcore/main.c 	wl1271_info("channel switch failed (role_id: %d).", wlvif->role_id);
wlvif            2051 drivers/net/wireless/ti/wlcore/main.c 	if (!test_and_clear_bit(WLVIF_FLAG_CS_PROGRESS, &wlvif->flags))
wlvif            2054 drivers/net/wireless/ti/wlcore/main.c 	vif = wl12xx_wlvif_to_vif(wlvif);
wlvif            2063 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_cmd_stop_channel_switch(wl, wlvif);
wlvif            2076 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif            2079 drivers/net/wireless/ti/wlcore/main.c 	wlvif = container_of(dwork, struct wl12xx_vif, connection_loss_work);
wlvif            2080 drivers/net/wireless/ti/wlcore/main.c 	wl = wlvif->wl;
wlvif            2082 drivers/net/wireless/ti/wlcore/main.c 	wl1271_info("Connection loss work (role_id: %d).", wlvif->role_id);
wlvif            2090 drivers/net/wireless/ti/wlcore/main.c 	if (!test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags))
wlvif            2093 drivers/net/wireless/ti/wlcore/main.c 	vif = wl12xx_wlvif_to_vif(wlvif);
wlvif            2103 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif            2108 drivers/net/wireless/ti/wlcore/main.c 	wlvif = container_of(dwork, struct wl12xx_vif,
wlvif            2110 drivers/net/wireless/ti/wlcore/main.c 	wl = wlvif->wl;
wlvif            2125 drivers/net/wireless/ti/wlcore/main.c 	if (!time_after(time_spare, wlvif->pending_auth_reply_time))
wlvif            2135 drivers/net/wireless/ti/wlcore/main.c 	wlcore_update_inconn_sta(wl, wlvif, NULL, false);
wlvif            2185 drivers/net/wireless/ti/wlcore/main.c static u8 wl12xx_get_role_type(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            2187 drivers/net/wireless/ti/wlcore/main.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif            2189 drivers/net/wireless/ti/wlcore/main.c 	switch (wlvif->bss_type) {
wlvif            2191 drivers/net/wireless/ti/wlcore/main.c 		if (wlvif->p2p)
wlvif            2199 drivers/net/wireless/ti/wlcore/main.c 		if (wlvif->p2p)
wlvif            2208 drivers/net/wireless/ti/wlcore/main.c 		wl1271_error("invalid bss_type: %d", wlvif->bss_type);
wlvif            2215 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            2219 drivers/net/wireless/ti/wlcore/main.c 	memset(wlvif, 0, offsetof(struct wl12xx_vif, persistent));
wlvif            2223 drivers/net/wireless/ti/wlcore/main.c 		wlvif->p2p = 1;
wlvif            2227 drivers/net/wireless/ti/wlcore/main.c 		wlvif->bss_type = BSS_TYPE_STA_BSS;
wlvif            2230 drivers/net/wireless/ti/wlcore/main.c 		wlvif->bss_type = BSS_TYPE_IBSS;
wlvif            2233 drivers/net/wireless/ti/wlcore/main.c 		wlvif->p2p = 1;
wlvif            2237 drivers/net/wireless/ti/wlcore/main.c 		wlvif->bss_type = BSS_TYPE_AP_BSS;
wlvif            2240 drivers/net/wireless/ti/wlcore/main.c 		wlvif->bss_type = MAX_BSS_TYPE;
wlvif            2244 drivers/net/wireless/ti/wlcore/main.c 	wlvif->role_id = WL12XX_INVALID_ROLE_ID;
wlvif            2245 drivers/net/wireless/ti/wlcore/main.c 	wlvif->dev_role_id = WL12XX_INVALID_ROLE_ID;
wlvif            2246 drivers/net/wireless/ti/wlcore/main.c 	wlvif->dev_hlid = WL12XX_INVALID_LINK_ID;
wlvif            2248 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->bss_type == BSS_TYPE_STA_BSS ||
wlvif            2249 drivers/net/wireless/ti/wlcore/main.c 	    wlvif->bss_type == BSS_TYPE_IBSS) {
wlvif            2251 drivers/net/wireless/ti/wlcore/main.c 		wlvif->sta.hlid = WL12XX_INVALID_LINK_ID;
wlvif            2252 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_allocate_rate_policy(wl, &wlvif->sta.basic_rate_idx);
wlvif            2253 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_allocate_rate_policy(wl, &wlvif->sta.ap_rate_idx);
wlvif            2254 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_allocate_rate_policy(wl, &wlvif->sta.p2p_rate_idx);
wlvif            2255 drivers/net/wireless/ti/wlcore/main.c 		wlcore_allocate_klv_template(wl, &wlvif->sta.klv_template_id);
wlvif            2256 drivers/net/wireless/ti/wlcore/main.c 		wlvif->basic_rate_set = CONF_TX_RATE_MASK_BASIC;
wlvif            2257 drivers/net/wireless/ti/wlcore/main.c 		wlvif->basic_rate = CONF_TX_RATE_MASK_BASIC;
wlvif            2258 drivers/net/wireless/ti/wlcore/main.c 		wlvif->rate_set = CONF_TX_RATE_MASK_BASIC;
wlvif            2261 drivers/net/wireless/ti/wlcore/main.c 		wlvif->ap.bcast_hlid = WL12XX_INVALID_LINK_ID;
wlvif            2262 drivers/net/wireless/ti/wlcore/main.c 		wlvif->ap.global_hlid = WL12XX_INVALID_LINK_ID;
wlvif            2263 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_allocate_rate_policy(wl, &wlvif->ap.mgmt_rate_idx);
wlvif            2264 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_allocate_rate_policy(wl, &wlvif->ap.bcast_rate_idx);
wlvif            2267 drivers/net/wireless/ti/wlcore/main.c 						&wlvif->ap.ucast_rate_idx[i]);
wlvif            2268 drivers/net/wireless/ti/wlcore/main.c 		wlvif->basic_rate_set = CONF_TX_ENABLED_RATES;
wlvif            2274 drivers/net/wireless/ti/wlcore/main.c 		wlvif->basic_rate = CONF_TX_ENABLED_RATES;
wlvif            2276 drivers/net/wireless/ti/wlcore/main.c 		wlvif->rate_set = CONF_TX_ENABLED_RATES;
wlvif            2279 drivers/net/wireless/ti/wlcore/main.c 	wlvif->bitrate_masks[NL80211_BAND_2GHZ] = wl->conf.tx.basic_rate;
wlvif            2280 drivers/net/wireless/ti/wlcore/main.c 	wlvif->bitrate_masks[NL80211_BAND_5GHZ] = wl->conf.tx.basic_rate_5;
wlvif            2281 drivers/net/wireless/ti/wlcore/main.c 	wlvif->beacon_int = WL1271_DEFAULT_BEACON_INT;
wlvif            2287 drivers/net/wireless/ti/wlcore/main.c 	wlvif->band = wl->band;
wlvif            2288 drivers/net/wireless/ti/wlcore/main.c 	wlvif->channel = wl->channel;
wlvif            2289 drivers/net/wireless/ti/wlcore/main.c 	wlvif->power_level = wl->power_level;
wlvif            2290 drivers/net/wireless/ti/wlcore/main.c 	wlvif->channel_type = wl->channel_type;
wlvif            2292 drivers/net/wireless/ti/wlcore/main.c 	INIT_WORK(&wlvif->rx_streaming_enable_work,
wlvif            2294 drivers/net/wireless/ti/wlcore/main.c 	INIT_WORK(&wlvif->rx_streaming_disable_work,
wlvif            2296 drivers/net/wireless/ti/wlcore/main.c 	INIT_WORK(&wlvif->rc_update_work, wlcore_rc_update_work);
wlvif            2297 drivers/net/wireless/ti/wlcore/main.c 	INIT_DELAYED_WORK(&wlvif->channel_switch_work,
wlvif            2299 drivers/net/wireless/ti/wlcore/main.c 	INIT_DELAYED_WORK(&wlvif->connection_loss_work,
wlvif            2301 drivers/net/wireless/ti/wlcore/main.c 	INIT_DELAYED_WORK(&wlvif->pending_auth_complete_work,
wlvif            2303 drivers/net/wireless/ti/wlcore/main.c 	INIT_LIST_HEAD(&wlvif->list);
wlvif            2305 drivers/net/wireless/ti/wlcore/main.c 	timer_setup(&wlvif->rx_streaming_timer, wl1271_rx_streaming_timer, 0);
wlvif            2378 drivers/net/wireless/ti/wlcore/main.c static bool wl12xx_dev_role_started(struct wl12xx_vif *wlvif)
wlvif            2380 drivers/net/wireless/ti/wlcore/main.c 	return wlvif->dev_hlid != WL12XX_INVALID_LINK_ID;
wlvif            2428 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif            2430 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_for_each_wlvif_sta(wl, wlvif) {
wlvif            2431 drivers/net/wireless/ti/wlcore/main.c 		wl1271_ps_set_mode(wl, wlvif, STATION_POWER_SAVE_MODE);
wlvif            2461 drivers/net/wireless/ti/wlcore/main.c 					 struct wl12xx_vif *wlvif)
wlvif            2463 drivers/net/wireless/ti/wlcore/main.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif            2481 drivers/net/wireless/ti/wlcore/main.c 		wlvif->hw_queue_base = vif->hw_queue[0];
wlvif            2484 drivers/net/wireless/ti/wlcore/main.c 			     wlvif->hw_queue_base);
wlvif            2495 drivers/net/wireless/ti/wlcore/main.c 	wlvif->hw_queue_base = q_base * NUM_TX_QUEUES;
wlvif            2497 drivers/net/wireless/ti/wlcore/main.c 		     wlvif->hw_queue_base);
wlvif            2500 drivers/net/wireless/ti/wlcore/main.c 		wl->queue_stop_reasons[wlvif->hw_queue_base + i] = 0;
wlvif            2502 drivers/net/wireless/ti/wlcore/main.c 		vif->hw_queue[i] = wlvif->hw_queue_base + i;
wlvif            2507 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->bss_type == BSS_TYPE_AP_BSS)
wlvif            2509 drivers/net/wireless/ti/wlcore/main.c 				 wlvif->hw_queue_base / NUM_TX_QUEUES;
wlvif            2520 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            2547 drivers/net/wireless/ti/wlcore/main.c 	    test_bit(WLVIF_FLAG_INITIALIZED, &wlvif->flags)) {
wlvif            2557 drivers/net/wireless/ti/wlcore/main.c 	wlvif->wl = wl;
wlvif            2558 drivers/net/wireless/ti/wlcore/main.c 	role_type = wl12xx_get_role_type(wl, wlvif);
wlvif            2564 drivers/net/wireless/ti/wlcore/main.c 	ret = wlcore_allocate_hw_queue_base(wl, wlvif);
wlvif            2602 drivers/net/wireless/ti/wlcore/main.c 	if (!wlcore_is_p2p_mgmt(wlvif)) {
wlvif            2604 drivers/net/wireless/ti/wlcore/main.c 					     role_type, &wlvif->role_id);
wlvif            2614 drivers/net/wireless/ti/wlcore/main.c 					     &wlvif->dev_role_id);
wlvif            2619 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_sta_hw_init(wl, wlvif);
wlvif            2624 drivers/net/wireless/ti/wlcore/main.c 	list_add(&wlvif->list, &wl->wlvif_list);
wlvif            2625 drivers/net/wireless/ti/wlcore/main.c 	set_bit(WLVIF_FLAG_INITIALIZED, &wlvif->flags);
wlvif            2627 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->bss_type == BSS_TYPE_AP_BSS)
wlvif            2644 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            2646 drivers/net/wireless/ti/wlcore/main.c 	bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS);
wlvif            2650 drivers/net/wireless/ti/wlcore/main.c 	if (!test_and_clear_bit(WLVIF_FLAG_INITIALIZED, &wlvif->flags))
wlvif            2660 drivers/net/wireless/ti/wlcore/main.c 	    wl->scan_wlvif == wlvif) {
wlvif            2678 drivers/net/wireless/ti/wlcore/main.c 	if (wl->sched_vif == wlvif)
wlvif            2694 drivers/net/wireless/ti/wlcore/main.c 		if (wlvif->bss_type == BSS_TYPE_STA_BSS ||
wlvif            2695 drivers/net/wireless/ti/wlcore/main.c 		    wlvif->bss_type == BSS_TYPE_IBSS) {
wlvif            2696 drivers/net/wireless/ti/wlcore/main.c 			if (wl12xx_dev_role_started(wlvif))
wlvif            2697 drivers/net/wireless/ti/wlcore/main.c 				wl12xx_stop_dev(wl, wlvif);
wlvif            2700 drivers/net/wireless/ti/wlcore/main.c 		if (!wlcore_is_p2p_mgmt(wlvif)) {
wlvif            2701 drivers/net/wireless/ti/wlcore/main.c 			ret = wl12xx_cmd_role_disable(wl, &wlvif->role_id);
wlvif            2705 drivers/net/wireless/ti/wlcore/main.c 			ret = wl12xx_cmd_role_disable(wl, &wlvif->dev_role_id);
wlvif            2714 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_tx_reset_wlvif(wl, wlvif);
wlvif            2717 drivers/net/wireless/ti/wlcore/main.c 	wlvif->dev_hlid = WL12XX_INVALID_LINK_ID;
wlvif            2719 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->bss_type == BSS_TYPE_STA_BSS ||
wlvif            2720 drivers/net/wireless/ti/wlcore/main.c 	    wlvif->bss_type == BSS_TYPE_IBSS) {
wlvif            2721 drivers/net/wireless/ti/wlcore/main.c 		wlvif->sta.hlid = WL12XX_INVALID_LINK_ID;
wlvif            2722 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_free_rate_policy(wl, &wlvif->sta.basic_rate_idx);
wlvif            2723 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_free_rate_policy(wl, &wlvif->sta.ap_rate_idx);
wlvif            2724 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_free_rate_policy(wl, &wlvif->sta.p2p_rate_idx);
wlvif            2725 drivers/net/wireless/ti/wlcore/main.c 		wlcore_free_klv_template(wl, &wlvif->sta.klv_template_id);
wlvif            2727 drivers/net/wireless/ti/wlcore/main.c 		wlvif->ap.bcast_hlid = WL12XX_INVALID_LINK_ID;
wlvif            2728 drivers/net/wireless/ti/wlcore/main.c 		wlvif->ap.global_hlid = WL12XX_INVALID_LINK_ID;
wlvif            2729 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_free_rate_policy(wl, &wlvif->ap.mgmt_rate_idx);
wlvif            2730 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_free_rate_policy(wl, &wlvif->ap.bcast_rate_idx);
wlvif            2733 drivers/net/wireless/ti/wlcore/main.c 						&wlvif->ap.ucast_rate_idx[i]);
wlvif            2734 drivers/net/wireless/ti/wlcore/main.c 		wl1271_free_ap_keys(wl, wlvif);
wlvif            2737 drivers/net/wireless/ti/wlcore/main.c 	dev_kfree_skb(wlvif->probereq);
wlvif            2738 drivers/net/wireless/ti/wlcore/main.c 	wlvif->probereq = NULL;
wlvif            2739 drivers/net/wireless/ti/wlcore/main.c 	if (wl->last_wlvif == wlvif)
wlvif            2741 drivers/net/wireless/ti/wlcore/main.c 	list_del(&wlvif->list);
wlvif            2742 drivers/net/wireless/ti/wlcore/main.c 	memset(wlvif->ap.sta_hlid_map, 0, sizeof(wlvif->ap.sta_hlid_map));
wlvif            2743 drivers/net/wireless/ti/wlcore/main.c 	wlvif->role_id = WL12XX_INVALID_ROLE_ID;
wlvif            2744 drivers/net/wireless/ti/wlcore/main.c 	wlvif->dev_role_id = WL12XX_INVALID_ROLE_ID;
wlvif            2778 drivers/net/wireless/ti/wlcore/main.c 	del_timer_sync(&wlvif->rx_streaming_timer);
wlvif            2779 drivers/net/wireless/ti/wlcore/main.c 	cancel_work_sync(&wlvif->rx_streaming_enable_work);
wlvif            2780 drivers/net/wireless/ti/wlcore/main.c 	cancel_work_sync(&wlvif->rx_streaming_disable_work);
wlvif            2781 drivers/net/wireless/ti/wlcore/main.c 	cancel_work_sync(&wlvif->rc_update_work);
wlvif            2782 drivers/net/wireless/ti/wlcore/main.c 	cancel_delayed_work_sync(&wlvif->connection_loss_work);
wlvif            2783 drivers/net/wireless/ti/wlcore/main.c 	cancel_delayed_work_sync(&wlvif->channel_switch_work);
wlvif            2784 drivers/net/wireless/ti/wlcore/main.c 	cancel_delayed_work_sync(&wlvif->pending_auth_complete_work);
wlvif            2793 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            2801 drivers/net/wireless/ti/wlcore/main.c 	    !test_bit(WLVIF_FLAG_INITIALIZED, &wlvif->flags))
wlvif            2809 drivers/net/wireless/ti/wlcore/main.c 		if (iter != wlvif)
wlvif            2815 drivers/net/wireless/ti/wlcore/main.c 	WARN_ON(iter != wlvif);
wlvif            2843 drivers/net/wireless/ti/wlcore/main.c static int wlcore_join(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            2846 drivers/net/wireless/ti/wlcore/main.c 	bool is_ibss = (wlvif->bss_type == BSS_TYPE_IBSS);
wlvif            2857 drivers/net/wireless/ti/wlcore/main.c 	if (test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags))
wlvif            2861 drivers/net/wireless/ti/wlcore/main.c 	wlvif->encryption_type = KEY_NONE;
wlvif            2864 drivers/net/wireless/ti/wlcore/main.c 		ret = wl12xx_cmd_role_start_ibss(wl, wlvif);
wlvif            2874 drivers/net/wireless/ti/wlcore/main.c 			wl12xx_cmd_role_start_sta(wl, wlvif);
wlvif            2875 drivers/net/wireless/ti/wlcore/main.c 			wl12xx_cmd_role_stop_sta(wl, wlvif);
wlvif            2878 drivers/net/wireless/ti/wlcore/main.c 		ret = wl12xx_cmd_role_start_sta(wl, wlvif);
wlvif            2884 drivers/net/wireless/ti/wlcore/main.c static int wl1271_ssid_set(struct wl12xx_vif *wlvif, struct sk_buff *skb,
wlvif            2902 drivers/net/wireless/ti/wlcore/main.c 	wlvif->ssid_len = ssid_len;
wlvif            2903 drivers/net/wireless/ti/wlcore/main.c 	memcpy(wlvif->ssid, ptr+2, ssid_len);
wlvif            2907 drivers/net/wireless/ti/wlcore/main.c static int wlcore_set_ssid(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            2909 drivers/net/wireless/ti/wlcore/main.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif            2914 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->bss_type != BSS_TYPE_STA_BSS)
wlvif            2923 drivers/net/wireless/ti/wlcore/main.c 	wl1271_ssid_set(wlvif, skb, ieoffset);
wlvif            2929 drivers/net/wireless/ti/wlcore/main.c static int wlcore_set_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            2936 drivers/net/wireless/ti/wlcore/main.c 	wlvif->aid = bss_conf->aid;
wlvif            2937 drivers/net/wireless/ti/wlcore/main.c 	wlvif->channel_type = cfg80211_get_chandef_type(&bss_conf->chandef);
wlvif            2938 drivers/net/wireless/ti/wlcore/main.c 	wlvif->beacon_int = bss_conf->beacon_int;
wlvif            2939 drivers/net/wireless/ti/wlcore/main.c 	wlvif->wmm_enabled = bss_conf->qos;
wlvif            2941 drivers/net/wireless/ti/wlcore/main.c 	set_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags);
wlvif            2949 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_cmd_build_ps_poll(wl, wlvif, wlvif->aid);
wlvif            2956 drivers/net/wireless/ti/wlcore/main.c 	dev_kfree_skb(wlvif->probereq);
wlvif            2957 drivers/net/wireless/ti/wlcore/main.c 	wlvif->probereq = wl1271_cmd_build_ap_probe_req(wl,
wlvif            2958 drivers/net/wireless/ti/wlcore/main.c 							wlvif,
wlvif            2962 drivers/net/wireless/ti/wlcore/main.c 	wl1271_ssid_set(wlvif, wlvif->probereq, ieoffset);
wlvif            2965 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_acx_conn_monit_params(wl, wlvif, true);
wlvif            2975 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_acx_keep_alive_mode(wl, wlvif, true);
wlvif            2979 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_acx_aid(wl, wlvif, wlvif->aid);
wlvif            2983 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_cmd_build_klv_null_data(wl, wlvif);
wlvif            2987 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_acx_keep_alive_config(wl, wlvif,
wlvif            2988 drivers/net/wireless/ti/wlcore/main.c 					   wlvif->sta.klv_template_id,
wlvif            2997 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_ps_set_mode(wl, wlvif, STATION_ACTIVE_MODE);
wlvif            3002 drivers/net/wireless/ti/wlcore/main.c 		wlvif->rate_set =
wlvif            3005 drivers/net/wireless/ti/wlcore/main.c 						    wlvif->band);
wlvif            3006 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_sta_rate_policies(wl, wlvif);
wlvif            3014 drivers/net/wireless/ti/wlcore/main.c static int wlcore_unset_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            3017 drivers/net/wireless/ti/wlcore/main.c 	bool sta = wlvif->bss_type == BSS_TYPE_STA_BSS;
wlvif            3021 drivers/net/wireless/ti/wlcore/main.c 	    !test_and_clear_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags))
wlvif            3026 drivers/net/wireless/ti/wlcore/main.c 	    test_and_clear_bit(WLVIF_FLAG_IBSS_JOINED, &wlvif->flags))
wlvif            3031 drivers/net/wireless/ti/wlcore/main.c 		wlvif->aid = 0;
wlvif            3034 drivers/net/wireless/ti/wlcore/main.c 		dev_kfree_skb(wlvif->probereq);
wlvif            3035 drivers/net/wireless/ti/wlcore/main.c 		wlvif->probereq = NULL;
wlvif            3038 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_conn_monit_params(wl, wlvif, false);
wlvif            3043 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_keep_alive_mode(wl, wlvif, false);
wlvif            3048 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_beacon_filter_opt(wl, wlvif, false);
wlvif            3053 drivers/net/wireless/ti/wlcore/main.c 	if (test_and_clear_bit(WLVIF_FLAG_CS_PROGRESS, &wlvif->flags)) {
wlvif            3054 drivers/net/wireless/ti/wlcore/main.c 		struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif            3056 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_cmd_stop_channel_switch(wl, wlvif);
wlvif            3058 drivers/net/wireless/ti/wlcore/main.c 		cancel_delayed_work(&wlvif->channel_switch_work);
wlvif            3062 drivers/net/wireless/ti/wlcore/main.c 	wl1271_acx_keep_alive_config(wl, wlvif,
wlvif            3063 drivers/net/wireless/ti/wlcore/main.c 				     wlvif->sta.klv_template_id,
wlvif            3069 drivers/net/wireless/ti/wlcore/main.c static void wl1271_set_band_rate(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            3071 drivers/net/wireless/ti/wlcore/main.c 	wlvif->basic_rate_set = wlvif->bitrate_masks[wlvif->band];
wlvif            3072 drivers/net/wireless/ti/wlcore/main.c 	wlvif->rate_set = wlvif->basic_rate_set;
wlvif            3075 drivers/net/wireless/ti/wlcore/main.c static void wl1271_sta_handle_idle(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            3078 drivers/net/wireless/ti/wlcore/main.c 	bool cur_idle = !test_bit(WLVIF_FLAG_ACTIVE, &wlvif->flags);
wlvif            3084 drivers/net/wireless/ti/wlcore/main.c 		clear_bit(WLVIF_FLAG_ACTIVE, &wlvif->flags);
wlvif            3087 drivers/net/wireless/ti/wlcore/main.c 		if (wl->sched_vif == wlvif)
wlvif            3088 drivers/net/wireless/ti/wlcore/main.c 			wl->ops->sched_scan_stop(wl, wlvif);
wlvif            3090 drivers/net/wireless/ti/wlcore/main.c 		set_bit(WLVIF_FLAG_ACTIVE, &wlvif->flags);
wlvif            3094 drivers/net/wireless/ti/wlcore/main.c static int wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            3099 drivers/net/wireless/ti/wlcore/main.c 	if (wlcore_is_p2p_mgmt(wlvif))
wlvif            3102 drivers/net/wireless/ti/wlcore/main.c 	if (conf->power_level != wlvif->power_level) {
wlvif            3103 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_tx_power(wl, wlvif, conf->power_level);
wlvif            3107 drivers/net/wireless/ti/wlcore/main.c 		wlvif->power_level = conf->power_level;
wlvif            3116 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif            3142 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_for_each_wlvif(wl, wlvif) {
wlvif            3143 drivers/net/wireless/ti/wlcore/main.c 		ret = wl12xx_config_vif(wl, wlvif, conf, changed);
wlvif            3204 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif            3225 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_for_each_wlvif(wl, wlvif) {
wlvif            3226 drivers/net/wireless/ti/wlcore/main.c 		if (wlcore_is_p2p_mgmt(wlvif))
wlvif            3229 drivers/net/wireless/ti/wlcore/main.c 		if (wlvif->bss_type != BSS_TYPE_AP_BSS) {
wlvif            3231 drivers/net/wireless/ti/wlcore/main.c 				ret = wl1271_acx_group_address_tbl(wl, wlvif,
wlvif            3235 drivers/net/wireless/ti/wlcore/main.c 				ret = wl1271_acx_group_address_tbl(wl, wlvif,
wlvif            3248 drivers/net/wireless/ti/wlcore/main.c  		if (wlvif->bss_type == BSS_TYPE_AP_BSS) {
wlvif            3250 drivers/net/wireless/ti/wlcore/main.c 				ret = wl1271_acx_group_address_tbl(wl, wlvif,
wlvif            3274 drivers/net/wireless/ti/wlcore/main.c static int wl1271_record_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            3292 drivers/net/wireless/ti/wlcore/main.c 		if (wlvif->ap.recorded_keys[i] == NULL)
wlvif            3295 drivers/net/wireless/ti/wlcore/main.c 		if (wlvif->ap.recorded_keys[i]->id == id) {
wlvif            3316 drivers/net/wireless/ti/wlcore/main.c 	wlvif->ap.recorded_keys[i] = ap_key;
wlvif            3320 drivers/net/wireless/ti/wlcore/main.c static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            3325 drivers/net/wireless/ti/wlcore/main.c 		kfree(wlvif->ap.recorded_keys[i]);
wlvif            3326 drivers/net/wireless/ti/wlcore/main.c 		wlvif->ap.recorded_keys[i] = NULL;
wlvif            3330 drivers/net/wireless/ti/wlcore/main.c static int wl1271_ap_init_hwenc(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            3338 drivers/net/wireless/ti/wlcore/main.c 		if (wlvif->ap.recorded_keys[i] == NULL)
wlvif            3341 drivers/net/wireless/ti/wlcore/main.c 		key = wlvif->ap.recorded_keys[i];
wlvif            3344 drivers/net/wireless/ti/wlcore/main.c 			hlid = wlvif->ap.bcast_hlid;
wlvif            3346 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_cmd_set_ap_key(wl, wlvif, KEY_ADD_OR_REPLACE,
wlvif            3359 drivers/net/wireless/ti/wlcore/main.c 		ret = wl12xx_cmd_set_default_wep_key(wl, wlvif->default_key,
wlvif            3360 drivers/net/wireless/ti/wlcore/main.c 						     wlvif->ap.bcast_hlid);
wlvif            3366 drivers/net/wireless/ti/wlcore/main.c 	wl1271_free_ap_keys(wl, wlvif);
wlvif            3370 drivers/net/wireless/ti/wlcore/main.c static int wl1271_set_key(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            3376 drivers/net/wireless/ti/wlcore/main.c 	bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS);
wlvif            3386 drivers/net/wireless/ti/wlcore/main.c 			hlid = wlvif->ap.bcast_hlid;
wlvif            3389 drivers/net/wireless/ti/wlcore/main.c 		if (!test_bit(WLVIF_FLAG_AP_STARTED, &wlvif->flags)) {
wlvif            3397 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_record_ap_key(wl, wlvif, id,
wlvif            3402 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_cmd_set_ap_key(wl, wlvif, action,
wlvif            3432 drivers/net/wireless/ti/wlcore/main.c 		    wlvif->sta.hlid == WL12XX_INVALID_LINK_ID)
wlvif            3435 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_cmd_set_sta_key(wl, wlvif, action,
wlvif            3499 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            3514 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->bss_type == BSS_TYPE_AP_BSS)
wlvif            3519 drivers/net/wireless/ti/wlcore/main.c 			hlid = wlvif->ap.bcast_hlid;
wlvif            3522 drivers/net/wireless/ti/wlcore/main.c 		hlid = wlvif->sta.hlid;
wlvif            3556 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_set_key(wl, wlvif, KEY_ADD_OR_REPLACE,
wlvif            3569 drivers/net/wireless/ti/wlcore/main.c 		if (wlvif->bss_type == BSS_TYPE_STA_BSS &&
wlvif            3571 drivers/net/wireless/ti/wlcore/main.c 		    wlvif->encryption_type != key_type) {
wlvif            3572 drivers/net/wireless/ti/wlcore/main.c 			wlvif->encryption_type = key_type;
wlvif            3573 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_cmd_build_arp_rsp(wl, wlvif);
wlvif            3582 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_set_key(wl, wlvif, KEY_REMOVE,
wlvif            3606 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            3629 drivers/net/wireless/ti/wlcore/main.c 	wlvif->default_key = key_idx;
wlvif            3632 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->encryption_type == KEY_WEP) {
wlvif            3635 drivers/net/wireless/ti/wlcore/main.c 				wlvif->sta.hlid);
wlvif            3732 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            3755 drivers/net/wireless/ti/wlcore/main.c 		ret = wl->ops->scan_stop(wl, wlvif);
wlvif            3787 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            3805 drivers/net/wireless/ti/wlcore/main.c 	ret = wl->ops->sched_scan_start(wl, wlvif, req, ies);
wlvif            3809 drivers/net/wireless/ti/wlcore/main.c 	wl->sched_vif = wlvif;
wlvif            3823 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            3839 drivers/net/wireless/ti/wlcore/main.c 	wl->ops->sched_scan_stop(wl, wlvif);
wlvif            3883 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif            3899 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_for_each_wlvif(wl, wlvif) {
wlvif            3900 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_rts_threshold(wl, wlvif, value);
wlvif            3947 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            3955 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_cmd_template_set(wl, wlvif->role_id,
wlvif            3966 drivers/net/wireless/ti/wlcore/main.c 	set_bit(WLVIF_FLAG_AP_PROBE_RESP_SET, &wlvif->flags);
wlvif            3978 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            3985 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->ssid_len > 0)
wlvif            3986 drivers/net/wireless/ti/wlcore/main.c 		return wl1271_cmd_template_set(wl, wlvif->role_id,
wlvif            4023 drivers/net/wireless/ti/wlcore/main.c 	return wl1271_cmd_template_set(wl, wlvif->role_id,
wlvif            4035 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            4040 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_acx_slot(wl, wlvif, SLOT_TIME_SHORT);
wlvif            4042 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_acx_slot(wl, wlvif, SLOT_TIME_LONG);
wlvif            4051 drivers/net/wireless/ti/wlcore/main.c 			wl1271_acx_set_preamble(wl, wlvif, ACX_PREAMBLE_SHORT);
wlvif            4053 drivers/net/wireless/ti/wlcore/main.c 			wl1271_acx_set_preamble(wl, wlvif, ACX_PREAMBLE_LONG);
wlvif            4058 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_acx_cts_protect(wl, wlvif,
wlvif            4061 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_acx_cts_protect(wl, wlvif,
wlvif            4077 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            4092 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_ssid_set(wlvif, beacon, ieoffset);
wlvif            4097 drivers/net/wireless/ti/wlcore/main.c 	min_rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set);
wlvif            4100 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_cmd_template_set(wl, wlvif->role_id, tmpl_id,
wlvif            4109 drivers/net/wireless/ti/wlcore/main.c 	wlvif->wmm_enabled =
wlvif            4119 drivers/net/wireless/ti/wlcore/main.c 	if (test_bit(WLVIF_FLAG_AP_PROBE_RESP_SET, &wlvif->flags))
wlvif            4145 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_cmd_template_set(wl, wlvif->role_id,
wlvif            4164 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            4165 drivers/net/wireless/ti/wlcore/main.c 	bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS);
wlvif            4172 drivers/net/wireless/ti/wlcore/main.c 		wlvif->beacon_int = bss_conf->beacon_int;
wlvif            4176 drivers/net/wireless/ti/wlcore/main.c 		u32 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set);
wlvif            4187 drivers/net/wireless/ti/wlcore/main.c 				       &wlvif->flags)) {
wlvif            4188 drivers/net/wireless/ti/wlcore/main.c 			ret = wlcore_hw_dfs_master_restart(wl, wlvif);
wlvif            4205 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            4211 drivers/net/wireless/ti/wlcore/main.c 		wlvif->basic_rate_set = wl1271_tx_enabled_rates_get(wl, rates,
wlvif            4212 drivers/net/wireless/ti/wlcore/main.c 								 wlvif->band);
wlvif            4213 drivers/net/wireless/ti/wlcore/main.c 		wlvif->basic_rate = wl1271_tx_min_rate_get(wl,
wlvif            4214 drivers/net/wireless/ti/wlcore/main.c 							wlvif->basic_rate_set);
wlvif            4216 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_init_ap_rates(wl, wlvif);
wlvif            4229 drivers/net/wireless/ti/wlcore/main.c 							    wlvif->basic_rate,
wlvif            4246 drivers/net/wireless/ti/wlcore/main.c 			if (!test_bit(WLVIF_FLAG_AP_STARTED, &wlvif->flags)) {
wlvif            4247 drivers/net/wireless/ti/wlcore/main.c 				ret = wl12xx_cmd_role_start_ap(wl, wlvif);
wlvif            4251 drivers/net/wireless/ti/wlcore/main.c 				ret = wl1271_ap_init_hwenc(wl, wlvif);
wlvif            4255 drivers/net/wireless/ti/wlcore/main.c 				set_bit(WLVIF_FLAG_AP_STARTED, &wlvif->flags);
wlvif            4259 drivers/net/wireless/ti/wlcore/main.c 			if (test_bit(WLVIF_FLAG_AP_STARTED, &wlvif->flags)) {
wlvif            4264 drivers/net/wireless/ti/wlcore/main.c 				if (test_bit(wlvif->role_id, wl->roc_map))
wlvif            4265 drivers/net/wireless/ti/wlcore/main.c 					wl12xx_croc(wl, wlvif->role_id);
wlvif            4267 drivers/net/wireless/ti/wlcore/main.c 				ret = wl12xx_cmd_role_stop_ap(wl, wlvif);
wlvif            4271 drivers/net/wireless/ti/wlcore/main.c 				clear_bit(WLVIF_FLAG_AP_STARTED, &wlvif->flags);
wlvif            4273 drivers/net/wireless/ti/wlcore/main.c 					  &wlvif->flags);
wlvif            4286 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_set_ht_information(wl, wlvif,
wlvif            4298 drivers/net/wireless/ti/wlcore/main.c static int wlcore_set_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            4311 drivers/net/wireless/ti/wlcore/main.c 	wlvif->beacon_int = bss_conf->beacon_int;
wlvif            4313 drivers/net/wireless/ti/wlcore/main.c 	wlvif->basic_rate_set =
wlvif            4315 drivers/net/wireless/ti/wlcore/main.c 					    wlvif->band);
wlvif            4316 drivers/net/wireless/ti/wlcore/main.c 	wlvif->basic_rate =
wlvif            4318 drivers/net/wireless/ti/wlcore/main.c 				       wlvif->basic_rate_set);
wlvif            4321 drivers/net/wireless/ti/wlcore/main.c 		wlvif->rate_set =
wlvif            4324 drivers/net/wireless/ti/wlcore/main.c 						wlvif->band);
wlvif            4327 drivers/net/wireless/ti/wlcore/main.c 	if (wl->sched_vif == wlvif)
wlvif            4328 drivers/net/wireless/ti/wlcore/main.c 		wl->ops->sched_scan_stop(wl, wlvif);
wlvif            4330 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_acx_sta_rate_policies(wl, wlvif);
wlvif            4334 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_cmd_build_null_data(wl, wlvif);
wlvif            4338 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_build_qos_null_data(wl, wl12xx_wlvif_to_vif(wlvif));
wlvif            4342 drivers/net/wireless/ti/wlcore/main.c 	wlcore_set_ssid(wl, wlvif);
wlvif            4344 drivers/net/wireless/ti/wlcore/main.c 	set_bit(WLVIF_FLAG_IN_USE, &wlvif->flags);
wlvif            4349 drivers/net/wireless/ti/wlcore/main.c static int wlcore_clear_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            4354 drivers/net/wireless/ti/wlcore/main.c 	wl1271_set_band_rate(wl, wlvif);
wlvif            4355 drivers/net/wireless/ti/wlcore/main.c 	wlvif->basic_rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set);
wlvif            4357 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_acx_sta_rate_policies(wl, wlvif);
wlvif            4361 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->bss_type == BSS_TYPE_STA_BSS &&
wlvif            4362 drivers/net/wireless/ti/wlcore/main.c 	    test_bit(WLVIF_FLAG_IN_USE, &wlvif->flags)) {
wlvif            4363 drivers/net/wireless/ti/wlcore/main.c 		ret = wl12xx_cmd_role_stop_sta(wl, wlvif);
wlvif            4368 drivers/net/wireless/ti/wlcore/main.c 	clear_bit(WLVIF_FLAG_IN_USE, &wlvif->flags);
wlvif            4377 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            4379 drivers/net/wireless/ti/wlcore/main.c 	bool is_ibss = (wlvif->bss_type == BSS_TYPE_IBSS);
wlvif            4396 drivers/net/wireless/ti/wlcore/main.c 			set_bit(WLVIF_FLAG_IBSS_JOINED, &wlvif->flags);
wlvif            4399 drivers/net/wireless/ti/wlcore/main.c 			wlcore_unset_assoc(wl, wlvif);
wlvif            4400 drivers/net/wireless/ti/wlcore/main.c 			wl12xx_cmd_role_stop_sta(wl, wlvif);
wlvif            4419 drivers/net/wireless/ti/wlcore/main.c 		wl1271_sta_handle_idle(wl, wlvif, bss_conf->idle);
wlvif            4425 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_rssi_snr_trigger(wl, wlvif, enable,
wlvif            4430 drivers/net/wireless/ti/wlcore/main.c 		wlvif->rssi_thold = bss_conf->cqm_rssi_thold;
wlvif            4441 drivers/net/wireless/ti/wlcore/main.c 			sta_rate_set = sta->supp_rates[wlvif->band];
wlvif            4455 drivers/net/wireless/ti/wlcore/main.c 			ret = wlcore_set_bssid(wl, wlvif, bss_conf,
wlvif            4463 drivers/net/wireless/ti/wlcore/main.c 			ret = wlcore_clear_bssid(wl, wlvif);
wlvif            4475 drivers/net/wireless/ti/wlcore/main.c 			wlvif->basic_rate_set =
wlvif            4477 drivers/net/wireless/ti/wlcore/main.c 							    wlvif->band);
wlvif            4478 drivers/net/wireless/ti/wlcore/main.c 			wlvif->basic_rate =
wlvif            4480 drivers/net/wireless/ti/wlcore/main.c 						       wlvif->basic_rate_set);
wlvif            4483 drivers/net/wireless/ti/wlcore/main.c 			wlvif->rate_set = CONF_TX_IBSS_DEFAULT_RATES;
wlvif            4484 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_acx_sta_rate_policies(wl, wlvif);
wlvif            4492 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_beacon_filter_opt(wl, wlvif, true);
wlvif            4502 drivers/net/wireless/ti/wlcore/main.c 		ret = wlcore_join(wl, wlvif);
wlvif            4511 drivers/net/wireless/ti/wlcore/main.c 			ret = wlcore_set_assoc(wl, wlvif, bss_conf,
wlvif            4516 drivers/net/wireless/ti/wlcore/main.c 			if (test_bit(WLVIF_FLAG_STA_AUTHORIZED, &wlvif->flags))
wlvif            4517 drivers/net/wireless/ti/wlcore/main.c 				wl12xx_set_authorized(wl, wlvif);
wlvif            4519 drivers/net/wireless/ti/wlcore/main.c 			wlcore_unset_assoc(wl, wlvif);
wlvif            4525 drivers/net/wireless/ti/wlcore/main.c 		    test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags) &&
wlvif            4526 drivers/net/wireless/ti/wlcore/main.c 		    !test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags)) {
wlvif            4540 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_ps_set_mode(wl, wlvif, ps_mode);
wlvif            4545 drivers/net/wireless/ti/wlcore/main.c 			   test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags)) {
wlvif            4548 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_ps_set_mode(wl, wlvif,
wlvif            4563 drivers/net/wireless/ti/wlcore/main.c 					     wlvif->rate_set,
wlvif            4564 drivers/net/wireless/ti/wlcore/main.c 					     wlvif->sta.hlid);
wlvif            4572 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_acx_set_ht_information(wl, wlvif,
wlvif            4586 drivers/net/wireless/ti/wlcore/main.c 		wlvif->sta.qos = bss_conf->qos;
wlvif            4587 drivers/net/wireless/ti/wlcore/main.c 		WARN_ON(wlvif->bss_type != BSS_TYPE_STA_BSS);
wlvif            4590 drivers/net/wireless/ti/wlcore/main.c 			wlvif->ip_addr = addr;
wlvif            4597 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_cmd_build_arp_rsp(wl, wlvif);
wlvif            4603 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_acx_arp_ip_filter(wl, wlvif,
wlvif            4608 drivers/net/wireless/ti/wlcore/main.c 			wlvif->ip_addr = 0;
wlvif            4609 drivers/net/wireless/ti/wlcore/main.c 			ret = wl1271_acx_arp_ip_filter(wl, wlvif, 0, addr);
wlvif            4626 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            4627 drivers/net/wireless/ti/wlcore/main.c 	bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS);
wlvif            4631 drivers/net/wireless/ti/wlcore/main.c 		     wlvif->role_id, (int)changed);
wlvif            4638 drivers/net/wireless/ti/wlcore/main.c 		cancel_delayed_work_sync(&wlvif->connection_loss_work);
wlvif            4649 drivers/net/wireless/ti/wlcore/main.c 	if (unlikely(!test_bit(WLVIF_FLAG_INITIALIZED, &wlvif->flags)))
wlvif            4659 drivers/net/wireless/ti/wlcore/main.c 	    bss_conf->txpower != wlvif->power_level) {
wlvif            4661 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_tx_power(wl, wlvif, bss_conf->txpower);
wlvif            4665 drivers/net/wireless/ti/wlcore/main.c 		wlvif->power_level = bss_conf->txpower;
wlvif            4702 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif            4719 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_for_each_wlvif(wl, wlvif) {
wlvif            4720 drivers/net/wireless/ti/wlcore/main.c 		struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif            4731 drivers/net/wireless/ti/wlcore/main.c 		    wlvif->bss_type == BSS_TYPE_AP_BSS &&
wlvif            4732 drivers/net/wireless/ti/wlcore/main.c 		    ctx->radar_enabled && !wlvif->radar_enabled &&
wlvif            4735 drivers/net/wireless/ti/wlcore/main.c 			wlcore_hw_set_cac(wl, wlvif, true);
wlvif            4736 drivers/net/wireless/ti/wlcore/main.c 			wlvif->radar_enabled = true;
wlvif            4751 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            4758 drivers/net/wireless/ti/wlcore/main.c 		     wlvif->role_id, channel,
wlvif            4767 drivers/net/wireless/ti/wlcore/main.c 	if (unlikely(!test_bit(WLVIF_FLAG_INITIALIZED, &wlvif->flags)))
wlvif            4776 drivers/net/wireless/ti/wlcore/main.c 	wlvif->band = ctx->def.chan->band;
wlvif            4777 drivers/net/wireless/ti/wlcore/main.c 	wlvif->channel = channel;
wlvif            4778 drivers/net/wireless/ti/wlcore/main.c 	wlvif->channel_type = cfg80211_get_chandef_type(&ctx->def);
wlvif            4781 drivers/net/wireless/ti/wlcore/main.c 	wl1271_set_band_rate(wl, wlvif);
wlvif            4786 drivers/net/wireless/ti/wlcore/main.c 		wlcore_hw_set_cac(wl, wlvif, true);
wlvif            4787 drivers/net/wireless/ti/wlcore/main.c 		wlvif->radar_enabled = true;
wlvif            4803 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            4808 drivers/net/wireless/ti/wlcore/main.c 		     wlvif->role_id,
wlvif            4819 drivers/net/wireless/ti/wlcore/main.c 	if (unlikely(!test_bit(WLVIF_FLAG_INITIALIZED, &wlvif->flags)))
wlvif            4828 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->radar_enabled) {
wlvif            4830 drivers/net/wireless/ti/wlcore/main.c 		wlcore_hw_set_cac(wl, wlvif, false);
wlvif            4831 drivers/net/wireless/ti/wlcore/main.c 		wlvif->radar_enabled = false;
wlvif            4841 drivers/net/wireless/ti/wlcore/main.c 				    struct wl12xx_vif *wlvif,
wlvif            4849 drivers/net/wireless/ti/wlcore/main.c 		     wlvif->role_id, wlvif->channel, channel,
wlvif            4852 drivers/net/wireless/ti/wlcore/main.c 	if (WARN_ON_ONCE(wlvif->bss_type != BSS_TYPE_AP_BSS))
wlvif            4855 drivers/net/wireless/ti/wlcore/main.c 	WARN_ON(!test_bit(WLVIF_FLAG_BEACON_DISABLED, &wlvif->flags));
wlvif            4857 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->radar_enabled) {
wlvif            4859 drivers/net/wireless/ti/wlcore/main.c 		wlcore_hw_set_cac(wl, wlvif, false);
wlvif            4860 drivers/net/wireless/ti/wlcore/main.c 		wlvif->radar_enabled = false;
wlvif            4863 drivers/net/wireless/ti/wlcore/main.c 	wlvif->band = new_ctx->def.chan->band;
wlvif            4864 drivers/net/wireless/ti/wlcore/main.c 	wlvif->channel = channel;
wlvif            4865 drivers/net/wireless/ti/wlcore/main.c 	wlvif->channel_type = cfg80211_get_chandef_type(&new_ctx->def);
wlvif            4870 drivers/net/wireless/ti/wlcore/main.c 		wlcore_hw_set_cac(wl, wlvif, true);
wlvif            4871 drivers/net/wireless/ti/wlcore/main.c 		wlvif->radar_enabled = true;
wlvif            4899 drivers/net/wireless/ti/wlcore/main.c 		struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vifs[i].vif);
wlvif            4901 drivers/net/wireless/ti/wlcore/main.c 		ret = __wlcore_switch_vif_chan(wl, wlvif, vifs[i].new_ctx);
wlvif            4919 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            4923 drivers/net/wireless/ti/wlcore/main.c 	if (wlcore_is_p2p_mgmt(wlvif))
wlvif            4935 drivers/net/wireless/ti/wlcore/main.c 	if (!test_bit(WLVIF_FLAG_INITIALIZED, &wlvif->flags))
wlvif            4948 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_acx_ac_cfg(wl, wlvif, wl1271_tx_get_queue(queue),
wlvif            4954 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_acx_tid_cfg(wl, wlvif, wl1271_tx_get_queue(queue),
wlvif            4975 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            4992 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_acx_tsf_info(wl, wlvif, &mactime);
wlvif            5019 drivers/net/wireless/ti/wlcore/main.c 			     struct wl12xx_vif *wlvif,
wlvif            5032 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_allocate_link(wl, wlvif, &wl_sta->hlid);
wlvif            5041 drivers/net/wireless/ti/wlcore/main.c 	set_bit(wl_sta->hlid, wlvif->ap.sta_hlid_map);
wlvif            5047 drivers/net/wireless/ti/wlcore/main.c void wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid)
wlvif            5049 drivers/net/wireless/ti/wlcore/main.c 	if (!test_bit(hlid, wlvif->ap.sta_hlid_map))
wlvif            5052 drivers/net/wireless/ti/wlcore/main.c 	clear_bit(hlid, wlvif->ap.sta_hlid_map);
wlvif            5060 drivers/net/wireless/ti/wlcore/main.c 	wlcore_save_freed_pkts_addr(wl, wlvif, hlid, wl->links[hlid].addr);
wlvif            5062 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_free_link(wl, wlvif, &hlid);
wlvif            5074 drivers/net/wireless/ti/wlcore/main.c 			  struct wl12xx_vif *wlvif,
wlvif            5083 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_allocate_sta(wl, wlvif, sta);
wlvif            5090 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_cmd_add_peer(wl, wlvif, sta, hlid);
wlvif            5092 drivers/net/wireless/ti/wlcore/main.c 		wl1271_free_sta(wl, wlvif, hlid);
wlvif            5098 drivers/net/wireless/ti/wlcore/main.c 			     struct wl12xx_vif *wlvif,
wlvif            5108 drivers/net/wireless/ti/wlcore/main.c 	if (WARN_ON(!test_bit(id, wlvif->ap.sta_hlid_map)))
wlvif            5111 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_cmd_remove_peer(wl, wlvif, wl_sta->hlid);
wlvif            5115 drivers/net/wireless/ti/wlcore/main.c 	wl1271_free_sta(wl, wlvif, wl_sta->hlid);
wlvif            5120 drivers/net/wireless/ti/wlcore/main.c 				   struct wl12xx_vif *wlvif)
wlvif            5126 drivers/net/wireless/ti/wlcore/main.c 	if (WARN_ON(wlvif->role_id == WL12XX_INVALID_ROLE_ID))
wlvif            5129 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_roc(wl, wlvif, wlvif->role_id, wlvif->band, wlvif->channel);
wlvif            5138 drivers/net/wireless/ti/wlcore/main.c void wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            5145 drivers/net/wireless/ti/wlcore/main.c 		if (!wlvif->ap_pending_auth_reply &&
wlvif            5146 drivers/net/wireless/ti/wlcore/main.c 		    !wlvif->inconn_count)
wlvif            5147 drivers/net/wireless/ti/wlcore/main.c 			wlcore_roc_if_possible(wl, wlvif);
wlvif            5151 drivers/net/wireless/ti/wlcore/main.c 			wlvif->inconn_count++;
wlvif            5153 drivers/net/wireless/ti/wlcore/main.c 			wlvif->ap_pending_auth_reply = true;
wlvif            5159 drivers/net/wireless/ti/wlcore/main.c 		if (WARN_ON(!wl_sta && !wlvif->ap_pending_auth_reply))
wlvif            5162 drivers/net/wireless/ti/wlcore/main.c 		if (WARN_ON(wl_sta && !wlvif->inconn_count))
wlvif            5167 drivers/net/wireless/ti/wlcore/main.c 			wlvif->inconn_count--;
wlvif            5169 drivers/net/wireless/ti/wlcore/main.c 			wlvif->ap_pending_auth_reply = false;
wlvif            5172 drivers/net/wireless/ti/wlcore/main.c 		if (!wlvif->inconn_count && !wlvif->ap_pending_auth_reply &&
wlvif            5173 drivers/net/wireless/ti/wlcore/main.c 		    test_bit(wlvif->role_id, wl->roc_map))
wlvif            5174 drivers/net/wireless/ti/wlcore/main.c 			wl12xx_croc(wl, wlvif->role_id);
wlvif            5179 drivers/net/wireless/ti/wlcore/main.c 				   struct wl12xx_vif *wlvif,
wlvif            5185 drivers/net/wireless/ti/wlcore/main.c 	bool is_ap = wlvif->bss_type == BSS_TYPE_AP_BSS;
wlvif            5186 drivers/net/wireless/ti/wlcore/main.c 	bool is_sta = wlvif->bss_type == BSS_TYPE_STA_BSS;
wlvif            5195 drivers/net/wireless/ti/wlcore/main.c 		ret = wl12xx_sta_add(wl, wlvif, sta);
wlvif            5199 drivers/net/wireless/ti/wlcore/main.c 		wlcore_update_inconn_sta(wl, wlvif, wl_sta, true);
wlvif            5207 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_sta_remove(wl, wlvif, sta);
wlvif            5209 drivers/net/wireless/ti/wlcore/main.c 		wlcore_update_inconn_sta(wl, wlvif, wl_sta, false);
wlvif            5215 drivers/net/wireless/ti/wlcore/main.c 		ret = wl12xx_cmd_set_peer_state(wl, wlvif, wl_sta->hlid);
wlvif            5220 drivers/net/wireless/ti/wlcore/main.c 		ret = wl12xx_cmd_add_peer(wl, wlvif, sta, wl_sta->hlid);
wlvif            5229 drivers/net/wireless/ti/wlcore/main.c 		wlcore_update_inconn_sta(wl, wlvif, wl_sta, false);
wlvif            5235 drivers/net/wireless/ti/wlcore/main.c 		set_bit(WLVIF_FLAG_STA_AUTHORIZED, &wlvif->flags);
wlvif            5236 drivers/net/wireless/ti/wlcore/main.c 		ret = wl12xx_set_authorized(wl, wlvif);
wlvif            5244 drivers/net/wireless/ti/wlcore/main.c 		clear_bit(WLVIF_FLAG_STA_AUTHORIZED, &wlvif->flags);
wlvif            5245 drivers/net/wireless/ti/wlcore/main.c 		clear_bit(WLVIF_FLAG_STA_STATE_SENT, &wlvif->flags);
wlvif            5252 drivers/net/wireless/ti/wlcore/main.c 		wlcore_save_freed_pkts(wl, wlvif, wlvif->sta.hlid, sta);
wlvif            5253 drivers/net/wireless/ti/wlcore/main.c 		wlvif->total_freed_pkts = 0;
wlvif            5260 drivers/net/wireless/ti/wlcore/main.c 		wlvif->total_freed_pkts = wl_sta->total_freed_pkts;
wlvif            5267 drivers/net/wireless/ti/wlcore/main.c 		if (test_bit(wlvif->role_id, wl->roc_map))
wlvif            5268 drivers/net/wireless/ti/wlcore/main.c 			wl12xx_croc(wl, wlvif->role_id);
wlvif            5276 drivers/net/wireless/ti/wlcore/main.c 			WARN_ON(wlvif->role_id == WL12XX_INVALID_ROLE_ID);
wlvif            5277 drivers/net/wireless/ti/wlcore/main.c 			wl12xx_roc(wl, wlvif, wlvif->role_id,
wlvif            5278 drivers/net/wireless/ti/wlcore/main.c 				   wlvif->band, wlvif->channel);
wlvif            5291 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            5310 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_update_sta_state(wl, wlvif, sta, old_state, new_state);
wlvif            5326 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            5348 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->bss_type == BSS_TYPE_STA_BSS) {
wlvif            5349 drivers/net/wireless/ti/wlcore/main.c 		hlid = wlvif->sta.hlid;
wlvif            5350 drivers/net/wireless/ti/wlcore/main.c 	} else if (wlvif->bss_type == BSS_TYPE_AP_BSS) {
wlvif            5373 drivers/net/wireless/ti/wlcore/main.c 		if (!wlvif->ba_support || !wlvif->ba_allowed) {
wlvif            5452 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            5463 drivers/net/wireless/ti/wlcore/main.c 		wlvif->bitrate_masks[i] =
wlvif            5471 drivers/net/wireless/ti/wlcore/main.c 	if (wlvif->bss_type == BSS_TYPE_STA_BSS &&
wlvif            5472 drivers/net/wireless/ti/wlcore/main.c 	    !test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) {
wlvif            5480 drivers/net/wireless/ti/wlcore/main.c 		wl1271_set_band_rate(wl, wlvif);
wlvif            5481 drivers/net/wireless/ti/wlcore/main.c 		wlvif->basic_rate =
wlvif            5482 drivers/net/wireless/ti/wlcore/main.c 			wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set);
wlvif            5483 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_sta_rate_policies(wl, wlvif);
wlvif            5499 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            5509 drivers/net/wireless/ti/wlcore/main.c 		if (test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags))
wlvif            5524 drivers/net/wireless/ti/wlcore/main.c 	if (test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) {
wlvif            5527 drivers/net/wireless/ti/wlcore/main.c 		ret = wl->ops->channel_switch(wl, wlvif, ch_switch);
wlvif            5531 drivers/net/wireless/ti/wlcore/main.c 		set_bit(WLVIF_FLAG_CS_PROGRESS, &wlvif->flags);
wlvif            5534 drivers/net/wireless/ti/wlcore/main.c 		delay_usec = ieee80211_tu_to_usec(wlvif->beacon_int) *
wlvif            5536 drivers/net/wireless/ti/wlcore/main.c 		ieee80211_queue_delayed_work(hw, &wlvif->channel_switch_work,
wlvif            5550 drivers/net/wireless/ti/wlcore/main.c 					struct wl12xx_vif *wlvif,
wlvif            5555 drivers/net/wireless/ti/wlcore/main.c 		ieee80211_beacon_get(wl->hw, wl12xx_wlvif_to_vif(wlvif));
wlvif            5565 drivers/net/wireless/ti/wlcore/main.c static int wlcore_get_csa_count(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            5571 drivers/net/wireless/ti/wlcore/main.c 	ie = wlcore_get_beacon_ie(wl, wlvif, WLAN_EID_CHANNEL_SWITCH);
wlvif            5586 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            5595 drivers/net/wireless/ti/wlcore/main.c 		     wlvif->role_id);
wlvif            5597 drivers/net/wireless/ti/wlcore/main.c 	ret = wlcore_get_csa_count(wl, wlvif, &ch_switch.count);
wlvif            5616 drivers/net/wireless/ti/wlcore/main.c 	ret = wl->ops->channel_switch(wl, wlvif, &ch_switch);
wlvif            5620 drivers/net/wireless/ti/wlcore/main.c 	set_bit(WLVIF_FLAG_CS_PROGRESS, &wlvif->flags);
wlvif            5643 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            5650 drivers/net/wireless/ti/wlcore/main.c 		     channel, wlvif->role_id);
wlvif            5671 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_start_dev(wl, wlvif, chan->band, channel);
wlvif            5688 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif            5695 drivers/net/wireless/ti/wlcore/main.c 	wlvif = wl12xx_vif_to_data(wl->roc_vif);
wlvif            5697 drivers/net/wireless/ti/wlcore/main.c 	if (!test_bit(WLVIF_FLAG_INITIALIZED, &wlvif->flags))
wlvif            5700 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_stop_dev(wl, wlvif);
wlvif            5777 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            5785 drivers/net/wireless/ti/wlcore/main.c 	wlvif->rc_update_bw = sta->bandwidth;
wlvif            5786 drivers/net/wireless/ti/wlcore/main.c 	memcpy(&wlvif->rc_ht_cap, &sta->ht_cap, sizeof(sta->ht_cap));
wlvif            5787 drivers/net/wireless/ti/wlcore/main.c 	ieee80211_queue_work(hw, &wlvif->rc_update_work);
wlvif            5796 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif            5813 drivers/net/wireless/ti/wlcore/main.c 	ret = wlcore_acx_average_rssi(wl, wlvif, &rssi_dbm);
wlvif            6683 drivers/net/wireless/ti/wlcore/main.c 	struct wl12xx_vif *wlvif;
wlvif            6694 drivers/net/wireless/ti/wlcore/main.c 	wl12xx_for_each_wlvif(wl, wlvif) {
wlvif            6695 drivers/net/wireless/ti/wlcore/main.c 		if (!test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags) &&
wlvif            6696 drivers/net/wireless/ti/wlcore/main.c 		    test_bit(WLVIF_FLAG_IN_USE, &wlvif->flags))
wlvif              15 drivers/net/wireless/ti/wlcore/ps.c int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              27 drivers/net/wireless/ti/wlcore/ps.c 		ret = wl1271_acx_wake_up_conditions(wl, wlvif,
wlvif              35 drivers/net/wireless/ti/wlcore/ps.c 		ret = wl1271_cmd_ps_mode(wl, wlvif, mode, timeout);
wlvif              39 drivers/net/wireless/ti/wlcore/ps.c 		set_bit(WLVIF_FLAG_IN_PS, &wlvif->flags);
wlvif              45 drivers/net/wireless/ti/wlcore/ps.c 		if ((wlvif->band == NL80211_BAND_2GHZ) &&
wlvif              46 drivers/net/wireless/ti/wlcore/ps.c 		    (wlvif->basic_rate < CONF_HW_BIT_RATE_9MBPS)) {
wlvif              47 drivers/net/wireless/ti/wlcore/ps.c 			ret = wl1271_acx_bet_enable(wl, wlvif, true);
wlvif              56 drivers/net/wireless/ti/wlcore/ps.c 		if ((wlvif->band == NL80211_BAND_2GHZ) &&
wlvif              57 drivers/net/wireless/ti/wlcore/ps.c 		    (wlvif->basic_rate < CONF_HW_BIT_RATE_9MBPS)) {
wlvif              58 drivers/net/wireless/ti/wlcore/ps.c 			ret = wl1271_acx_bet_enable(wl, wlvif, false);
wlvif              63 drivers/net/wireless/ti/wlcore/ps.c 		ret = wl1271_cmd_ps_mode(wl, wlvif, mode, 0);
wlvif              67 drivers/net/wireless/ti/wlcore/ps.c 		clear_bit(WLVIF_FLAG_IN_PS, &wlvif->flags);
wlvif             105 drivers/net/wireless/ti/wlcore/ps.c 		if (lnk->wlvif)
wlvif             106 drivers/net/wireless/ti/wlcore/ps.c 			lnk->wlvif->tx_queue_count[i] -= filtered[i];
wlvif             113 drivers/net/wireless/ti/wlcore/ps.c void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             117 drivers/net/wireless/ti/wlcore/ps.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif             119 drivers/net/wireless/ti/wlcore/ps.c 	if (WARN_ON_ONCE(wlvif->bss_type != BSS_TYPE_AP_BSS))
wlvif             122 drivers/net/wireless/ti/wlcore/ps.c 	if (!test_bit(hlid, wlvif->ap.sta_hlid_map) ||
wlvif             149 drivers/net/wireless/ti/wlcore/ps.c void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid)
wlvif             152 drivers/net/wireless/ti/wlcore/ps.c 	struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
wlvif              16 drivers/net/wireless/ti/wlcore/ps.h int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              18 drivers/net/wireless/ti/wlcore/ps.h void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              20 drivers/net/wireless/ti/wlcore/ps.h void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
wlvif              24 drivers/net/wireless/ti/wlcore/scan.c 	struct wl12xx_vif *wlvif;
wlvif              43 drivers/net/wireless/ti/wlcore/scan.c 	wlvif = wl->scan_wlvif;
wlvif              62 drivers/net/wireless/ti/wlcore/scan.c 	if (test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) {
wlvif              64 drivers/net/wireless/ti/wlcore/scan.c 		wl1271_cmd_build_ap_probe_req(wl, wlvif, wlvif->probereq);
wlvif              87 drivers/net/wireless/ti/wlcore/scan.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif              96 drivers/net/wireless/ti/wlcore/scan.c 	switch (wlvif->bss_type) {
wlvif              98 drivers/net/wireless/ti/wlcore/scan.c 		if (test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags))
wlvif             103 drivers/net/wireless/ti/wlcore/scan.c 		if (wlvif->wl->active_sta_count > 0)
wlvif             336 drivers/net/wireless/ti/wlcore/scan.c 	struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif);
wlvif             356 drivers/net/wireless/ti/wlcore/scan.c 	wl->scan_wlvif = wlvif;
wlvif             365 drivers/net/wireless/ti/wlcore/scan.c 	wl->ops->scan_start(wl, wlvif, req);
wlvif             372 drivers/net/wireless/ti/wlcore/scan.c 				 struct wl12xx_vif *wlvif,
wlvif             401 drivers/net/wireless/ti/wlcore/scan.c 	cmd->role_id = wlvif->role_id;
wlvif              21 drivers/net/wireless/ti/wlcore/scan.h void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              24 drivers/net/wireless/ti/wlcore/scan.h 				     struct wl12xx_vif *wlvif,
wlvif              27 drivers/net/wireless/ti/wlcore/scan.h int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif             161 drivers/net/wireless/ti/wlcore/scan.h 				 struct wl12xx_vif *wlvif,
wlvif              31 drivers/net/wireless/ti/wlcore/tx.c 				      struct wl12xx_vif *wlvif, u8 id)
wlvif              34 drivers/net/wireless/ti/wlcore/tx.c 	bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS);
wlvif              38 drivers/net/wireless/ti/wlcore/tx.c 						     wlvif->ap.bcast_hlid);
wlvif              40 drivers/net/wireless/ti/wlcore/tx.c 		ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid);
wlvif              76 drivers/net/wireless/ti/wlcore/tx.c 						 struct wl12xx_vif *wlvif,
wlvif              91 drivers/net/wireless/ti/wlcore/tx.c 	wl1271_acx_set_inconnection_sta(wl, wlvif, hdr->addr1);
wlvif              98 drivers/net/wireless/ti/wlcore/tx.c 	wlcore_update_inconn_sta(wl, wlvif, NULL, true);
wlvif              99 drivers/net/wireless/ti/wlcore/tx.c 	wlvif->pending_auth_reply_time = jiffies;
wlvif             100 drivers/net/wireless/ti/wlcore/tx.c 	cancel_delayed_work(&wlvif->pending_auth_complete_work);
wlvif             102 drivers/net/wireless/ti/wlcore/tx.c 				&wlvif->pending_auth_complete_work,
wlvif             107 drivers/net/wireless/ti/wlcore/tx.c 				    struct wl12xx_vif *wlvif,
wlvif             113 drivers/net/wireless/ti/wlcore/tx.c 	if (WARN_ON(!test_bit(hlid, wlvif->links_map)))
wlvif             131 drivers/net/wireless/ti/wlcore/tx.c 		wl12xx_ps_link_start(wl, wlvif, hlid, true);
wlvif             140 drivers/net/wireless/ti/wlcore/tx.c static u8 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             151 drivers/net/wireless/ti/wlcore/tx.c 		if (!test_bit(WLVIF_FLAG_AP_STARTED, &wlvif->flags))
wlvif             156 drivers/net/wireless/ti/wlcore/tx.c 			return wlvif->ap.bcast_hlid;
wlvif             158 drivers/net/wireless/ti/wlcore/tx.c 			return wlvif->ap.global_hlid;
wlvif             162 drivers/net/wireless/ti/wlcore/tx.c u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             167 drivers/net/wireless/ti/wlcore/tx.c 	if (wlvif->bss_type == BSS_TYPE_AP_BSS)
wlvif             168 drivers/net/wireless/ti/wlcore/tx.c 		return wl12xx_tx_get_hlid_ap(wl, wlvif, skb, sta);
wlvif             173 drivers/net/wireless/ti/wlcore/tx.c 		return wlvif->dev_hlid;
wlvif             176 drivers/net/wireless/ti/wlcore/tx.c 	return wlvif->sta.hlid;
wlvif             190 drivers/net/wireless/ti/wlcore/tx.c static int wl1271_tx_allocate(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             250 drivers/net/wireless/ti/wlcore/tx.c static void wl1271_tx_fill_hdr(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             280 drivers/net/wireless/ti/wlcore/tx.c 	if (is_dummy || !wlvif || wlvif->bss_type != BSS_TYPE_AP_BSS)
wlvif             299 drivers/net/wireless/ti/wlcore/tx.c 	} else if (wlvif) {
wlvif             303 drivers/net/wireless/ti/wlcore/tx.c 		    (wlvif->bss_type == BSS_TYPE_AP_BSS))
wlvif             311 drivers/net/wireless/ti/wlcore/tx.c 	if (is_dummy || !wlvif)
wlvif             313 drivers/net/wireless/ti/wlcore/tx.c 	else if (wlvif->bss_type != BSS_TYPE_AP_BSS) {
wlvif             320 drivers/net/wireless/ti/wlcore/tx.c 			rate_idx = wlvif->sta.basic_rate_idx;
wlvif             322 drivers/net/wireless/ti/wlcore/tx.c 			rate_idx = wlvif->sta.p2p_rate_idx;
wlvif             324 drivers/net/wireless/ti/wlcore/tx.c 			rate_idx = wlvif->sta.ap_rate_idx;
wlvif             326 drivers/net/wireless/ti/wlcore/tx.c 			rate_idx = wlvif->sta.basic_rate_idx;
wlvif             328 drivers/net/wireless/ti/wlcore/tx.c 		if (hlid == wlvif->ap.global_hlid)
wlvif             329 drivers/net/wireless/ti/wlcore/tx.c 			rate_idx = wlvif->ap.mgmt_rate_idx;
wlvif             330 drivers/net/wireless/ti/wlcore/tx.c 		else if (hlid == wlvif->ap.bcast_hlid ||
wlvif             337 drivers/net/wireless/ti/wlcore/tx.c 			rate_idx = wlvif->ap.bcast_rate_idx;
wlvif             339 drivers/net/wireless/ti/wlcore/tx.c 			rate_idx = wlvif->ap.ucast_rate_idx[ac];
wlvif             360 drivers/net/wireless/ti/wlcore/tx.c static int wl1271_prepare_tx_frame(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             397 drivers/net/wireless/ti/wlcore/tx.c 		if (WARN_ON(is_wep && wlvif && wlvif->default_key != idx)) {
wlvif             398 drivers/net/wireless/ti/wlcore/tx.c 			ret = wl1271_set_default_wep_key(wl, wlvif, idx);
wlvif             401 drivers/net/wireless/ti/wlcore/tx.c 			wlvif->default_key = idx;
wlvif             407 drivers/net/wireless/ti/wlcore/tx.c 	ret = wl1271_tx_allocate(wl, wlvif, skb, extra, buf_offset, hlid,
wlvif             412 drivers/net/wireless/ti/wlcore/tx.c 	wl1271_tx_fill_hdr(wl, wlvif, skb, extra, info, hlid);
wlvif             414 drivers/net/wireless/ti/wlcore/tx.c 	if (!is_dummy && wlvif && wlvif->bss_type == BSS_TYPE_AP_BSS) {
wlvif             415 drivers/net/wireless/ti/wlcore/tx.c 		wl1271_tx_ap_update_inconnection_sta(wl, wlvif, skb);
wlvif             416 drivers/net/wireless/ti/wlcore/tx.c 		wl1271_tx_regulate_link(wl, wlvif, hlid);
wlvif             468 drivers/net/wireless/ti/wlcore/tx.c 	struct wl12xx_vif *wlvif;
wlvif             470 drivers/net/wireless/ti/wlcore/tx.c 	wl12xx_for_each_wlvif(wl, wlvif) {
wlvif             472 drivers/net/wireless/ti/wlcore/tx.c 			if (wlcore_is_queue_stopped_by_reason(wl, wlvif, i,
wlvif             474 drivers/net/wireless/ti/wlcore/tx.c 			    wlvif->tx_queue_count[i] <=
wlvif             477 drivers/net/wireless/ti/wlcore/tx.c 				wlcore_wake_queue(wl, wlvif, i,
wlvif             518 drivers/net/wireless/ti/wlcore/tx.c 		if (lnk->wlvif) {
wlvif             519 drivers/net/wireless/ti/wlcore/tx.c 			WARN_ON_ONCE(lnk->wlvif->tx_queue_count[q] <= 0);
wlvif             520 drivers/net/wireless/ti/wlcore/tx.c 			lnk->wlvif->tx_queue_count[q]--;
wlvif             548 drivers/net/wireless/ti/wlcore/tx.c 						    struct wl12xx_vif *wlvif,
wlvif             556 drivers/net/wireless/ti/wlcore/tx.c 	start_hlid = (wlvif->last_tx_hlid + 1) % wl->num_links;
wlvif             563 drivers/net/wireless/ti/wlcore/tx.c 		if (!test_bit(h, wlvif->links_map))
wlvif             571 drivers/net/wireless/ti/wlcore/tx.c 		wlvif->last_tx_hlid = h;
wlvif             576 drivers/net/wireless/ti/wlcore/tx.c 		wlvif->last_tx_hlid = 0;
wlvif             578 drivers/net/wireless/ti/wlcore/tx.c 	*hlid = wlvif->last_tx_hlid;
wlvif             585 drivers/net/wireless/ti/wlcore/tx.c 	struct wl12xx_vif *wlvif = wl->last_wlvif;
wlvif             595 drivers/net/wireless/ti/wlcore/tx.c 	if (wlvif) {
wlvif             596 drivers/net/wireless/ti/wlcore/tx.c 		wl12xx_for_each_wlvif_continue(wl, wlvif) {
wlvif             597 drivers/net/wireless/ti/wlcore/tx.c 			if (!wlvif->tx_queue_count[ac])
wlvif             600 drivers/net/wireless/ti/wlcore/tx.c 			skb = wlcore_vif_dequeue_high_prio(wl, wlvif, ac, hlid,
wlvif             605 drivers/net/wireless/ti/wlcore/tx.c 			wl->last_wlvif = wlvif;
wlvif             623 drivers/net/wireless/ti/wlcore/tx.c 		wl12xx_for_each_wlvif(wl, wlvif) {
wlvif             624 drivers/net/wireless/ti/wlcore/tx.c 			if (!wlvif->tx_queue_count[ac])
wlvif             627 drivers/net/wireless/ti/wlcore/tx.c 			skb = wlcore_vif_dequeue_high_prio(wl, wlvif, ac, hlid,
wlvif             630 drivers/net/wireless/ti/wlcore/tx.c 				wl->last_wlvif = wlvif;
wlvif             635 drivers/net/wireless/ti/wlcore/tx.c 			if (wlvif == wl->last_wlvif)
wlvif             649 drivers/net/wireless/ti/wlcore/tx.c 		wl->last_wlvif = lnk->wlvif;
wlvif             650 drivers/net/wireless/ti/wlcore/tx.c 		if (lnk->wlvif)
wlvif             651 drivers/net/wireless/ti/wlcore/tx.c 			lnk->wlvif->last_tx_hlid = low_prio_hlid;
wlvif             672 drivers/net/wireless/ti/wlcore/tx.c static void wl1271_skb_queue_head(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             684 drivers/net/wireless/ti/wlcore/tx.c 		wlvif->last_tx_hlid = (hlid + wl->num_links - 1) %
wlvif             690 drivers/net/wireless/ti/wlcore/tx.c 	if (wlvif)
wlvif             691 drivers/net/wireless/ti/wlcore/tx.c 		wlvif->tx_queue_count[q]++;
wlvif             704 drivers/net/wireless/ti/wlcore/tx.c 	struct wl12xx_vif *wlvif;
wlvif             716 drivers/net/wireless/ti/wlcore/tx.c 	wl12xx_for_each_wlvif_sta(wl, wlvif) {
wlvif             719 drivers/net/wireless/ti/wlcore/tx.c 			if (test_bit(hlid, wlvif->links_map)) {
wlvif             729 drivers/net/wireless/ti/wlcore/tx.c 		if (!test_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif->flags))
wlvif             731 drivers/net/wireless/ti/wlcore/tx.c 					     &wlvif->rx_streaming_enable_work);
wlvif             733 drivers/net/wireless/ti/wlcore/tx.c 		mod_timer(&wlvif->rx_streaming_timer,
wlvif             750 drivers/net/wireless/ti/wlcore/tx.c 	struct wl12xx_vif *wlvif;
wlvif             767 drivers/net/wireless/ti/wlcore/tx.c 		wlvif = NULL;
wlvif             769 drivers/net/wireless/ti/wlcore/tx.c 			wlvif = wl12xx_vif_to_data(info->control.vif);
wlvif             773 drivers/net/wireless/ti/wlcore/tx.c 		has_data = wlvif && wl1271_tx_is_data_present(skb);
wlvif             774 drivers/net/wireless/ti/wlcore/tx.c 		ret = wl1271_prepare_tx_frame(wl, wlvif, skb, buf_offset,
wlvif             781 drivers/net/wireless/ti/wlcore/tx.c 			wl1271_skb_queue_head(wl, wlvif, skb, hlid);
wlvif             798 drivers/net/wireless/ti/wlcore/tx.c 			wl1271_skb_queue_head(wl, wlvif, skb, hlid);
wlvif             808 drivers/net/wireless/ti/wlcore/tx.c 				wl1271_skb_queue_head(wl, wlvif, skb, hlid);
wlvif             902 drivers/net/wireless/ti/wlcore/tx.c 	struct wl12xx_vif *wlvif;
wlvif             925 drivers/net/wireless/ti/wlcore/tx.c 	wlvif = wl12xx_vif_to_data(vif);
wlvif             932 drivers/net/wireless/ti/wlcore/tx.c 					  wlvif->band);
wlvif            1046 drivers/net/wireless/ti/wlcore/tx.c 		if (lnk->wlvif)
wlvif            1047 drivers/net/wireless/ti/wlcore/tx.c 			lnk->wlvif->tx_queue_count[i] -= total[i];
wlvif            1055 drivers/net/wireless/ti/wlcore/tx.c void wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif)
wlvif            1060 drivers/net/wireless/ti/wlcore/tx.c 	for_each_set_bit(i, wlvif->links_map, wl->num_links) {
wlvif            1061 drivers/net/wireless/ti/wlcore/tx.c 		if (wlvif->bss_type == BSS_TYPE_AP_BSS &&
wlvif            1062 drivers/net/wireless/ti/wlcore/tx.c 		    i != wlvif->ap.bcast_hlid && i != wlvif->ap.global_hlid) {
wlvif            1064 drivers/net/wireless/ti/wlcore/tx.c 			wl1271_free_sta(wl, wlvif, i);
wlvif            1067 drivers/net/wireless/ti/wlcore/tx.c 			wl12xx_free_link(wl, wlvif, &hlid);
wlvif            1070 drivers/net/wireless/ti/wlcore/tx.c 	wlvif->last_tx_hlid = 0;
wlvif            1073 drivers/net/wireless/ti/wlcore/tx.c 		wlvif->tx_queue_count[i] = 0;
wlvif            1197 drivers/net/wireless/ti/wlcore/tx.c void wlcore_stop_queue_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1200 drivers/net/wireless/ti/wlcore/tx.c 	int hwq = wlcore_tx_get_mac80211_queue(wlvif, queue);
wlvif            1212 drivers/net/wireless/ti/wlcore/tx.c void wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue,
wlvif            1218 drivers/net/wireless/ti/wlcore/tx.c 	wlcore_stop_queue_locked(wl, wlvif, queue, reason);
wlvif            1222 drivers/net/wireless/ti/wlcore/tx.c void wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue,
wlvif            1226 drivers/net/wireless/ti/wlcore/tx.c 	int hwq = wlcore_tx_get_mac80211_queue(wlvif, queue);
wlvif            1285 drivers/net/wireless/ti/wlcore/tx.c 				       struct wl12xx_vif *wlvif, u8 queue,
wlvif            1292 drivers/net/wireless/ti/wlcore/tx.c 	stopped = wlcore_is_queue_stopped_by_reason_locked(wl, wlvif, queue,
wlvif            1300 drivers/net/wireless/ti/wlcore/tx.c 				       struct wl12xx_vif *wlvif, u8 queue,
wlvif            1303 drivers/net/wireless/ti/wlcore/tx.c 	int hwq = wlcore_tx_get_mac80211_queue(wlvif, queue);
wlvif            1309 drivers/net/wireless/ti/wlcore/tx.c bool wlcore_is_queue_stopped_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif            1312 drivers/net/wireless/ti/wlcore/tx.c 	int hwq = wlcore_tx_get_mac80211_queue(wlvif, queue);
wlvif             201 drivers/net/wireless/ti/wlcore/tx.h int wlcore_tx_get_mac80211_queue(struct wl12xx_vif *wlvif, int queue)
wlvif             203 drivers/net/wireless/ti/wlcore/tx.h 	int mac_queue = wlvif->hw_queue_base;
wlvif             232 drivers/net/wireless/ti/wlcore/tx.h void wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif             239 drivers/net/wireless/ti/wlcore/tx.h u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             248 drivers/net/wireless/ti/wlcore/tx.h void wlcore_stop_queue_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             250 drivers/net/wireless/ti/wlcore/tx.h void wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue,
wlvif             252 drivers/net/wireless/ti/wlcore/tx.h void wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue,
wlvif             259 drivers/net/wireless/ti/wlcore/tx.h 				       struct wl12xx_vif *wlvif, u8 queue,
wlvif             263 drivers/net/wireless/ti/wlcore/tx.h 					 struct wl12xx_vif *wlvif,
wlvif             266 drivers/net/wireless/ti/wlcore/tx.h bool wlcore_is_queue_stopped_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             270 drivers/net/wireless/ti/wlcore/tx.h void wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
wlvif              64 drivers/net/wireless/ti/wlcore/wlcore.h 	int (*init_vif)(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              68 drivers/net/wireless/ti/wlcore/wlcore.h 				    struct wl12xx_vif *wlvif);
wlvif              78 drivers/net/wireless/ti/wlcore/wlcore.h 					  struct wl12xx_vif *wlvif);
wlvif              82 drivers/net/wireless/ti/wlcore/wlcore.h 	int (*scan_start)(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              84 drivers/net/wireless/ti/wlcore/wlcore.h 	int (*scan_stop)(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              85 drivers/net/wireless/ti/wlcore/wlcore.h 	int (*sched_scan_start)(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif              88 drivers/net/wireless/ti/wlcore/wlcore.h 	void (*sched_scan_stop)(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif              95 drivers/net/wireless/ti/wlcore/wlcore.h 			      struct wl12xx_vif *wlvif,
wlvif              98 drivers/net/wireless/ti/wlcore/wlcore.h 	void (*sta_rc_update)(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif             115 drivers/net/wireless/ti/wlcore/wlcore.h 	int (*set_cac)(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             117 drivers/net/wireless/ti/wlcore/wlcore.h 	int (*dfs_master_restart)(struct wl1271 *wl, struct wl12xx_vif *wlvif);
wlvif             509 drivers/net/wireless/ti/wlcore/wlcore.h void wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif             274 drivers/net/wireless/ti/wlcore/wlcore_i.h 	struct wl12xx_vif *wlvif;
wlvif             499 drivers/net/wireless/ti/wlcore/wlcore_i.h struct ieee80211_vif *wl12xx_wlvif_to_vif(struct wl12xx_vif *wlvif)
wlvif             501 drivers/net/wireless/ti/wlcore/wlcore_i.h 	return container_of((void *)wlvif, struct ieee80211_vif, drv_priv);
wlvif             504 drivers/net/wireless/ti/wlcore/wlcore_i.h static inline bool wlcore_is_p2p_mgmt(struct wl12xx_vif *wlvif)
wlvif             506 drivers/net/wireless/ti/wlcore/wlcore_i.h 	return wl12xx_wlvif_to_vif(wlvif)->type == NL80211_IFTYPE_P2P_DEVICE;
wlvif             509 drivers/net/wireless/ti/wlcore/wlcore_i.h #define wl12xx_for_each_wlvif(wl, wlvif) \
wlvif             510 drivers/net/wireless/ti/wlcore/wlcore_i.h 		list_for_each_entry(wlvif, &wl->wlvif_list, list)
wlvif             512 drivers/net/wireless/ti/wlcore/wlcore_i.h #define wl12xx_for_each_wlvif_continue(wl, wlvif) \
wlvif             513 drivers/net/wireless/ti/wlcore/wlcore_i.h 		list_for_each_entry_continue(wlvif, &wl->wlvif_list, list)
wlvif             515 drivers/net/wireless/ti/wlcore/wlcore_i.h #define wl12xx_for_each_wlvif_bss_type(wl, wlvif, _bss_type)	\
wlvif             516 drivers/net/wireless/ti/wlcore/wlcore_i.h 		wl12xx_for_each_wlvif(wl, wlvif)		\
wlvif             517 drivers/net/wireless/ti/wlcore/wlcore_i.h 			if (wlvif->bss_type == _bss_type)
wlvif             519 drivers/net/wireless/ti/wlcore/wlcore_i.h #define wl12xx_for_each_wlvif_sta(wl, wlvif)	\
wlvif             520 drivers/net/wireless/ti/wlcore/wlcore_i.h 		wl12xx_for_each_wlvif_bss_type(wl, wlvif, BSS_TYPE_STA_BSS)
wlvif             522 drivers/net/wireless/ti/wlcore/wlcore_i.h #define wl12xx_for_each_wlvif_ap(wl, wlvif)	\
wlvif             523 drivers/net/wireless/ti/wlcore/wlcore_i.h 		wl12xx_for_each_wlvif_bss_type(wl, wlvif, BSS_TYPE_AP_BSS)
wlvif             527 drivers/net/wireless/ti/wlcore/wlcore_i.h int wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif);