Lines Matching refs:bss_type

50 	if (WARN_ON(wlvif->bss_type != BSS_TYPE_STA_BSS))  in wl12xx_set_authorized()
960 if (wlvif->bss_type == BSS_TYPE_STA_BSS && in wl1271_recovery_work()
1669 if (wlvif->bss_type == BSS_TYPE_STA_BSS) in wl1271_configure_suspend()
1671 if (wlvif->bss_type == BSS_TYPE_AP_BSS) in wl1271_configure_suspend()
1679 bool is_ap = wlvif->bss_type == BSS_TYPE_AP_BSS; in wl1271_configure_resume()
1680 bool is_sta = wlvif->bss_type == BSS_TYPE_STA_BSS; in wl1271_configure_resume()
2176 switch (wlvif->bss_type) { in wl12xx_get_role_type()
2195 wl1271_error("invalid bss_type: %d", wlvif->bss_type); in wl12xx_get_role_type()
2214 wlvif->bss_type = BSS_TYPE_STA_BSS; in wl12xx_init_vif_data()
2217 wlvif->bss_type = BSS_TYPE_IBSS; in wl12xx_init_vif_data()
2224 wlvif->bss_type = BSS_TYPE_AP_BSS; in wl12xx_init_vif_data()
2227 wlvif->bss_type = MAX_BSS_TYPE; in wl12xx_init_vif_data()
2235 if (wlvif->bss_type == BSS_TYPE_STA_BSS || in wl12xx_init_vif_data()
2236 wlvif->bss_type == BSS_TYPE_IBSS) { in wl12xx_init_vif_data()
2494 if (wlvif->bss_type == BSS_TYPE_AP_BSS) in wlcore_allocate_hw_queue_base()
2612 if (wlvif->bss_type == BSS_TYPE_AP_BSS) in wl1271_op_add_interface()
2631 bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS); in __wl1271_op_remove_interface()
2677 if (wlvif->bss_type == BSS_TYPE_STA_BSS || in __wl1271_op_remove_interface()
2678 wlvif->bss_type == BSS_TYPE_IBSS) { in __wl1271_op_remove_interface()
2706 if (wlvif->bss_type == BSS_TYPE_STA_BSS || in __wl1271_op_remove_interface()
2707 wlvif->bss_type == BSS_TYPE_IBSS) { in __wl1271_op_remove_interface()
2833 bool is_ibss = (wlvif->bss_type == BSS_TYPE_IBSS); in wlcore_join()
2888 if (wlvif->bss_type != BSS_TYPE_STA_BSS) in wlcore_set_ssid()
2993 bool sta = wlvif->bss_type == BSS_TYPE_STA_BSS; in wlcore_unset_assoc()
3201 if (wlvif->bss_type != BSS_TYPE_AP_BSS) { in wl1271_op_configure_filter()
3220 if (wlvif->bss_type == BSS_TYPE_AP_BSS) { in wl1271_op_configure_filter()
3350 bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS); in wl1271_set_key()
3487 if (wlvif->bss_type == BSS_TYPE_AP_BSS) in wlcore_set_key()
3544 if (wlvif->bss_type == BSS_TYPE_STA_BSS && in wlcore_set_key()
4125 bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS); in wl1271_bss_beacon_info_changed()
4321 if (wlvif->bss_type == BSS_TYPE_STA_BSS && in wlcore_clear_bssid()
4339 bool is_ibss = (wlvif->bss_type == BSS_TYPE_IBSS); in wl1271_bss_info_changed_sta()
4547 WARN_ON(wlvif->bss_type != BSS_TYPE_STA_BSS); in wl1271_bss_info_changed_sta()
4587 bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS); in wl1271_op_bss_info_changed()
4687 wlvif->bss_type == BSS_TYPE_AP_BSS && in wlcore_op_change_chanctx()
4806 if (WARN_ON_ONCE(wlvif->bss_type != BSS_TYPE_AP_BSS)) in __wlcore_switch_vif_chan()
5134 bool is_ap = wlvif->bss_type == BSS_TYPE_AP_BSS; in wl12xx_update_sta_state()
5135 bool is_sta = wlvif->bss_type == BSS_TYPE_STA_BSS; in wl12xx_update_sta_state()
5296 if (wlvif->bss_type == BSS_TYPE_STA_BSS) { in wl1271_op_ampdu_action()
5298 } else if (wlvif->bss_type == BSS_TYPE_AP_BSS) { in wl1271_op_ampdu_action()
5417 if (wlvif->bss_type == BSS_TYPE_STA_BSS && in wl12xx_set_bitrate_mask()