/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mac.c | 70 if (!sta->vif) 73 return &sta->vif->sta.wcid; 230 mt76_rx_signal(msta->vif->phy->mt76->antenna_mask, rssi); 239 struct ieee80211_vif *vif, bool enable) 241 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; 256 struct ieee80211_vif *vif; local 259 if (!msta || !msta->vif) 268 vif = container_of((void *)msta->vif, struct ieee80211_vif, 270 wdev = ieee80211_vif_to_wdev(vif); 238 mt7915_mac_enable_rtscts(struct mt7915_dev *dev, struct ieee80211_vif *vif, bool enable) argument 490 struct ieee80211_vif *vif; local 757 struct ieee80211_vif *vif = info->control.vif; local 1286 mt7915_update_vif_beacon(void *priv, u8 *mac, struct ieee80211_vif *vif) argument 1959 struct ieee80211_vif *vif; local [all...] |
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00lib.h | 143 * @vif: Interface for which the beacon should be updated. 146 struct ieee80211_vif *vif); 152 * @vif: Interface for which the beacon should be updated. 155 struct ieee80211_vif *vif); 160 * @vif: Interface for which the beacon should be updated. 163 struct ieee80211_vif *vif);
|
H A D | rt2x00config.c | 73 struct ieee80211_vif *vif = container_of(bss_conf, struct ieee80211_vif, local 92 rt2x00dev->aid = vif->cfg.assoc ? vif->cfg.aid : 0;
|
H A D | rt2x00.h | 386 static inline struct rt2x00_intf* vif_to_intf(struct ieee80211_vif *vif) argument 388 return (struct rt2x00_intf *)vif->drv_priv; 630 struct ieee80211_vif *vif, 1439 struct ieee80211_vif *vif); 1467 struct ieee80211_vif *vif); 1469 struct ieee80211_vif *vif); 1479 struct ieee80211_vif *vif, struct ieee80211_sta *sta, 1485 struct ieee80211_vif *vif, 1488 struct ieee80211_vif *vif); 1492 struct ieee80211_vif *vif, [all...] |
H A D | rt2x00dev.c | 28 struct ieee80211_vif *vif) 36 return vif->addr[5] & (rt2x00dev->ops->max_ap_intf - 1); 116 struct ieee80211_vif *vif) 119 struct rt2x00_intf *intf = vif_to_intf(vif); 132 rt2x00queue_update_beacon(rt2x00dev, vif); 169 struct ieee80211_vif *vif) 178 if (vif->type != NL80211_IFTYPE_AP) 184 skb = ieee80211_get_buffered_bc(rt2x00dev->hw, vif); 187 skb = ieee80211_get_buffered_bc(rt2x00dev->hw, vif); 192 struct ieee80211_vif *vif) 27 rt2x00lib_get_bssidx(struct rt2x00_dev *rt2x00dev, struct ieee80211_vif *vif) argument 115 rt2x00lib_intf_scheduled_iter(void *data, u8 *mac, struct ieee80211_vif *vif) argument 168 rt2x00lib_bc_buffer_iter(void *data, u8 *mac, struct ieee80211_vif *vif) argument 191 rt2x00lib_beaconupdate_iter(void *data, u8 *mac, struct ieee80211_vif *vif) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_mr.c | 24 bool (*is_regular)(const struct mlxsw_sp_mr_vif *vif); 100 static bool mlxsw_sp_mr_vif_valid(const struct mlxsw_sp_mr_vif *vif) argument 102 return vif->ops->is_regular(vif) && vif->dev && vif->rif; 105 static bool mlxsw_sp_mr_vif_exists(const struct mlxsw_sp_mr_vif *vif) argument 107 return vif->dev; 816 static bool mlxsw_sp_mr_vif4_is_regular(const struct mlxsw_sp_mr_vif *vif) argument 818 return !(vif 862 mlxsw_sp_mr_vif6_is_regular(const struct mlxsw_sp_mr_vif *vif) argument [all...] |
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | tx.c | 12 void rtw_tx_stats(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, argument 27 if (vif) { 28 rtwvif = (struct rtw_vif *)vif->drv_priv; 258 struct ieee80211_vif *vif = tx_info->control.vif; local 261 if (!vif || !vif->bss_conf.basic_rates || ignore_rate || force_lowest) 264 return __ffs(vif->bss_conf.basic_rates) + lowest_rate; 405 struct ieee80211_vif *vif = NULL; local 411 vif [all...] |
/linux-master/net/mac80211/ |
H A D | debug.h | 139 if (ieee80211_vif_is_mld(&(link)->sdata->vif)) \ 148 if (ieee80211_vif_is_mld(&(link)->sdata->vif)) \ 157 if (ieee80211_vif_is_mld(&(sdata)->vif)) \
|
H A D | mesh_plink.c | 137 if (sdata->vif.bss_conf.use_short_slot != short_slot) { 138 sdata->vif.bss_conf.use_short_slot = short_slot; 141 sdata->vif.addr, short_slot); 166 switch (sdata->vif.bss_conf.chanreq.oper.width) { 199 sdata->vif.bss_conf.chanreq.oper.width > NL80211_CHAN_WIDTH_20) 204 if (sdata->vif.bss_conf.ht_operation_mode == ht_opmode) 207 sdata->vif.bss_conf.ht_operation_mode = ht_opmode; 260 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); 261 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); 284 ieee80211_chandef_rate_flags(&sdata->vif [all...] |
H A D | debugfs_key.c | 378 if (!sdata->vif.debugfs_dir) 392 sdata->vif.debugfs_dir, buf); 404 sdata->vif.debugfs_dir, buf); 413 if (!sdata->vif.debugfs_dir) 422 sdata->vif.debugfs_dir, buf); 442 if (!sdata->vif.debugfs_dir) 451 sdata->vif.debugfs_dir, buf);
|
H A D | vht.c | 37 if (sdata->vif.type != NL80211_IFTYPE_STATION) 166 if (sdata->vif.type == NL80211_IFTYPE_STATION && 369 link_conf = rcu_dereference(sdata->vif.link_conf[link_id]); 514 link_conf = rcu_dereference(sta->sdata->vif.link_conf[link_sta->link_id]); 732 void ieee80211_update_mu_groups(struct ieee80211_vif *vif, unsigned int link_id, argument 738 link_conf = rcu_dereference(vif->link_conf[link_id]);
|
/linux-master/drivers/net/wireless/ath/wcn36xx/ |
H A D | wcn36xx.h | 185 struct wcn36xx_vif *vif; member in struct:wcn36xx_sta 325 struct wcn36xx_vif *wcn36xx_vif_to_priv(struct ieee80211_vif *vif) argument 327 return (struct wcn36xx_vif *) vif->drv_priv;
|
H A D | txrx.c | 475 struct ieee80211_vif *vif = NULL; local 477 vif = wcn36xx_priv_to_vif(vif_priv); 478 if (memcmp(vif->addr, addr, ETH_ALEN) == 0) 481 wcn36xx_warn("vif %pM not found\n", addr); 529 struct ieee80211_vif *vif = NULL; local 541 __vif_priv = sta_priv->vif; 542 vif = wcn36xx_priv_to_vif(__vif_priv); 545 if (vif->type == NL80211_IFTYPE_STATION) { 548 } else if (vif->type == NL80211_IFTYPE_AP || 549 vif [all...] |
/linux-master/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
H A D | dev.c | 261 rts_dur = ieee80211_rts_duration(dev, priv->vif, 266 rts_dur = ieee80211_ctstoself_duration(dev, priv->vif, 299 ieee80211_generic_frame_duration(dev, priv->vif, 1054 static u64 rtl8187_get_tsf(struct ieee80211_hw *dev, struct ieee80211_vif *vif) argument 1067 struct ieee80211_vif *vif = local 1078 skb = ieee80211_beacon_get(dev, vif, 0); 1087 mgmt->u.beacon.timestamp = cpu_to_le64(rtl8187_get_tsf(dev, vif)); 1100 usecs_to_jiffies(1024 * vif->bss_conf.beacon_int)); 1105 struct ieee80211_vif *vif) 1113 if (priv->vif) 1104 rtl8187_add_interface(struct ieee80211_hw *dev, struct ieee80211_vif *vif) argument 1145 rtl8187_remove_interface(struct ieee80211_hw *dev, struct ieee80211_vif *vif) argument 1251 rtl8187_bss_info_changed(struct ieee80211_hw *dev, struct ieee80211_vif *vif, struct ieee80211_bss_conf *info, u64 changed) argument 1340 rtl8187_conf_tx(struct ieee80211_hw *dev, struct ieee80211_vif *vif, unsigned int link_id, u16 queue, const struct ieee80211_tx_queue_params *params) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | mac.c | 148 mt76_rx_signal(msta->vif->phy->mt76->antenna_mask, rssi); 173 struct ieee80211_vif *vif; local 184 if (!msta || !msta->vif) 188 vif = container_of((void *)msta->vif, struct ieee80211_vif, drv_priv); 196 ether_addr_copy(hdr.addr1, vif->addr); 201 ether_addr_copy(hdr.addr3, vif->bss_conf.bssid); 732 struct ieee80211_vif *vif = info->control.vif; local 742 mvif = vif 1234 mt7925_vif_connect_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) argument [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_txrx.c | 261 struct ieee80211_vif *vif, 317 (vif && vif->bss_conf.use_cts_prot)) 347 struct ieee80211_vif *vif = tx_info->control.vif; local 358 if (vif) { 359 avp = (struct ath9k_htc_vif *) vif->drv_priv; 382 ath9k_htc_tx_data(priv, vif, skb, 406 struct ieee80211_vif *vif, 418 sta = ieee80211_find_sta(vif, hd 260 ath9k_htc_tx_data(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif, struct sk_buff *skb, u8 sta_idx, u8 vif_idx, u8 slot, bool is_cab) argument 405 ath9k_htc_check_tx_aggr(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif, struct sk_buff *skb) argument 449 struct ieee80211_vif *vif; local [all...] |
H A D | htc.h | 371 struct ieee80211_vif *vif, 374 struct ieee80211_vif *vif, int sset); 376 struct ieee80211_vif *vif, 551 struct ieee80211_vif *vif); 553 struct ieee80211_vif *vif); 555 struct ieee80211_vif *vif); 558 struct ieee80211_vif *vif);
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_mac.c | 155 if (!sta->vif) 158 return &sta->vif->sta.wcid; 163 mt792x_mac_rssi_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) argument 167 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; 173 if (!ether_addr_equal(vif->addr, hdr->addr1))
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | testmode.c | 301 struct ieee80211_vif *vif) 352 if (vif) { 353 arvif = ath11k_vif_to_arvif(vif); 475 int ath11k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif, argument 494 return ath11k_tm_cmd_wmi(ar, tb, vif); 300 ath11k_tm_cmd_wmi(struct ath11k *ar, struct nlattr *tb[], struct ieee80211_vif *vif) argument
|
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | scan.c | 454 struct ieee80211_vif *vif, 489 struct ieee80211_vif *vif, 609 static int iwlagn_request_scan(struct iwl_priv *priv, struct ieee80211_vif *vif) argument 642 if (vif) 643 ctx = iwl_rxon_ctx_from_vif(vif); 677 interval = vif->bss_conf.beacon_int; 847 vif->addr, 872 iwl_get_channel_for_reset_scan(priv, vif, band, 877 iwl_get_channels_for_scan(priv, vif, band, 922 struct ieee80211_vif *vif, 453 iwl_get_channel_for_reset_scan(struct iwl_priv *priv, struct ieee80211_vif *vif, enum nl80211_band band, struct iwl_scan_channel *scan_ch) argument 488 iwl_get_channels_for_scan(struct iwl_priv *priv, struct ieee80211_vif *vif, enum nl80211_band band, u8 is_active, u8 n_probes, struct iwl_scan_channel *scan_ch) argument 921 iwl_scan_initiate(struct iwl_priv *priv, struct ieee80211_vif *vif, enum iwl_scan_type scan_type, enum nl80211_band band) argument [all...] |
/linux-master/drivers/net/wireless/silabs/wfx/ |
H A D | data_tx.c | 245 struct ieee80211_vif *vif = wvif_to_vif(wvif); local 250 if (vif->type != NL80211_IFTYPE_AP) 423 /* control.vif can be NULL for injected frames */ 424 if (tx_info->control.vif) 425 wvif = (struct wfx_vif *)tx_info->control.vif->drv_priv; 454 pr_warn("vif associated with the skb does not exist anymore\n"); 570 void wfx_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 queues, bool drop) argument 578 if (vif) { 579 wvif = (struct wfx_vif *)vif->drv_priv;
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tx.c | 277 info->control.vif); 681 switch (info->control.vif->type) { 703 WARN_ONCE(info->control.vif->type != NL80211_IFTYPE_ADHOC, 713 WARN_ONCE(1, "Not a ctrl vif, no available queue\n"); 723 iwl_mvm_vif_from_mac80211(info->control.vif); 802 if (info.control.vif) { 804 iwl_mvm_vif_from_mac80211(info.control.vif); 806 if (info.control.vif->type == NL80211_IFTYPE_P2P_DEVICE || 807 info.control.vif->type == NL80211_IFTYPE_AP || 808 info.control.vif 1341 struct ieee80211_vif *vif; local 1432 struct ieee80211_vif *vif = mvmsta->vif; local [all...] |
H A D | rs-fw.c | 64 struct ieee80211_vif *vif, 285 rs_fw_eht_set_enabled_rates(struct ieee80211_vif *vif, argument 303 if (vif->type == NL80211_IFTYPE_AP && 366 static void rs_fw_set_supp_rates(struct ieee80211_vif *vif, argument 391 rs_fw_eht_set_enabled_rates(vif, link_sta, sband_he_cap, 584 struct ieee80211_vif *vif, 596 ieee80211_get_he_iftype_cap_vif(sband, vif); 598 ieee80211_get_eht_iftype_cap_vif(sband, vif); 604 .flags = cpu_to_le16(rs_fw_get_config_flags(mvm, vif, link_sta, 647 rs_fw_set_supp_rates(vif, link_st 63 rs_fw_get_config_flags(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_link_sta *link_sta, const struct ieee80211_sta_he_cap *sband_he_cap) argument 583 iwl_mvm_rs_fw_rate_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_bss_conf *link_conf, struct ieee80211_link_sta *link_sta, enum nl80211_band band) argument [all...] |
/linux-master/drivers/net/wireless/ath/carl9170/ |
H A D | tx.c | 112 struct ieee80211_vif *vif; local 121 vif = rcu_dereference(ar->vif_priv[vif_id].vif); 122 if (unlikely(!vif)) 135 return ieee80211_find_sta(vif, hdr->addr1); 874 struct ieee80211_vif *vif, 885 ieee80211_get_tx_rates(vif, sta, skb, 994 if (likely(info->control.vif)) 995 cvif = (void *) info->control.vif->drv_priv; 1193 carl9170_tx_get_rates(ar, tid_info->vif, 873 carl9170_tx_get_rates(struct ar9170 *ar, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct sk_buff *skb) argument 1480 struct ieee80211_vif *vif; local [all...] |
/linux-master/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523.c | 1100 static void ar5523_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, argument 1110 struct ieee80211_vif *vif) 1116 if (ar->vif) { 1121 switch (vif->type) { 1123 ar->vif = vif; 1132 struct ieee80211_vif *vif) 1137 ar->vif = NULL; 1164 sta = ieee80211_find_sta(ar->vif, bss_conf->bssid); 1201 sta = ieee80211_find_sta(ar->vif, bss_con 1109 ar5523_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1131 ar5523_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1243 ar5523_create_connection(struct ar5523 *ar, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss) argument 1265 ar5523_write_associd(struct ar5523 *ar, struct ieee80211_vif *vif) argument 1279 ar5523_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss, u64 changed) argument [all...] |