Lines Matching refs:vif

1103 	dtim_period = il->vif ? il->vif->bss_conf.dtim_period : 0;
1479 struct ieee80211_vif *vif)
1495 value = il->vif ? il->vif->bss_conf.beacon_int : 0;
1518 il_scan_initiate(struct il_priv *il, struct ieee80211_vif *vif)
1546 ret = il->ops->request_scan(il, vif);
1559 il_mac_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
1582 il->scan_vif = vif;
1585 ret = il_scan_initiate(il, vif);
2446 il_mac_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3630 struct ieee80211_vif *vif = il->vif;
3641 beacon_int = vif ? vif->bss_conf.beacon_int : 0;
3660 il->timing.dtim_period = vif ? (vif->bss_conf.dtim_period ? : 1) : 1;
3970 struct ieee80211_vif *vif)
3979 if (vif && vif->bss_conf.use_short_slot)
4016 IL_ERR("Unsupported interface type %d\n", il->vif->type);
4038 il_set_flags_for_band(il, il->band, il->vif);
4048 if (il->vif)
4049 memcpy(il->staging.node_addr, il->vif->addr, ETH_ALEN);
4094 ieee80211_chswitch_done(il->vif, is_success, 0);
4484 il_mac_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
4552 il_mac_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
4559 D_MAC80211("enter: type %d, addr %pM\n", vif->type, vif->addr);
4571 reset = (il->vif == vif);
4572 if (il->vif && !reset) {
4577 il->vif = vif;
4578 il->iw_mode = vif->type;
4582 IL_WARN("Fail to set mode %d\n", vif->type);
4584 il->vif = NULL;
4598 il_teardown_interface(struct il_priv *il, struct ieee80211_vif *vif)
4602 if (il->scan_vif == vif) {
4611 il_mac_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
4616 D_MAC80211("enter: type %d, addr %pM\n", vif->type, vif->addr);
4618 WARN_ON(il->vif != vif);
4619 il->vif = NULL;
4621 il_teardown_interface(il, vif);
4707 il_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
4715 vif->type, vif->addr, newtype, newp2p);
4722 if (!il->vif || !il_is_ready_rf(il)) {
4732 vif->type = newtype;
4733 vif->p2p = false;
4735 il_teardown_interface(il, vif);
4746 void il_mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
5111 il_set_flags_for_band(il, channel->band, il->vif);
5165 il_mac_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
5171 D_MAC80211("enter: type %d, addr %pM\n", vif->type, vif->addr);
5203 il_ht_conf(struct il_priv *il, struct ieee80211_vif *vif)
5207 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf;
5222 switch (vif->type) {
5225 sta = ieee80211_find_sta(vif, bss_conf->bssid);
5263 il_set_no_assoc(struct il_priv *il, struct ieee80211_vif *vif)
5276 il_beacon_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
5281 struct sk_buff *skb = ieee80211_beacon_get(hw, vif, 0);
5315 il_mac_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
5341 if (vif->bss_conf.enable_beacon)
5384 if (vif->type == NL80211_IFTYPE_ADHOC && (changes & BSS_CHANGED_BEACON))
5385 il_beacon_update(hw, vif);
5425 il_ht_conf(il, vif);
5432 D_MAC80211("ASSOC %d\n", vif->cfg.assoc);
5433 if (vif->cfg.assoc) {
5439 il_set_no_assoc(il, vif);
5442 if (changes && il_is_associated(il) && vif->cfg.aid) {
5453 if (vif->bss_conf.enable_beacon) {
5459 il_set_no_assoc(il, vif);
5463 ret = il->ops->manage_ibss_station(il, vif,
5464 vif->cfg.ibss_joined);
5467 vif->cfg.ibss_joined ? "add" : "remove",