Lines Matching defs:vif
86 struct ieee80211_vif *vif;
90 vif = carl9170_get_main_vif(ar);
91 if (!vif) {
97 vif->bss_conf.use_short_slot)
108 struct ieee80211_vif *vif;
112 vif = carl9170_get_main_vif(ar);
114 if (!vif) {
119 basic = (vif->bss_conf.basic_rates & 0xf);
120 basic |= (vif->bss_conf.basic_rates & 0xff0) << 4;
303 struct ieee80211_vif *vif;
315 vif = carl9170_get_main_vif(ar);
317 if (vif) {
321 switch (vif->type) {
341 WARN(1, "Unsupported operation mode %x\n", vif->type);
405 struct ieee80211_vif *vif;
410 vif = carl9170_get_main_vif(ar);
412 if (vif) {
414 mvif = (void *) vif->drv_priv;
417 ar->global_beacon_int = vif->bss_conf.beacon_int /
421 vif->bss_conf.dtim_period);
423 switch (vif->type) {
435 } else if (vif->type == NL80211_IFTYPE_STATION) {
436 ar->global_beacon_int = vif->bss_conf.beacon_int;