Lines Matching defs:vif

1100 	dtim_period = il->vif ? il->vif->bss_conf.dtim_period : 0;
1476 struct ieee80211_vif *vif)
1492 value = il->vif ? il->vif->bss_conf.beacon_int : 0;
1515 il_scan_initiate(struct il_priv *il, struct ieee80211_vif *vif)
1543 ret = il->ops->request_scan(il, vif);
1556 il_mac_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
1579 il->scan_vif = vif;
1582 ret = il_scan_initiate(il, vif);
2443 il_mac_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3629 struct ieee80211_vif *vif = il->vif;
3640 beacon_int = vif ? vif->bss_conf.beacon_int : 0;
3659 il->timing.dtim_period = vif ? (vif->bss_conf.dtim_period ? : 1) : 1;
3969 struct ieee80211_vif *vif)
3978 if (vif && vif->bss_conf.use_short_slot)
4015 IL_ERR("Unsupported interface type %d\n", il->vif->type);
4037 il_set_flags_for_band(il, il->band, il->vif);
4047 if (il->vif)
4048 memcpy(il->staging.node_addr, il->vif->addr, ETH_ALEN);
4093 ieee80211_chswitch_done(il->vif, is_success);
4483 il_mac_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
4551 il_mac_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
4558 D_MAC80211("enter: type %d, addr %pM\n", vif->type, vif->addr);
4570 reset = (il->vif == vif);
4571 if (il->vif && !reset) {
4576 il->vif = vif;
4577 il->iw_mode = vif->type;
4581 IL_WARN("Fail to set mode %d\n", vif->type);
4583 il->vif = NULL;
4597 il_teardown_interface(struct il_priv *il, struct ieee80211_vif *vif)
4601 if (il->scan_vif == vif) {
4610 il_mac_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
4615 D_MAC80211("enter: type %d, addr %pM\n", vif->type, vif->addr);
4617 WARN_ON(il->vif != vif);
4618 il->vif = NULL;
4620 il_teardown_interface(il, vif);
4706 il_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
4714 vif->type, vif->addr, newtype, newp2p);
4721 if (!il->vif || !il_is_ready_rf(il)) {
4731 vif->type = newtype;
4732 vif->p2p = false;
4734 il_teardown_interface(il, vif);
4745 void il_mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
5110 il_set_flags_for_band(il, channel->band, il->vif);
5164 il_mac_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
5170 D_MAC80211("enter: type %d, addr %pM\n", vif->type, vif->addr);
5202 il_ht_conf(struct il_priv *il, struct ieee80211_vif *vif)
5206 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf;
5221 switch (vif->type) {
5224 sta = ieee80211_find_sta(vif, bss_conf->bssid);
5262 il_set_no_assoc(struct il_priv *il, struct ieee80211_vif *vif)
5275 il_beacon_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
5280 struct sk_buff *skb = ieee80211_beacon_get(hw, vif, 0);
5314 il_mac_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
5340 if (vif->bss_conf.enable_beacon)
5383 if (vif->type == NL80211_IFTYPE_ADHOC && (changes & BSS_CHANGED_BEACON))
5384 il_beacon_update(hw, vif);
5424 il_ht_conf(il, vif);
5431 D_MAC80211("ASSOC %d\n", vif->cfg.assoc);
5432 if (vif->cfg.assoc) {
5438 il_set_no_assoc(il, vif);
5441 if (changes && il_is_associated(il) && vif->cfg.aid) {
5452 if (vif->bss_conf.enable_beacon) {
5458 il_set_no_assoc(il, vif);
5462 ret = il->ops->manage_ibss_station(il, vif,
5463 vif->cfg.ibss_joined);
5466 vif->cfg.ibss_joined ? "add" : "remove",