Lines Matching refs:vif

488 brcms_ops_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
493 if (vif->type != NL80211_IFTYPE_STATION &&
494 vif->type != NL80211_IFTYPE_AP &&
495 vif->type != NL80211_IFTYPE_ADHOC) {
498 __func__, vif->type);
503 wl->wlc->vif = vif;
506 if (vif->type == NL80211_IFTYPE_STATION)
507 brcms_c_start_station(wl->wlc, vif->addr);
508 else if (vif->type == NL80211_IFTYPE_AP)
509 brcms_c_start_ap(wl->wlc, vif->addr, vif->bss_conf.bssid,
510 vif->cfg.ssid, vif->cfg.ssid_len);
511 else if (vif->type == NL80211_IFTYPE_ADHOC)
512 brcms_c_start_adhoc(wl->wlc, vif->addr);
519 brcms_ops_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
524 wl->wlc->vif = NULL;
584 struct ieee80211_vif *vif,
595 __func__, vif->cfg.assoc ? "" : "dis");
597 brcms_c_associate_upd(wl->wlc, vif->cfg.assoc);
672 brcms_c_set_ssid(wl->wlc, vif->cfg.ssid, vif->cfg.ssid_len);
681 beacon = ieee80211_beacon_get_tim(hw, vif, &tim_offset, NULL, 0);
691 probe_resp = ieee80211_proberesp_get(hw, vif);
718 __func__, vif->cfg.ibss_joined ? "true" : "false");
724 " (implement)\n", __func__, vif->cfg.arp_addr_cnt);
769 struct ieee80211_vif *vif,
780 struct ieee80211_vif *vif)
790 brcms_ops_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
804 brcms_ops_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
824 struct ieee80211_vif *vif,
858 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
904 static void brcms_ops_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
920 static u64 brcms_ops_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
933 struct ieee80211_vif *vif, u64 tsf)
950 if (wl->wlc->vif)
951 beacon = ieee80211_beacon_get_tim(hw, wl->wlc->vif,
955 wl->wlc->vif->bss_conf.dtim_period);