Searched refs:vif (Results 51 - 75 of 462) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtime-event.c30 if (!te_data || !te_data->vif)
44 te_data->vif = NULL;
50 struct ieee80211_vif *vif = mvm->p2p_device_vif; local
77 if (!WARN_ON(!vif)) {
78 mvmvif = iwl_mvm_vif_from_mac80211(vif);
83 iwl_mvm_mld_rm_bcast_sta(mvm, vif,
84 &vif->bss_conf);
86 iwl_mvm_link_changed(mvm, vif, &vif->bss_conf,
90 iwl_mvm_rm_p2p_bcast_sta(mvm, vif);
183 iwl_mvm_te_check_disconnect(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const char *errmsg) argument
228 struct ieee80211_vif *vif = te_data->vif; local
543 iwl_mvm_time_event_send_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_time_event_data *te_data, struct iwl_time_event_cmd *te_cmd) argument
604 iwl_mvm_protect_session(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 min_duration, u32 max_delay, bool wait_for_notif) argument
681 iwl_mvm_get_session_prot_id(struct iwl_mvm *mvm, struct ieee80211_vif *vif, s8 link_id) argument
704 iwl_mvm_cancel_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 id, s8 link_id) argument
732 struct ieee80211_vif *vif = te_data->vif; local
852 iwl_mvm_stop_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument
892 struct ieee80211_vif *vif; local
982 iwl_mvm_roc_duration_and_delay(struct ieee80211_vif *vif, u32 duration_ms, u32 *duration_tu, u32 *delay) argument
1014 iwl_mvm_roc_add_cmd(struct iwl_mvm *mvm, struct ieee80211_channel *channel, struct ieee80211_vif *vif, int duration, u32 activity) argument
1057 iwl_mvm_start_p2p_roc_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int duration, enum ieee80211_roc_type type) argument
1098 iwl_mvm_start_p2p_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int duration, enum ieee80211_roc_type type) argument
1225 iwl_mvm_stop_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument
1280 iwl_mvm_remove_csa_period(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument
1299 iwl_mvm_schedule_csa_period(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 apply_time) argument
1372 iwl_mvm_schedule_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 min_duration, bool wait_for_notif, unsigned int link_id) argument
[all...]
H A Dmld-key.c12 struct ieee80211_vif *vif,
16 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
28 if (vif->type == NL80211_IFTYPE_AP &&
38 if (!sta && vif->type == NL80211_IFTYPE_STATION)
50 if (!sta && (keyconf->link_id >= 0 || !ieee80211_vif_is_mld(vif)))
60 struct ieee80211_vif *vif,
64 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
98 if (!sta && vif->type == NL80211_IFTYPE_STATION)
125 struct ieee80211_vif *vif,
139 cpu_to_le32(iwl_mvm_get_sec_flags(mvm, vif, st
11 iwl_mvm_get_sec_sta_mask(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf) argument
59 iwl_mvm_get_sec_flags(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf) argument
124 iwl_mvm_mld_update_sta_key(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key, void *_data) argument
153 iwl_mvm_mld_update_sta_keys(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u32 old_sta_mask, u32 new_sta_mask) argument
244 iwl_mvm_sec_key_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf) argument
296 _iwl_mvm_sec_key_del(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf, u32 flags) argument
345 iwl_mvm_sec_key_del_pasn(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 sta_mask, struct ieee80211_key_conf *keyconf) argument
360 iwl_mvm_sec_key_del(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf) argument
368 iwl_mvm_sec_key_remove_ap_iter(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key, void *data) argument
390 iwl_mvm_sec_key_remove_ap(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_vif_link_info *link, unsigned int link_id) argument
[all...]
H A Dtdls.c31 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr,
38 int iwl_mvm_tdls_sta_count(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument
53 if (vif) {
55 if (mvmsta->vif != vif)
65 static void iwl_mvm_tdls_config(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument
78 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
123 void iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif, argument
126 int tdls_sta_cnt = iwl_mvm_tdls_sta_count(mvm, vif);
139 iwl_mvm_tdls_config(mvm, vif);
146 iwl_mvm_mac_mgd_protect_tdls_discover(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id) argument
210 struct ieee80211_vif *vif; local
328 iwl_mvm_tdls_config_channel_switch(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum iwl_tdls_channel_switch_type type, const u8 *peer, bool peer_initiator, u8 oper_class, struct cfg80211_chan_def *chandef, u32 timestamp, u16 switch_time, u16 switch_timeout, struct sk_buff *skb, u32 ch_sw_tm_ie) argument
458 struct ieee80211_vif *vif; local
501 iwl_mvm_tdls_channel_switch(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u8 oper_class, struct cfg80211_chan_def *chandef, struct sk_buff *tmpl_skb, u32 ch_sw_tm_ie) argument
565 iwl_mvm_tdls_cancel_channel_switch(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
618 iwl_mvm_tdls_recv_channel_switch(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_tdls_ch_sw_params *params) argument
[all...]
H A Dftm-responder.c109 struct ieee80211_vif *vif,
114 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
166 memcpy(cmd.bssid, vif->addr, ETH_ALEN);
173 struct ieee80211_vif *vif,
218 struct ieee80211_vif *vif,
277 struct ieee80211_vif *vif,
287 ret = iwl_mvm_ftm_responder_dyn_cfg_v2(mvm, vif,
291 ret = iwl_mvm_ftm_responder_dyn_cfg_v3(mvm, vif,
304 struct ieee80211_vif *vif,
310 iwl_mvm_sec_key_del_pasn(mvm, vif, BI
108 iwl_mvm_ftm_responder_cmd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef, struct ieee80211_bss_conf *link_conf) argument
172 iwl_mvm_ftm_responder_dyn_cfg_v2(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_ftm_responder_params *params) argument
217 iwl_mvm_ftm_responder_dyn_cfg_v3(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_ftm_responder_params *params, struct iwl_mvm_pasn_hltk_data *hltk_data) argument
276 iwl_mvm_ftm_responder_dyn_cfg_cmd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_ftm_responder_params *params) argument
303 iwl_mvm_resp_del_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_pasn_sta *sta) argument
322 iwl_mvm_ftm_respoder_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 *addr, u32 cipher, u8 *tk, u32 tk_len, u8 *hltk, u32 hltk_len) argument
390 iwl_mvm_ftm_resp_remove_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 *addr) argument
408 iwl_mvm_ftm_start_responder(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf) argument
457 iwl_mvm_ftm_responder_clear(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument
468 iwl_mvm_ftm_restart_responder(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf) argument
[all...]
H A Dutils.c274 * @vif: Pointer to the ieee80211_vif structure
282 void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif, argument
297 if (vif->type != NL80211_IFTYPE_STATION)
300 mvmvif = iwl_mvm_vif_from_mac80211(vif);
321 ieee80211_request_smps(vif, link_id, smps_mode);
325 struct ieee80211_vif *vif,
333 for_each_vif_active_link(vif, link_conf, link_id)
334 iwl_mvm_update_smps(mvm, vif, req_type, smps_request,
506 struct ieee80211_vif *vif)
508 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
324 iwl_mvm_update_smps_on_active_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum iwl_mvm_smps_type_request req_type, enum ieee80211_smps_mode smps_request) argument
505 iwl_mvm_diversity_iter(void *_data, u8 *mac, struct ieee80211_vif *vif) argument
576 iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool low_latency, enum iwl_mvm_low_latency_cause cause) argument
610 iwl_mvm_ll_iter(void *_data, u8 *mac, struct ieee80211_vif *vif) argument
650 struct ieee80211_vif *vif; member in struct:iwl_bss_iter_data
654 iwl_mvm_bss_iface_iterator(void *_data, u8 *mac, struct ieee80211_vif *vif) argument
687 struct ieee80211_vif *vif; member in struct:iwl_bss_find_iter_data
691 iwl_mvm_bss_find_iface_iterator(void *_data, u8 *mac, struct ieee80211_vif *vif) argument
720 iwl_mvm_sta_iface_iterator(void *_data, u8 *mac, struct ieee80211_vif *vif) argument
745 iwl_mvm_get_wd_timeout(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool tdls, bool cmd_q) argument
800 iwl_mvm_connection_loss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const char *errmsg) argument
823 iwl_mvm_event_frame_timeout_callback(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const struct ieee80211_sta *sta, u16 tid) argument
867 iwl_mvm_tcm_iter(void *_data, u8 *mac, struct ieee80211_vif *vif) argument
911 struct ieee80211_vif *vif; local
932 iwl_mvm_uapsd_agg_disconnect(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument
966 struct ieee80211_vif *vif; local
1002 iwl_mvm_tcm_iterator(void *_data, u8 *mac, struct ieee80211_vif *vif) argument
1210 iwl_mvm_tcm_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument
1218 iwl_mvm_tcm_rm_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument
[all...]
H A Dcoex.c92 iwl_get_coex_type(struct iwl_mvm *mvm, const struct ieee80211_vif *vif) argument
109 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf);
262 struct ieee80211_vif *vif,
266 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
308 struct ieee80211_vif *vif,
311 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
314 if (!ieee80211_vif_is_mld(vif) ||
315 !iwl_mvm_vif_from_mac80211(vif)->authorized ||
319 if (!iwl_mvm_bt_coex_calculate_esr_mode(mvm, vif,
321 link_id == iwl_mvm_get_primary_link(vif)))
261 iwl_mvm_bt_coex_calculate_esr_mode(struct iwl_mvm *mvm, struct ieee80211_vif *vif, s32 link_rssi, bool primary) argument
307 iwl_mvm_bt_coex_update_link_esr(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int link_id) argument
327 iwl_mvm_bt_notif_per_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_bt_iterator_data *data, unsigned int link_id) argument
487 iwl_mvm_bt_notif_iterator(void *_data, u8 *mac, struct ieee80211_vif *vif) argument
615 iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum ieee80211_rssi_event_data rssi_event) argument
[all...]
/linux-master/drivers/net/wireless/quantenna/qtnfmac/
H A Dutil.h18 struct qtnf_sta_node *qtnf_sta_list_add(struct qtnf_vif *vif,
20 bool qtnf_sta_list_del(struct qtnf_vif *vif, const u8 *mac);
H A Dcfg80211.h13 void qtnf_cfg80211_vif_reset(struct qtnf_vif *vif);
/linux-master/drivers/net/wireless/ath/wcn36xx/
H A Dmain.c187 static inline u8 get_sta_index(struct ieee80211_vif *vif, argument
190 return NL80211_IFTYPE_STATION == vif->type ?
309 struct ieee80211_vif *vif = NULL; local
313 vif = wcn36xx_priv_to_vif(tmp);
315 if (vif->cfg.ps) /* ps allowed ? */
316 wcn36xx_pmc_enter_bmps_state(wcn, vif);
318 wcn36xx_pmc_exit_bmps_state(wcn, vif);
325 struct ieee80211_vif *vif = NULL; local
357 vif = wcn36xx_priv_to_vif(tmp);
358 wcn36xx_smd_switch_channel(wcn, vif, c
435 struct ieee80211_vif *vif = NULL; local
499 wcn36xx_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key_conf) argument
629 wcn36xx_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_scan_request *hw_req) argument
664 wcn36xx_cancel_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
680 wcn36xx_sw_scan_start(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const u8 *mac_addr) argument
698 wcn36xx_sw_scan_complete(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
799 wcn36xx_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changed) argument
980 wcn36xx_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
995 wcn36xx_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1025 wcn36xx_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
1055 wcn36xx_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
1081 struct ieee80211_vif *vif = NULL; local
1095 struct ieee80211_vif *vif = NULL; local
1133 struct ieee80211_vif *vif = NULL; local
1156 wcn36xx_set_rekey_data(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_gtk_rekey_data *data) argument
1176 wcn36xx_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params) argument
1254 wcn36xx_ipv6_addr_change(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct inet6_dev *idev) argument
1281 wcn36xx_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 queues, bool drop) argument
1334 wcn36xx_sta_statistics(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct station_info *sinfo) argument
[all...]
/linux-master/drivers/net/wireless/st/cw1200/
H A Dsta.h18 struct ieee80211_vif *vif);
20 struct ieee80211_vif *vif);
22 struct ieee80211_vif *vif,
30 int cw1200_conf_tx(struct ieee80211_hw *dev, struct ieee80211_vif *vif,
36 struct ieee80211_vif *vif, struct ieee80211_sta *sta,
41 void cw1200_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
97 int cw1200_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
99 int cw1200_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
101 void cw1200_sta_notify(struct ieee80211_hw *dev, struct ieee80211_vif *vif,
105 struct ieee80211_vif *vif,
[all...]
/linux-master/drivers/net/wireless/rsi/
H A Drsi_91x_mac80211.c234 struct ieee80211_vif *vif,
258 if (!vif->cfg.assoc)
264 if (!rsi_send_bgscan_probe_req(common, vif)) {
275 struct ieee80211_vif *vif)
454 * @vif: Pointer to the ieee80211_vif structure.
459 struct ieee80211_vif *vif)
463 struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv;
468 vif->driver_flags |= IEEE80211_VIF_SUPPORTS_UAPSD;
471 intf_mode = rsi_map_intf_mode(vif->type);
475 vif
233 rsi_mac80211_hw_scan_start(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_scan_request *hw_req) argument
274 rsi_mac80211_cancel_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
458 rsi_mac80211_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
529 rsi_mac80211_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
580 struct ieee80211_vif *vif; local
684 struct ieee80211_vif *vif, *sta_vif = NULL; local
734 rsi_get_connected_channel(struct ieee80211_vif *vif) argument
751 rsi_switch_channel(struct rsi_hw *adapter, struct ieee80211_vif *vif) argument
783 rsi_mac80211_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changed) argument
898 rsi_mac80211_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, u16 queue, const struct ieee80211_tx_queue_params *params) argument
958 rsi_hal_key_config(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_key_conf *key, struct ieee80211_sta *sta) argument
1032 rsi_mac80211_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument
1088 rsi_mac80211_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params) argument
1228 rsi_mac80211_set_rate_mask(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const struct cfg80211_bitrate_mask *mask) argument
1270 rsi_perform_cqm(struct rsi_common *common, u8 *bssid, s8 rssi, struct ieee80211_vif *vif) argument
1311 struct ieee80211_vif *vif; local
1403 rsi_mac80211_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
1519 rsi_mac80211_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
1724 struct ieee80211_vif *vif; local
1762 rsi_mac80211_roc(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_channel *chan, int duration, enum ieee80211_roc_type type) argument
1808 rsi_mac80211_cancel_roc(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1864 struct ieee80211_vif *vif = adapter->vifs[0]; local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmain.c180 struct ieee80211_vif *vif)
182 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv;
193 if (vif->type == NL80211_IFTYPE_MONITOR &&
194 is_zero_ether_addr(vif->addr))
195 phy->monitor_vif = vif;
203 idx = get_omac_idx(vif->type, dev->omac_mask);
211 mvif->mt76.wmm_idx = vif->type != NL80211_IFTYPE_AP;
235 if (vif->txq) {
236 mtxq = (struct mt76_txq *)vif->txq->drv_priv;
240 ret = mt7615_mcu_add_dev_info(phy, vif, tru
179 mt7615_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
247 mt7615_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
343 mt7615_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument
475 mt7615_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, u16 queue, const struct ieee80211_tx_queue_params *params) argument
556 mt7615_update_mu_group(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *info) argument
581 mt7615_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *info, u64 changed) argument
636 mt7615_channel_switch_beacon(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef) argument
647 mt7615_mac_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
689 mt7615_mac_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
717 mt7615_sta_rate_tbl_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
768 struct ieee80211_vif *vif = info->control.vif; local
815 mt7615_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params) argument
875 mt7615_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
883 mt7615_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
910 mt7615_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
937 mt7615_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 timestamp) argument
963 mt7615_offset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, s64 timestamp) argument
1032 mt7615_roc_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) argument
1099 mt7615_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_scan_request *req) argument
1118 mt7615_cancel_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1129 mt7615_start_sched_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument
1154 mt7615_stop_sched_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1170 mt7615_remain_on_channel(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_channel *chan, int duration, enum ieee80211_roc_type type) argument
1202 mt7615_cancel_remain_on_channel(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1221 mt7615_sta_set_decap_offload(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool enabled) argument
1316 mt7615_set_rekey_data(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_gtk_rekey_data *data) argument
[all...]
/linux-master/drivers/net/xen-netback/
H A Dcommon.h138 struct xenvif *vif; /* Parent VIF */ member in struct:xenvif_queue
221 /* This bit marks that the vif is connected */
265 struct xenvif *vif; member in struct:backend_info
339 static inline struct xenbus_device *xenvif_to_xenbus_device(struct xenvif *vif) argument
341 return to_xenbus_device(vif->dev->dev.parent);
358 void xenvif_disconnect_data(struct xenvif *vif);
359 int xenvif_connect_ctrl(struct xenvif *vif, grant_ref_t ring_ref,
361 void xenvif_disconnect_ctrl(struct xenvif *vif);
362 void xenvif_free(struct xenvif *vif);
377 void xenvif_carrier_off(struct xenvif *vif);
[all...]
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dcfg80211.c430 int wil_cid_fill_sinfo(struct wil6210_vif *vif, int cid, argument
433 struct wil6210_priv *wil = vif_to_wil(vif);
450 rc = wmi_call(wil, WMI_NOTIFY_REQ_CMDID, vif->mid, &cmd, sizeof(cmd),
464 cid, vif->mid, WIL_EXTENDED_MCS_CHECK(tx_mcs),
523 if (test_bit(wil_vif_fwconnected, vif->status)) {
539 struct wil6210_vif *vif = ndev_to_vif(ndev); local
543 int cid = wil_find_cid(wil, vif->mid, mac);
546 vif->mid);
550 rc = wil_cid_fill_sinfo(vif, cid, sinfo);
579 struct wil6210_vif *vif local
642 wil_cfg80211_validate_change_iface(struct wil6210_priv *wil, struct wil6210_vif *vif, enum nl80211_iftype new_type) argument
678 struct wil6210_vif *vif; local
749 wil_vif_prepare_stop(struct wil6210_vif *vif) argument
778 struct wil6210_vif *vif = wdev_to_vif(wil, wdev); local
828 struct wil6210_vif *vif = ndev_to_vif(ndev); local
894 struct wil6210_vif *vif = wdev_to_vif(wil, wdev); local
1034 struct wil6210_vif *vif = wdev_to_vif(wil, wdev); local
1130 struct wil6210_vif *vif = ndev_to_vif(ndev); local
1215 struct wil6210_vif *vif = ndev_to_vif(ndev); local
1390 struct wil6210_vif *vif = ndev_to_vif(ndev); local
1438 struct wil6210_vif *vif = wdev_to_vif(wil, wdev); local
1626 struct wil6210_vif *vif = ndev_to_vif(ndev); local
1700 struct wil6210_vif *vif = ndev_to_vif(ndev); local
1755 struct wil6210_vif *vif = wdev_to_vif(wil, wdev); local
1880 _wil_cfg80211_set_ies(struct wil6210_vif *vif, struct cfg80211_beacon_data *bcon) argument
1936 struct wil6210_vif *vif = ndev_to_vif(ndev); local
2033 struct wil6210_vif *vif = wil->vifs[i]; local
2086 struct wil6210_vif *vif = ndev_to_vif(ndev); local
2191 struct wil6210_vif *vif = ndev_to_vif(ndev); local
2230 struct wil6210_vif *vif = ndev_to_vif(dev); local
2254 struct wil6210_vif *vif = ndev_to_vif(dev); local
2272 struct wil6210_vif *vif = ndev_to_vif(dev); local
2316 wil_probe_client_handle(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_probe_client_req *req) argument
2331 next_probe_client(struct wil6210_vif *vif) argument
2349 struct wil6210_vif *vif = container_of(work, struct wil6210_vif, local
2363 wil_probe_client_flush(struct wil6210_vif *vif) argument
2385 struct wil6210_vif *vif = ndev_to_vif(dev); local
2416 struct wil6210_vif *vif = ndev_to_vif(dev); local
2490 struct wil6210_vif *vif = ndev_to_vif(dev); local
2541 struct wil6210_vif *vif = ndev_to_vif(dev); local
2561 struct wil6210_vif *vif = ndev_to_vif(dev); local
2871 struct wil6210_vif *vif = wdev_to_vif(wil, wdev); local
2992 struct wil6210_vif *vif = wdev_to_vif(wil, wdev); local
3104 struct wil6210_vif *vif = wdev_to_vif(wil, wdev); local
3219 struct wil6210_vif *vif = wdev_to_vif(wil, wdev); local
[all...]
H A Dmain.c242 static void wil_disconnect_cid_complete(struct wil6210_vif *vif, int cid,
247 struct wil6210_priv *wil = vif_to_wil(vif);
248 struct net_device *ndev = vif_to_ndev(vif);
249 struct wireless_dev *wdev = vif_to_wdev(vif);
259 if (vif->mid != sta->mid) {
261 vif->mid);
301 static void _wil6210_disconnect_complete(struct wil6210_vif *vif, argument
304 struct wil6210_priv *wil = vif_to_wil(vif);
309 ndev = vif_to_ndev(vif);
310 wdev = vif_to_wdev(vif);
384 wil_disconnect_cid(struct wil6210_vif *vif, int cid, u16 reason_code) argument
414 _wil6210_disconnect(struct wil6210_vif *vif, const u8 *bssid, u16 reason_code) argument
462 struct wil6210_vif *vif = container_of(work, local
613 wil_ring_init_tx(struct wil6210_vif *vif, int cid) argument
641 wil_bcast_init(struct wil6210_vif *vif) argument
661 wil_bcast_fini(struct wil6210_vif *vif) argument
676 struct wil6210_vif *vif; local
794 wil6210_disconnect(struct wil6210_vif *vif, const u8 *bssid, u16 reason_code) argument
814 wil6210_disconnect_complete(struct wil6210_vif *vif, const u8 *bssid, u16 reason_code) argument
1454 wil_abort_scan(struct wil6210_vif *vif, bool sync) argument
1490 struct wil6210_vif *vif = wil->vifs[i]; local
1548 struct wil6210_vif *vif; local
1598 struct wil6210_vif *vif; local
[all...]
H A Dwmi.c767 static void wmi_evt_ready(struct wil6210_vif *vif, int id, void *d, int len) argument
769 struct wil6210_priv *wil = vif_to_wil(vif);
815 static void wmi_evt_rx_mgmt(struct wil6210_vif *vif, int id, void *d, int len) argument
817 struct wil6210_priv *wil = vif_to_wil(vif);
902 cfg80211_rx_mgmt(vif_to_radio_wdev(wil, vif), freq, signal,
908 static void wmi_evt_tx_mgmt(struct wil6210_vif *vif, int id, void *d, int len) argument
919 static void wmi_evt_scan_complete(struct wil6210_vif *vif, int id, argument
922 struct wil6210_priv *wil = vif_to_wil(vif);
925 if (vif->scan_request) {
935 vif
952 wmi_evt_connect(struct wil6210_vif *vif, int id, void *d, int len) argument
1120 wmi_evt_disconnect(struct wil6210_vif *vif, int id, void *d, int len) argument
1165 wmi_evt_eapol_rx(struct wil6210_vif *vif, int id, void *d, int len) argument
1215 wmi_evt_ring_en(struct wil6210_vif *vif, int id, void *d, int len) argument
1263 wmi_evt_ba_status(struct wil6210_vif *vif, int id, void *d, int len) argument
1295 wmi_evt_addba_rx_req(struct wil6210_vif *vif, int id, void *d, int len) argument
1375 wmi_evt_sched_scan_result(struct wil6210_vif *vif, int id, void *d, int len) argument
1450 wil_link_stats_store_basic(struct wil6210_vif *vif, struct wmi_link_stats_basic *basic) argument
1466 wil_link_stats_store_global(struct wil6210_vif *vif, struct wmi_link_stats_global *global) argument
1474 wmi_link_stats_parse(struct wil6210_vif *vif, u64 tsf, bool has_next, void *payload, size_t payload_size) argument
1554 wmi_evt_link_stats(struct wil6210_vif *vif, int id, void *d, int len) argument
1578 wil_find_cid_ringid_sta(struct wil6210_priv *wil, struct wil6210_vif *vif, int *cid, int *ringid) argument
1621 wmi_evt_auth_status(struct wil6210_vif *vif, int id, void *d, int len) argument
1710 wmi_evt_reassoc_status(struct wil6210_vif *vif, int id, void *d, int len) argument
1839 wmi_evt_link_monitor(struct wil6210_vif *vif, int id, void *d, int len) argument
1867 wmi_evt_ignore(struct wil6210_vif *vif, int id, void *d, int len) argument
2088 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
2100 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
2113 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
2170 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
2199 wmi_pcp_start(struct wil6210_vif *vif, int bi, u8 wmi_nettype, u8 chan, u8 wmi_edmg_chan, u8 hidden_ssid, u8 is_go) argument
2262 wmi_pcp_stop(struct wil6210_vif *vif) argument
2276 wmi_set_ssid(struct wil6210_vif *vif, u8 ssid_len, const void *ssid) argument
2291 wmi_get_ssid(struct wil6210_vif *vif, u8 *ssid_len, void *ssid) argument
2321 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
2332 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
2355 wmi_p2p_cfg(struct wil6210_vif *vif, int channel, int bi) argument
2383 wmi_start_listen(struct wil6210_vif *vif) argument
2407 wmi_start_search(struct wil6210_vif *vif) argument
2431 wmi_stop_discovery(struct wil6210_vif *vif) argument
2448 wmi_del_cipher_key(struct wil6210_vif *vif, u8 key_index, const void *mac_addr, int key_usage) argument
2463 wmi_add_cipher_key(struct wil6210_vif *vif, u8 key_index, const void *mac_addr, int key_len, const void *key, int key_usage) argument
2492 wmi_set_ie(struct wil6210_vif *vif, u8 type, u16 ie_len, const void *ie) argument
2536 wmi_update_ft_ies(struct wil6210_vif *vif, u16 ie_len, const void *ie) argument
2582 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
2613 struct wil6210_vif *vif = ndev_to_vif(ndev); local
2677 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
2709 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
2743 wmi_disconnect_sta(struct wil6210_vif *vif, const u8 *mac, u16 reason, bool del_sta) argument
2939 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
2974 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
3009 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
3034 wmi_abort_scan(struct wil6210_vif *vif) argument
3048 wmi_new_sta(struct wil6210_vif *vif, const u8 *mac, u8 aid) argument
3100 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
3189 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
3301 wmi_evt_call_handler(struct wil6210_vif *vif, int id, void *d, int len) argument
3320 struct wil6210_vif *vif; local
3542 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
3587 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
3614 wmi_mgmt_tx(struct wil6210_vif *vif, const u8 *buf, size_t len) argument
3662 wmi_mgmt_tx_ext(struct wil6210_vif *vif, const u8 *buf, size_t len, u8 channel, u16 duration_ms) argument
3719 struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); local
3759 struct wil6210_vif *vif = ndev_to_vif(ndev); local
3795 struct wil6210_vif *vif = ndev_to_vif(ndev); local
3838 struct wil6210_vif *vif = ndev_to_vif(ndev); local
3877 wil_wmi_tx_desc_ring_add(struct wil6210_vif *vif, int ring_id, int cid, int tid) argument
3931 wil_wmi_bcast_desc_ring_add(struct wil6210_vif *vif, int ring_id) argument
3977 wmi_link_stats_cfg(struct wil6210_vif *vif, u32 type, u8 cid, u32 interval) argument
4015 struct wil6210_vif *vif = ndev_to_vif(ndev); local
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dmac80211.c328 struct ieee80211_vif *vif,
339 if (priv->contexts[IWL_RXON_CTX_BSS].vif != vif)
369 if (!ctx->vif || ctx->vif->type != NL80211_IFTYPE_STATION ||
424 struct ieee80211_vif *vif; local
453 /* we'll clear ctx->vif during iwlagn_prepare_restart() */
454 vif = ctx->vif;
483 ieee80211_report_wowlan_wakeup(vif,
327 iwlagn_mac_set_rekey_data(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_gtk_rekey_data *data) argument
585 iwlagn_mac_update_tkip_key(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_key_conf *keyconf, struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) argument
596 iwlagn_mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument
699 iwlagn_mac_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params) argument
773 iwlagn_mac_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
806 iwlagn_mac_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
833 iwlagn_mac_sta_state(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) argument
928 iwlagn_mac_channel_switch(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_channel_switch *ch_switch) argument
1080 iwlagn_mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 queues, bool drop) argument
1118 iwlagn_mac_event_callback(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const struct ieee80211_event *event) argument
1155 iwlagn_mac_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, u16 queue, const struct ieee80211_tx_queue_params *params) argument
1219 struct ieee80211_vif *vif = ctx->vif; local
1262 iwlagn_mac_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1347 iwl_teardown_interface(struct iwl_priv *priv, struct ieee80211_vif *vif, bool mode_change) argument
1377 iwlagn_mac_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1398 iwlagn_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum nl80211_iftype newtype, bool newp2p) argument
1481 iwlagn_mac_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_scan_request *hw_req) argument
1539 iwlagn_mac_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum sta_notify_cmd cmd, struct ieee80211_sta *sta) argument
[all...]
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dmac80211.c147 struct ieee80211_vif *vif)
150 struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv;
157 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER |
165 rtw_txq_init(rtwdev, vif->txq);
181 switch (vif->type) {
205 ether_addr_copy(rtwvif->mac_addr, vif->addr);
212 rtw_core_port_switch(rtwdev, vif);
213 rtw_recalc_lps(rtwdev, vif);
217 rtw_dbg(rtwdev, RTW_DBG_STATE, "start vif %pM on port %d\n", vif
146 rtw_ops_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
221 rtw_ops_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
250 rtw_ops_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum nl80211_iftype type, bool p2p) argument
326 struct ieee80211_vif *vif = rtwvif_to_vif(rtwvif); local
363 rtw_ops_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *conf, u64 changed) argument
451 rtw_ops_start_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument
468 rtw_ops_stop_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument
482 rtw_ops_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, u16 ac, const struct ieee80211_tx_queue_params *params) argument
502 rtw_ops_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
516 rtw_ops_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
540 rtw_ops_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument
619 rtw_ops_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params) argument
665 rtw_ops_sw_scan_start(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const u8 *mac_addr) argument
677 rtw_ops_sw_scan_complete(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
687 rtw_ops_mgd_prepare_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_prep_tx_info *info) argument
711 rtw_ops_sta_statistics(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct station_info *sinfo) argument
722 rtw_ops_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 queues, bool drop) argument
738 struct ieee80211_vif *vif; member in struct:rtw_iter_bitrate_mask_data
763 rtw_ra_mask_info_update(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, const struct cfg80211_bitrate_mask *mask) argument
775 rtw_ops_set_bitrate_mask(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const struct cfg80211_bitrate_mask *mask) argument
868 rtw_ops_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_scan_request *req) argument
892 rtw_ops_cancel_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
920 rtw_ops_sta_rc_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u32 changed) argument
[all...]
H A Dbf.h73 void rtw_bf_disassoc(struct rtw_dev *rtwdev, struct ieee80211_vif *vif,
75 void rtw_bf_assoc(struct rtw_dev *rtwdev, struct ieee80211_vif *vif,
79 void rtw_bf_cfg_sounding(struct rtw_dev *rtwdev, struct rtw_vif *vif,
84 void rtw_bf_enable_bfee_su(struct rtw_dev *rtwdev, struct rtw_vif *vif,
86 void rtw_bf_enable_bfee_mu(struct rtw_dev *rtwdev, struct rtw_vif *vif,
90 void rtw_bf_set_gid_table(struct rtw_dev *rtwdev, struct ieee80211_vif *vif,
95 static inline void rtw_chip_config_bfee(struct rtw_dev *rtwdev, struct rtw_vif *vif, argument
99 rtwdev->chip->ops->config_bfee(rtwdev, vif, bfee, enable);
103 struct ieee80211_vif *vif,
107 rtwdev->chip->ops->set_gid_table(rtwdev, vif, con
102 rtw_chip_set_gid_table(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, struct ieee80211_bss_conf *conf) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmain.c185 static void mt7915_init_bitrate_mask(struct ieee80211_vif *vif) argument
187 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv;
205 struct ieee80211_vif *vif)
207 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv;
218 if (vif->type == NL80211_IFTYPE_MONITOR &&
219 is_zero_ether_addr(vif->addr))
220 phy->monitor_vif = vif;
228 idx = get_omac_idx(vif->type, phy->omac_mask);
237 mvif->mt76.wmm_idx = vif->type != NL80211_IFTYPE_AP;
241 ret = mt7915_mcu_add_dev_info(phy, vif, tru
204 mt7915_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
284 mt7915_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
363 mt7915_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument
510 mt7915_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, u16 queue, const struct ieee80211_tx_queue_params *params) argument
587 mt7915_update_bss_color(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_he_bss_color *bss_color) argument
609 mt7915_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *info, u64 changed) argument
677 mt7915_vif_check_caps(struct mt7915_phy *phy, struct ieee80211_vif *vif) argument
695 mt7915_start_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument
717 mt7915_stop_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument
728 mt7915_channel_switch_beacon(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef) argument
739 mt7915_mac_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
777 mt7915_mac_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
807 struct ieee80211_vif *vif = info->control.vif; local
842 mt7915_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params) argument
899 mt7915_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
907 mt7915_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
963 mt7915_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
977 mt7915_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 timestamp) argument
1008 mt7915_offset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, s64 timestamp) argument
1082 mt7915_sta_statistics(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct station_info *sinfo) argument
1160 mt7915_sta_rc_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u32 changed) argument
1173 mt7915_set_bitrate_mask(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const struct cfg80211_bitrate_mask *mask) argument
1197 mt7915_sta_set_4addr(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool enabled) argument
1213 mt7915_sta_set_decap_offload(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool enabled) argument
1229 mt7915_sta_set_txpwr(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
1401 mt7915_get_et_strings(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 sset, u8 *data) argument
1414 mt7915_get_et_sset_count(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int sset) argument
1435 mt7915_get_et_stats(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ethtool_stats *stats, u64 *data) argument
1632 mt7915_net_fill_forward_path(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct net_device_path_ctx *ctx, struct net_device_path *path) argument
[all...]
/linux-master/net/mac80211/
H A Ddriver-ops.c65 if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_AP_VLAN ||
66 (sdata->vif.type == NL80211_IFTYPE_MONITOR &&
72 ret = local->ops->add_interface(&local->hw, &sdata->vif);
82 /* initially vif is not MLD */
102 ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p);
119 ieee80211_debugfs_recreate_netdev(sdata, sdata->vif.valid_links);
122 local->ops->remove_interface(&local->hw, &sdata->vif);
144 ret = local->ops->sta_state(&local->hw, &sdata->vif, &sta->sta,
178 ret = local->ops->sta_set_txpwr(&local->hw, &sdata->vif,
193 (sdata->vif
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dbeacon.c72 static void ath9k_beacon_setup(struct ath_softc *sc, struct ieee80211_vif *vif, argument
85 if (vif->bss_conf.use_short_preamble)
113 struct ieee80211_vif *vif)
118 struct ath_vif *avp = (void *)vif->drv_priv;
138 skb = ieee80211_beacon_get(hw, vif, 0);
165 skb = ieee80211_get_buffered_bc(hw, vif);
170 * 1) if there is only one vif let the cab traffic continue.
171 * 2) if there are more than one vif and we are using staggered
187 ath9k_beacon_setup(sc, vif, bf, info->control.rates[0].idx);
190 ath_tx_cabq(hw, vif, sk
112 ath9k_beacon_generate(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
195 ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif) argument
217 ath9k_beacon_remove_slot(struct ath_softc *sc, struct ieee80211_vif *vif) argument
247 struct ieee80211_vif *vif; local
363 ath9k_csa_is_finished(struct ath_softc *sc, struct ieee80211_vif *vif) argument
375 ath9k_csa_update_vif(void *data, u8 *mac, struct ieee80211_vif *vif) argument
394 struct ieee80211_vif *vif; local
586 ath9k_cache_beacon_config(struct ath_softc *sc, struct ath_chanctx *ctx, struct ieee80211_vif *vif) argument
[all...]
H A Dmain.c22 static void ath9k_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
355 struct ieee80211_vif *vif)
362 an->vif = vif;
1002 struct ieee80211_vif *vif)
1006 iter_data->primary_beacon_vif = vif;
1009 vif->type == NL80211_IFTYPE_AP)
1010 iter_data->primary_beacon_vif = vif;
1018 u8 *mac, struct ieee80211_vif *vif)
1020 struct ath_vif *avp = (struct ath_vif *)vif
354 ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta, struct ieee80211_vif *vif) argument
1001 ath9k_vif_iter_set_beacon(struct ath9k_vif_iter_data *iter_data, struct ieee80211_vif *vif) argument
1017 ath9k_vif_iter(struct ath9k_vif_iter_data *iter_data, u8 *mac, struct ieee80211_vif *vif) argument
1113 ath9k_set_assoc_state(struct ath_softc *sc, struct ieee80211_vif *vif, bool changed) argument
1148 struct ieee80211_vif *vif = NULL; local
1276 ath9k_tpc_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif) argument
1288 ath9k_set_txpower(struct ath_softc *sc, struct ieee80211_vif *vif) argument
1311 ath9k_assign_hw_queues(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1329 ath9k_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1378 ath9k_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum nl80211_iftype new_type, bool p2p) argument
1414 ath9k_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1592 ath9k_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
1617 ath9k_del_ps_key(struct ath_softc *sc, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
1632 ath9k_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
1644 ath9k_sta_state(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) argument
1691 ath9k_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum sta_notify_cmd cmd, struct ieee80211_sta *sta) argument
1713 ath9k_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, u16 queue, const struct ieee80211_tx_queue_params *params) argument
1755 ath9k_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument
1863 ath9k_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changed) argument
1945 ath9k_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1967 ath9k_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 tsf) argument
1985 ath9k_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
2002 ath9k_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params) argument
2164 ath9k_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 queues, bool drop) argument
2255 struct ieee80211_vif *vif; local
2379 ath9k_sw_scan_start(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const u8 *mac_addr) argument
2403 ath9k_sw_scan_complete(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
2435 ath9k_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_scan_request *hw_req) argument
2470 ath9k_cancel_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
2484 ath9k_remain_on_channel(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_channel *chan, int duration, enum ieee80211_roc_type type) argument
2520 ath9k_cancel_remain_on_channel(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
2612 ath9k_assign_vif_chanctx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf, struct ieee80211_chanctx_conf *conf) argument
2644 ath9k_unassign_vif_chanctx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf, struct ieee80211_chanctx_conf *conf) argument
2674 ath9k_mgd_prepare_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_prep_tx_info *info) argument
2769 ath9k_get_txpower(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int *dbm) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmain.c321 mt7925_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
323 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv;
347 ret = mt76_connac_mcu_uni_add_dev(&dev->mphy, vif, &mvif->sta.wcid,
362 mvif->sta.vif = mvif;
371 if (vif->txq) {
372 mtxq = (struct mt76_txq *)vif->txq->drv_priv;
376 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER;
384 struct ieee80211_vif *vif)
386 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv;
410 static int mt7925_abort_roc(struct mt792x_phy *phy, struct mt792x_vif *vif) argument
383 mt7925_roc_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) argument
425 mt7925_set_roc(struct mt792x_phy *phy, struct mt792x_vif *vif, struct ieee80211_channel *chan, int duration, enum mt7925_roc_req type) argument
455 mt7925_remain_on_channel(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_channel *chan, int duration, enum ieee80211_roc_type type) argument
472 mt7925_cancel_remain_on_channel(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
481 mt7925_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument
564 mt7925_pm_interface_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) argument
585 mt7925_sniffer_interface_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) argument
670 mt7925_get_rates_table(struct ieee80211_hw *hw, struct ieee80211_vif *vif, bool beacon, bool mcast) argument
698 mt7925_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *info, u64 changed) argument
757 mt7925_mac_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
803 mt7925_mac_sta_assoc(struct mt76_dev *mdev, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
828 mt7925_mac_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
872 mt7925_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params) argument
1006 mt7925_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_scan_request *req) argument
1021 mt7925_cancel_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1032 mt7925_start_sched_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument
1054 mt7925_stop_sched_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1141 mt7925_set_rekey_data(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_gtk_rekey_data *data) argument
1153 mt7925_sta_set_decap_offload(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool enabled) argument
1174 mt7925_ipv6_addr_change(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct inet6_dev *idev) argument
1266 mt7925_channel_switch_beacon(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef) argument
1278 mt7925_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, u16 queue, const struct ieee80211_tx_queue_params *params) argument
1297 mt7925_start_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument
1324 mt7925_stop_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument
1357 mt7925_ctx_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) argument
1388 mt7925_mgd_prepare_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_prep_tx_info *info) argument
1403 mt7925_mgd_complete_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_prep_tx_info *info) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c160 static void mt7996_init_bitrate_mask(struct ieee80211_vif *vif) argument
162 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv;
180 struct ieee80211_vif *vif)
182 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv;
191 if (vif->type == NL80211_IFTYPE_MONITOR &&
192 is_zero_ether_addr(vif->addr))
193 phy->monitor_vif = vif;
201 idx = get_omac_idx(vif->type, phy->omac_mask);
209 mvif->mt76.wmm_idx = vif->type != NL80211_IFTYPE_AP;
211 ret = mt7996_mcu_add_dev_info(phy, vif, tru
179 mt7996_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
262 mt7996_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
329 mt7996_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument
449 mt7996_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, u16 queue, const struct ieee80211_tx_queue_params *params) argument
525 mt7996_update_bss_color(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_he_bss_color *bss_color) argument
548 mt7996_get_rates_table(struct ieee80211_hw *hw, struct ieee80211_vif *vif, bool beacon, bool mcast) argument
578 mt7996_update_mu_group(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *info) argument
597 mt7996_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *info, u64 changed) argument
668 mt7996_channel_switch_beacon(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef) argument
679 mt7996_mac_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
712 mt7996_mac_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
742 struct ieee80211_vif *vif = info->control.vif; local
775 mt7996_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params) argument
832 mt7996_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
840 mt7996_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
891 mt7996_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
905 mt7996_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 timestamp) argument
931 mt7996_offset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, s64 timestamp) argument
1005 mt7996_sta_statistics(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct station_info *sinfo) argument
1072 mt7996_sta_rc_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u32 changed) argument
1085 mt7996_set_bitrate_mask(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const struct cfg80211_bitrate_mask *mask) argument
1109 mt7996_sta_set_4addr(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool enabled) argument
1125 mt7996_sta_set_decap_offload(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool enabled) argument
1247 mt7996_get_et_strings(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 sset, u8 *data) argument
1257 mt7996_get_et_sset_count(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int sset) argument
1278 mt7996_get_et_stats(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ethtool_stats *stats, u64 *data) argument
1433 mt7996_net_fill_forward_path(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct net_device_path_ctx *ctx, struct net_device_path *path) argument
[all...]

Completed in 326 milliseconds

1234567891011>>