| /linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
| D | cfg80211.c | 146 static bool __ath6kl_cfg80211_sscan_stop(struct ath6kl_vif *vif) in __ath6kl_cfg80211_sscan_stop() argument 148 struct ath6kl *ar = vif->ar; in __ath6kl_cfg80211_sscan_stop() 150 if (!test_and_clear_bit(SCHED_SCANNING, &vif->flags)) in __ath6kl_cfg80211_sscan_stop() 153 del_timer_sync(&vif->sched_scan_timer); in __ath6kl_cfg80211_sscan_stop() 158 ath6kl_wmi_enable_sched_scan_cmd(ar->wmi, vif->fw_vif_idx, false); in __ath6kl_cfg80211_sscan_stop() 163 static void ath6kl_cfg80211_sscan_disable(struct ath6kl_vif *vif) in ath6kl_cfg80211_sscan_disable() argument 165 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_sscan_disable() 168 stopped = __ath6kl_cfg80211_sscan_stop(vif); in ath6kl_cfg80211_sscan_disable() 176 static int ath6kl_set_wpa_version(struct ath6kl_vif *vif, in ath6kl_set_wpa_version() argument 182 vif->auth_mode = NONE_AUTH; in ath6kl_set_wpa_version() [all …]
|
| D | main.c | 26 struct ath6kl_sta *ath6kl_find_sta(struct ath6kl_vif *vif, u8 *node_addr) in ath6kl_find_sta() argument 28 struct ath6kl *ar = vif->ar; in ath6kl_find_sta() 35 max_conn = (vif->nw_type == AP_NETWORK) ? AP_MAX_NUM_STA : 0; in ath6kl_find_sta() 61 static void ath6kl_add_new_sta(struct ath6kl_vif *vif, u8 *mac, u16 aid, in ath6kl_add_new_sta() argument 65 struct ath6kl *ar = vif->ar; in ath6kl_add_new_sta() 83 aggr_conn_init(vif, vif->aggr_cntxt, sta->aggr_conn); in ath6kl_add_new_sta() 351 static void ath6kl_install_static_wep_keys(struct ath6kl_vif *vif) in ath6kl_install_static_wep_keys() argument 357 if (vif->wep_key_list[index].key_len) { in ath6kl_install_static_wep_keys() 359 if (index == vif->def_txkey_index) in ath6kl_install_static_wep_keys() 362 ath6kl_wmi_addkey_cmd(vif->ar->wmi, vif->fw_vif_idx, in ath6kl_install_static_wep_keys() [all …]
|
| D | txrx.c | 103 struct ath6kl_vif *vif, in ath6kl_process_uapsdq() argument 107 struct ath6kl *ar = vif->ar; in ath6kl_process_uapsdq() 132 if (test_bit(WMM_ENABLED, &vif->flags)) { in ath6kl_process_uapsdq() 167 vif->fw_vif_idx, in ath6kl_process_uapsdq() 176 struct ath6kl_vif *vif, in ath6kl_process_psq() argument 181 struct ath6kl *ar = vif->ar; in ath6kl_process_psq() 204 vif->fw_vif_idx, in ath6kl_process_psq() 209 static bool ath6kl_powersave_ap(struct ath6kl_vif *vif, struct sk_buff *skb, in ath6kl_powersave_ap() argument 215 struct ath6kl *ar = vif->ar; in ath6kl_powersave_ap() 233 if (!test_bit(DTIM_EXPIRED, &vif->flags)) { in ath6kl_powersave_ap() [all …]
|
| D | cfg80211.h | 31 void ath6kl_cfg80211_ch_switch_notify(struct ath6kl_vif *vif, int freq, 33 void ath6kl_cfg80211_scan_complete_event(struct ath6kl_vif *vif, bool aborted); 35 void ath6kl_cfg80211_connect_event(struct ath6kl_vif *vif, u16 channel, 42 void ath6kl_cfg80211_disconnect_event(struct ath6kl_vif *vif, u8 reason, 46 void ath6kl_cfg80211_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, 55 void ath6kl_cfg80211_vif_cleanup(struct ath6kl_vif *vif); 57 void ath6kl_cfg80211_stop(struct ath6kl_vif *vif);
|
| D | wmi.c | 138 struct ath6kl_vif *vif, *found = NULL; in ath6kl_get_vif_by_index() local 145 list_for_each_entry(vif, &ar->vif_list, list) { in ath6kl_get_vif_by_index() 146 if (vif->fw_vif_idx == if_idx) { in ath6kl_get_vif_by_index() 147 found = vif; in ath6kl_get_vif_by_index() 504 int len, struct ath6kl_vif *vif) in ath6kl_wmi_remain_on_chnl_event_rx() argument 528 id = vif->last_roc_id; in ath6kl_wmi_remain_on_chnl_event_rx() 529 cfg80211_ready_on_channel(&vif->wdev, id, chan, in ath6kl_wmi_remain_on_chnl_event_rx() 537 struct ath6kl_vif *vif) in ath6kl_wmi_cancel_remain_on_chnl_event_rx() argument 562 if (vif->last_cancel_roc_id && in ath6kl_wmi_cancel_remain_on_chnl_event_rx() 563 vif->last_cancel_roc_id + 1 == vif->last_roc_id) in ath6kl_wmi_cancel_remain_on_chnl_event_rx() [all …]
|
| D | core.h | 912 void ath6kl_init_profile_info(struct ath6kl_vif *vif); 919 struct aggr_info *aggr_init(struct ath6kl_vif *vif); 920 void aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info *aggr_info, 931 struct ath6kl_sta *ath6kl_find_sta(struct ath6kl_vif *vif, u8 *node_addr); 938 void ath6kl_connect_event(struct ath6kl_vif *vif, u16 channel, 943 void ath6kl_connect_ap_mode_bss(struct ath6kl_vif *vif, u16 channel); 944 void ath6kl_connect_ap_mode_sta(struct ath6kl_vif *vif, u16 aid, u8 *mac_addr, 947 void ath6kl_disconnect_event(struct ath6kl_vif *vif, u8 reason, 950 void ath6kl_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, bool ismcast); 952 void ath6kl_scan_complete_evt(struct ath6kl_vif *vif, int status); [all …]
|
| D | init.c | 233 void ath6kl_init_profile_info(struct ath6kl_vif *vif) in ath6kl_init_profile_info() argument 235 vif->ssid_len = 0; in ath6kl_init_profile_info() 236 memset(vif->ssid, 0, sizeof(vif->ssid)); in ath6kl_init_profile_info() 238 vif->dot11_auth_mode = OPEN_AUTH; in ath6kl_init_profile_info() 239 vif->auth_mode = NONE_AUTH; in ath6kl_init_profile_info() 240 vif->prwise_crypto = NONE_CRYPT; in ath6kl_init_profile_info() 241 vif->prwise_crypto_len = 0; in ath6kl_init_profile_info() 242 vif->grp_crypto = NONE_CRYPT; in ath6kl_init_profile_info() 243 vif->grp_crypto_len = 0; in ath6kl_init_profile_info() 244 memset(vif->wep_key_list, 0, sizeof(vif->wep_key_list)); in ath6kl_init_profile_info() [all …]
|
| D | debug.c | 101 int ath6kl_read_tgt_stats(struct ath6kl *ar, struct ath6kl_vif *vif) in ath6kl_read_tgt_stats() argument 108 set_bit(STATS_UPDATE_PEND, &vif->flags); in ath6kl_read_tgt_stats() 117 &vif->flags), WMI_TIMEOUT); in ath6kl_read_tgt_stats() 569 struct ath6kl_vif *vif; in read_file_tgt_stats() local 577 vif = ath6kl_vif_first(ar); in read_file_tgt_stats() 578 if (!vif) in read_file_tgt_stats() 585 rv = ath6kl_read_tgt_stats(ar, vif); in read_file_tgt_stats() 591 tgt_stats = &vif->target_stats; in read_file_tgt_stats() 1395 struct ath6kl_vif *vif; in ath6kl_create_qos_write() local 1403 vif = ath6kl_vif_first(ar); in ath6kl_create_qos_write() [all …]
|
| D | debug.h | 62 int ath6kl_read_tgt_stats(struct ath6kl *ar, struct ath6kl_vif *vif);
|
| /linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
| D | mac-ctxt.c | 85 struct ieee80211_vif *vif; member 98 struct ieee80211_vif *vif) in iwl_mvm_mac_tsf_id_iter() argument 101 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_tsf_id_iter() 105 if (vif == data->vif) in iwl_mvm_mac_tsf_id_iter() 124 switch (data->vif->type) { in iwl_mvm_mac_tsf_id_iter() 134 if (vif->type != NL80211_IFTYPE_AP || in iwl_mvm_mac_tsf_id_iter() 139 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter() 140 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter() 145 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter() 146 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter() [all …]
|
| D | power.c | 116 struct ieee80211_vif *vif, in iwl_mvm_beacon_filter_set_cqm_params() argument 120 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_beacon_filter_set_cqm_params() 122 if (vif->bss_conf.cqm_rssi_thold && !d0i3) { in iwl_mvm_beacon_filter_set_cqm_params() 124 cpu_to_le32(vif->bss_conf.cqm_rssi_hyst); in iwl_mvm_beacon_filter_set_cqm_params() 127 cpu_to_le32(-vif->bss_conf.cqm_rssi_thold); in iwl_mvm_beacon_filter_set_cqm_params() 170 struct ieee80211_vif *vif, in iwl_mvm_power_configure_uapsd() argument 173 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_configure_uapsd() 263 struct ieee80211_vif *vif) in iwl_mvm_power_allow_uapsd() argument 265 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_allow_uapsd() 267 if (!memcmp(mvmvif->uapsd_misbehaving_bssid, vif->bss_conf.bssid, in iwl_mvm_power_allow_uapsd() [all …]
|
| D | mac80211.c | 781 iwl_mvm_ampdu_check_trigger(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_ampdu_check_trigger() argument 794 if (!iwl_fw_dbg_trigger_check_stop(mvm, vif, trig)) in iwl_mvm_ampdu_check_trigger() 828 struct ieee80211_vif *vif, in iwl_mvm_mac_ampdu_action() argument 886 ret = iwl_mvm_sta_tx_agg_start(mvm, vif, sta, tid, ssn); in iwl_mvm_mac_ampdu_action() 889 ret = iwl_mvm_sta_tx_agg_stop(mvm, vif, sta, tid); in iwl_mvm_mac_ampdu_action() 893 ret = iwl_mvm_sta_tx_agg_flush(mvm, vif, sta, tid); in iwl_mvm_mac_ampdu_action() 896 ret = iwl_mvm_sta_tx_agg_oper(mvm, vif, sta, tid, buf_size); in iwl_mvm_mac_ampdu_action() 910 iwl_mvm_ampdu_check_trigger(mvm, vif, sta, tid, in iwl_mvm_mac_ampdu_action() 926 struct ieee80211_vif *vif) in iwl_mvm_cleanup_iterator() argument 929 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_cleanup_iterator() [all …]
|
| D | sta.h | 324 struct ieee80211_vif *vif; member 354 struct ieee80211_vif *vif, 357 struct ieee80211_vif *vif, 360 struct ieee80211_vif *vif, 363 struct ieee80211_vif *vif, 366 struct ieee80211_vif *vif, 371 struct ieee80211_vif *vif, 376 struct ieee80211_vif *vif, 387 int iwl_mvm_sta_tx_agg_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, 389 int iwl_mvm_sta_tx_agg_oper(struct iwl_mvm *mvm, struct ieee80211_vif *vif, [all …]
|
| D | tdls.c | 88 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers() 95 int iwl_mvm_tdls_sta_count(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_tdls_sta_count() argument 110 if (vif) { in iwl_mvm_tdls_sta_count() 112 if (mvmsta->vif != vif) in iwl_mvm_tdls_sta_count() 122 static void iwl_mvm_tdls_config(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_tdls_config() argument 135 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_tdls_config() 180 void iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_recalc_tdls_state() argument 183 int tdls_sta_cnt = iwl_mvm_tdls_sta_count(mvm, vif); in iwl_mvm_recalc_tdls_state() 190 iwl_mvm_tdls_config(mvm, vif); in iwl_mvm_recalc_tdls_state() 198 struct ieee80211_vif *vif) in iwl_mvm_mac_mgd_protect_tdls_discover() argument [all …]
|
| D | binding.c | 118 struct ieee80211_vif *vif) in iwl_mvm_iface_iterator() argument 121 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_iface_iterator() 123 if (vif == data->ignore_vif) in iwl_mvm_iface_iterator() 138 struct ieee80211_vif *vif, in iwl_mvm_binding_update() argument 142 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_binding_update() 144 .ignore_vif = vif, in iwl_mvm_binding_update() 179 int iwl_mvm_binding_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_binding_add_vif() argument 181 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_binding_add_vif() 190 if (iwl_mvm_sf_update(mvm, vif, false)) in iwl_mvm_binding_add_vif() 193 return iwl_mvm_binding_update(mvm, vif, mvmvif->phy_ctxt, true); in iwl_mvm_binding_add_vif() [all …]
|
| D | time-event.c | 89 if (!te_data->vif) in iwl_mvm_te_clear_data() 96 te_data->vif = NULL; in iwl_mvm_te_clear_data() 183 struct ieee80211_vif *vif, in iwl_mvm_te_check_disconnect() argument 186 if (vif->type != NL80211_IFTYPE_STATION) in iwl_mvm_te_check_disconnect() 188 if (vif->bss_conf.assoc && vif->bss_conf.dtim_period) in iwl_mvm_te_check_disconnect() 193 iwl_mvm_connection_loss(mvm, vif, errmsg); in iwl_mvm_te_check_disconnect() 202 struct ieee80211_vif *vif = te_data->vif; in iwl_mvm_te_handle_notify_csa() local 203 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_te_handle_notify_csa() 208 switch (te_data->vif->type) { in iwl_mvm_te_handle_notify_csa() 216 iwl_mvm_connection_loss(mvm, vif, in iwl_mvm_te_handle_notify_csa() [all …]
|
| D | debugfs-vif.c | 70 struct ieee80211_vif *vif, in iwl_dbgfs_update_pm() argument 73 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_update_pm() 80 int dtimper = vif->bss_conf.dtim_period ?: 1; in iwl_dbgfs_update_pm() 81 int dtimper_msec = dtimper * vif->bss_conf.beacon_int; in iwl_dbgfs_update_pm() 131 static ssize_t iwl_dbgfs_pm_params_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_pm_params_write() argument 134 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_pm_params_write() 187 iwl_dbgfs_update_pm(mvm, vif, param, val); in iwl_dbgfs_pm_params_write() 198 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_tx_pwr_lmt_read() local 204 vif->bss_conf.txpower); in iwl_dbgfs_tx_pwr_lmt_read() 213 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_pm_params_read() local [all …]
|
| D | mvm.h | 175 struct ieee80211_vif *vif; member 449 iwl_mvm_vif_from_mac80211(struct ieee80211_vif *vif) in iwl_mvm_vif_from_mac80211() argument 451 return (void *)vif->drv_priv; in iwl_mvm_vif_from_mac80211() 1139 int iwl_mvm_mac_ctxt_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif); 1140 void iwl_mvm_mac_ctxt_release(struct iwl_mvm *mvm, struct ieee80211_vif *vif); 1141 int iwl_mvm_mac_ctxt_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif); 1142 int iwl_mvm_mac_ctxt_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif, 1144 int iwl_mvm_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif); 1145 u32 iwl_mvm_mac_get_queues_mask(struct ieee80211_vif *vif); 1147 struct ieee80211_vif *vif); [all …]
|
| D | d3.c | 78 struct ieee80211_vif *vif, in iwl_mvm_set_rekey_data() argument 82 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_rekey_data() 100 struct ieee80211_vif *vif, in iwl_mvm_ipv6_addr_change() argument 103 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_ipv6_addr_change() 121 struct ieee80211_vif *vif, int idx) in iwl_mvm_set_default_unicast_key() argument 123 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_default_unicast_key() 144 struct ieee80211_vif *vif, in iwl_mvm_wowlan_program_keys() argument 150 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_wowlan_program_keys() 261 ieee80211_get_tkip_rx_p1k(key, vif->bss_conf.bssid, in iwl_mvm_wowlan_program_keys() 264 ieee80211_get_tkip_rx_p1k(key, vif->bss_conf.bssid, in iwl_mvm_wowlan_program_keys() [all …]
|
| D | sta.c | 262 struct ieee80211_vif *vif, in iwl_mvm_add_sta() argument 265 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_sta() 273 ieee80211_vif_type_p2p(vif)); in iwl_mvm_add_sta() 280 if (vif->type == NL80211_IFTYPE_AP) { in iwl_mvm_add_sta() 282 iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); in iwl_mvm_add_sta() 290 mvm_sta->vif = vif; in iwl_mvm_add_sta() 307 if (vif->hw_queue[i] != IEEE80211_INVAL_HW_QUEUE) in iwl_mvm_add_sta() 308 mvm_sta->tfd_queue_msk |= BIT(vif->hw_queue[i]); in iwl_mvm_add_sta() 323 if (vif->type == NL80211_IFTYPE_STATION) { in iwl_mvm_add_sta() 342 struct ieee80211_vif *vif, in iwl_mvm_update_sta() argument [all …]
|
| D | tof.c | 110 struct ieee80211_vif *vif) in iwl_tof_iterator() argument 115 if (ieee80211_vif_type_p2p(vif) != NL80211_IFTYPE_STATION) in iwl_tof_iterator() 171 struct ieee80211_vif *vif) in iwl_mvm_tof_responder_cmd() argument 174 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_tof_responder_cmd() 181 if (vif->p2p || vif->type != NL80211_IFTYPE_AP || in iwl_mvm_tof_responder_cmd() 188 memcpy(cmd->bssid, vif->addr, ETH_ALEN); in iwl_mvm_tof_responder_cmd() 196 struct ieee80211_vif *vif) in iwl_mvm_tof_range_request_cmd() argument 210 if (ieee80211_vif_type_p2p(vif) != NL80211_IFTYPE_STATION) { in iwl_mvm_tof_range_request_cmd() 230 struct ieee80211_vif *vif) in iwl_mvm_tof_range_request_ext_cmd() argument 237 if (ieee80211_vif_type_p2p(vif) != NL80211_IFTYPE_STATION) { in iwl_mvm_tof_range_request_ext_cmd()
|
| D | coex.c | 361 iwl_get_coex_type(struct iwl_mvm *mvm, const struct ieee80211_vif *vif) in iwl_get_coex_type() argument 378 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_get_coex_type() 504 struct ieee80211_vif *vif, in iwl_mvm_bt_coex_enable_rssi_event() argument 507 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_bt_coex_enable_rssi_event() 518 struct ieee80211_vif *vif) in iwl_mvm_bt_notif_iterator() argument 520 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_bt_notif_iterator() 531 switch (vif->type) { in iwl_mvm_bt_notif_iterator() 542 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_bt_notif_iterator() 547 if (vif->type == NL80211_IFTYPE_STATION) { in iwl_mvm_bt_notif_iterator() 549 iwl_mvm_update_smps(mvm, vif, IWL_MVM_SMPS_REQ_BT_COEX, in iwl_mvm_bt_notif_iterator() [all …]
|
| D | offloading.c | 87 struct ieee80211_vif *vif, in iwl_mvm_send_proto_offload() argument 107 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_send_proto_offload() 154 memcpy(nsc[j].target_mac_addr, vif->addr, ETH_ALEN); in iwl_mvm_send_proto_offload() 164 memcpy(cmd.v2.ndp_mac_addr, vif->addr, ETH_ALEN); in iwl_mvm_send_proto_offload() 178 memcpy(cmd.v1.ndp_mac_addr, vif->addr, ETH_ALEN); in iwl_mvm_send_proto_offload() 206 if (vif->bss_conf.arp_addr_cnt) { in iwl_mvm_send_proto_offload() 208 common->host_ipv4_addr = vif->bss_conf.arp_addr_list[0]; in iwl_mvm_send_proto_offload() 209 memcpy(common->arp_mac_addr, vif->addr, ETH_ALEN); in iwl_mvm_send_proto_offload()
|
| D | coex_legacy.c | 560 iwl_get_coex_type(struct iwl_mvm *mvm, const struct ieee80211_vif *vif) in iwl_get_coex_type() argument 576 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_get_coex_type() 827 struct ieee80211_vif *vif, in iwl_mvm_bt_coex_enable_rssi_event() argument 830 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_bt_coex_enable_rssi_event() 841 struct ieee80211_vif *vif) in iwl_mvm_bt_notif_iterator() argument 843 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_bt_notif_iterator() 853 switch (vif->type) { in iwl_mvm_bt_notif_iterator() 866 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_bt_notif_iterator() 871 if (vif->type == NL80211_IFTYPE_STATION) { in iwl_mvm_bt_notif_iterator() 873 iwl_mvm_update_smps(mvm, vif, IWL_MVM_SMPS_REQ_BT_COEX, in iwl_mvm_bt_notif_iterator() [all …]
|
| D | time-event.h | 140 struct ieee80211_vif *vif, 155 struct ieee80211_vif *vif); 180 int iwl_mvm_start_p2p_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, 231 struct ieee80211_vif *vif,
|
| D | utils.c | 839 void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_update_smps() argument 853 if (vif->type == NL80211_IFTYPE_AP) in iwl_mvm_update_smps() 858 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_update_smps() 869 ieee80211_request_smps(vif, smps_mode); in iwl_mvm_update_smps() 907 struct ieee80211_vif *vif) in iwl_mvm_diversity_iter() argument 909 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_diversity_iter() 939 int iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_update_low_latency() argument 942 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_update_low_latency() 961 static void iwl_mvm_ll_iter(void *_data, u8 *mac, struct ieee80211_vif *vif) in iwl_mvm_ll_iter() argument 965 if (iwl_mvm_vif_low_latency(iwl_mvm_vif_from_mac80211(vif))) in iwl_mvm_ll_iter() [all …]
|
| D | tof.h | 85 struct ieee80211_vif *vif); 89 struct ieee80211_vif *vif); 92 struct ieee80211_vif *vif);
|
| D | sf.c | 80 struct ieee80211_vif *vif) in iwl_mvm_bound_iface_iterator() argument 83 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_bound_iface_iterator() 85 if (vif == data->ignore_vif || !mvmvif->phy_ctxt || in iwl_mvm_bound_iface_iterator() 86 vif->type == NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_bound_iface_iterator() 91 if (vif->type == NL80211_IFTYPE_STATION) { in iwl_mvm_bound_iface_iterator() 93 if (vif->bss_conf.assoc) in iwl_mvm_bound_iface_iterator()
|
| D | rx.c | 243 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum() 366 iwl_fw_dbg_trigger_check_stop(mvm, mvmsta->vif, in iwl_mvm_rx_rx_mpdu() 459 struct ieee80211_vif *vif) in iwl_mvm_stat_iterator() argument 465 int thold = vif->bss_conf.cqm_rssi_thold; in iwl_mvm_stat_iterator() 466 int hyst = vif->bss_conf.cqm_rssi_hyst; in iwl_mvm_stat_iterator() 468 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_stat_iterator() 484 if (vif->type != NL80211_IFTYPE_STATION) in iwl_mvm_stat_iterator() 504 iwl_mvm_bt_rssi_event(mvm, vif, RSSI_EVENT_HIGH); in iwl_mvm_stat_iterator() 511 iwl_mvm_bt_rssi_event(mvm, vif, RSSI_EVENT_LOW); in iwl_mvm_stat_iterator() 515 if (!(vif->driver_flags & IEEE80211_VIF_SUPPORTS_CQM_RSSI)) in iwl_mvm_stat_iterator() [all …]
|
| D | ops.c | 1033 struct ieee80211_vif *vif, in iwl_mvm_disallow_offloading() argument 1036 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_disallow_offloading() 1042 if (WARN_ON(vif->type != NL80211_IFTYPE_STATION || in iwl_mvm_disallow_offloading() 1085 struct ieee80211_vif *vif) in iwl_mvm_enter_d0i3_iterator() argument 1089 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_enter_d0i3_iterator() 1092 IWL_DEBUG_RPM(mvm, "entering D0i3 - vif %pM\n", vif->addr); in iwl_mvm_enter_d0i3_iterator() 1093 if (vif->type != NL80211_IFTYPE_STATION || in iwl_mvm_enter_d0i3_iterator() 1094 !vif->bss_conf.assoc) in iwl_mvm_enter_d0i3_iterator() 1102 if (iwl_mvm_disallow_offloading(mvm, vif, data)) in iwl_mvm_enter_d0i3_iterator() 1105 iwl_mvm_update_d0i3_power_mode(mvm, vif, true, flags); in iwl_mvm_enter_d0i3_iterator() [all …]
|
| D | scan.c | 193 struct ieee80211_vif *vif) in iwl_mvm_scan_condition_iterator() argument 195 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_scan_condition_iterator() 198 if (vif->type != NL80211_IFTYPE_P2P_DEVICE && mvmvif->phy_ctxt && in iwl_mvm_scan_condition_iterator() 210 struct ieee80211_vif *vif, in iwl_mvm_get_scan_type() argument 228 vif->type != NL80211_IFTYPE_P2P_DEVICE && in iwl_mvm_get_scan_type() 645 iwl_mvm_build_scan_probe(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_build_scan_probe() argument 664 memcpy(frame->sa, vif->addr, ETH_ALEN); in iwl_mvm_build_scan_probe() 740 struct ieee80211_vif *vif) in iwl_mvm_scan_use_ebs() argument 752 vif->type != NL80211_IFTYPE_P2P_DEVICE); in iwl_mvm_scan_use_ebs() 785 static int iwl_mvm_scan_lmac(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_scan_lmac() argument [all …]
|
| D | tx.c | 367 (!info->control.vif || in iwl_mvm_tx_skb_non_sta() 368 info->hw_queue != info->control.vif->cab_queue))) in iwl_mvm_tx_skb_non_sta() 378 info->control.vif->type == NL80211_IFTYPE_STATION) in iwl_mvm_tx_skb_non_sta() 391 if (info->control.vif) { in iwl_mvm_tx_skb_non_sta() 393 iwl_mvm_vif_from_mac80211(info->control.vif); in iwl_mvm_tx_skb_non_sta() 395 if (info->control.vif->type == NL80211_IFTYPE_P2P_DEVICE || in iwl_mvm_tx_skb_non_sta() 396 info->control.vif->type == NL80211_IFTYPE_AP) in iwl_mvm_tx_skb_non_sta() 398 else if (info->control.vif->type == NL80211_IFTYPE_STATION && in iwl_mvm_tx_skb_non_sta() 541 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_check_ratid_empty() local 565 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_check_ratid_empty() [all …]
|
| D | phy-ctxt.c | 272 struct ieee80211_vif *vif) in iwl_mvm_binding_iterator() argument 275 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_binding_iterator() 280 if (vif->type == NL80211_IFTYPE_STATION || in iwl_mvm_binding_iterator() 281 vif->type == NL80211_IFTYPE_AP) in iwl_mvm_binding_iterator()
|
| D | quota.c | 82 struct ieee80211_vif *vif) in iwl_mvm_quota_iterator() argument 85 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_quota_iterator() 89 if (vif == data->disabled_vif) in iwl_mvm_quota_iterator() 104 switch (vif->type) { in iwl_mvm_quota_iterator() 106 if (vif->bss_conf.assoc) in iwl_mvm_quota_iterator()
|
| D | tt.c | 277 struct ieee80211_vif *vif) in iwl_mvm_tt_smps_iterator() argument 289 if (vif->type != NL80211_IFTYPE_STATION) in iwl_mvm_tt_smps_iterator() 292 iwl_mvm_update_smps(mvm, vif, IWL_MVM_SMPS_REQ_TT, smps_mode); in iwl_mvm_tt_smps_iterator()
|
| D | Makefile | 7 iwlmvm-$(CONFIG_IWLWIFI_DEBUGFS) += debugfs.o debugfs-vif.o
|
| D | rs.c | 179 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in rs_mimo_allow() 1379 if (!iwl_mvm_sta_from_mac80211(sta)->vif) in rs_mac80211_tx_status() 1984 static bool rs_tpc_allowed(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in rs_tpc_allowed() argument 1989 bool sta_ps_disabled = (vif->type == NL80211_IFTYPE_STATION && in rs_tpc_allowed() 1990 !vif->bss_conf.ps); in rs_tpc_allowed() 2088 struct ieee80211_vif *vif = mvm_sta->vif; in rs_tpc_perform() local 2110 chanctx_conf = rcu_dereference(vif->chanctx_conf); in rs_tpc_perform() 2117 if (!rs_tpc_allowed(mvm, vif, rate, band)) { in rs_tpc_perform() 2782 if (sta && !iwl_mvm_sta_from_mac80211(sta)->vif) { in rs_get_rate() 3115 if (!iwl_mvm_sta_from_mac80211(sta)->vif) in rs_rate_update() [all …]
|
| /linux-4.4.14/drivers/net/xen-netback/ |
| D | interface.c | 72 int xenvif_schedulable(struct xenvif *vif) in xenvif_schedulable() argument 74 return netif_running(vif->dev) && in xenvif_schedulable() 75 test_bit(VIF_STATUS_CONNECTED, &vif->status) && in xenvif_schedulable() 76 !vif->disabled; in xenvif_schedulable() 99 if (unlikely(queue->vif->disabled)) { in xenvif_poll() 133 struct net_device *dev = queue->vif->dev; in xenvif_queue_stopped() 140 struct net_device *dev = queue->vif->dev; in xenvif_wake_queue() 147 struct xenvif *vif = netdev_priv(dev); in xenvif_start_xmit() local 149 unsigned int num_queues = vif->num_queues; in xenvif_start_xmit() 163 index, vif->dev->name); in xenvif_start_xmit() [all …]
|
| D | xenbus.c | 27 struct xenvif *vif; member 46 static void xen_unregister_watchers(struct xenvif *vif); 119 dev_queue = netdev_get_tx_queue(queue->vif->dev, queue->id); in xenvif_read_io_ring() 188 static void xenvif_debugfs_addif(struct xenvif *vif) in xenvif_debugfs_addif() argument 196 vif->xenvif_dbg_root = debugfs_create_dir(vif->dev->name, in xenvif_debugfs_addif() 198 if (!IS_ERR_OR_NULL(vif->xenvif_dbg_root)) { in xenvif_debugfs_addif() 199 for (i = 0; i < vif->num_queues; ++i) { in xenvif_debugfs_addif() 205 vif->xenvif_dbg_root, in xenvif_debugfs_addif() 206 &vif->queues[i], in xenvif_debugfs_addif() 213 netdev_warn(vif->dev, in xenvif_debugfs_addif() [all …]
|
| D | netback.c | 122 #define callback_param(vif, pending_idx) \ argument 123 (vif->pending_tx_info[pending_idx].callback_struct) 152 static int xenvif_rx_ring_slots_needed(struct xenvif *vif) in xenvif_rx_ring_slots_needed() argument 154 if (vif->gso_mask) in xenvif_rx_ring_slots_needed() 155 return DIV_ROUND_UP(vif->dev->gso_max_size, XEN_PAGE_SIZE) + 1; in xenvif_rx_ring_slots_needed() 157 return DIV_ROUND_UP(vif->dev->mtu, XEN_PAGE_SIZE); in xenvif_rx_ring_slots_needed() 165 needed = xenvif_rx_ring_slots_needed(queue->vif); in xenvif_rx_ring_slots_available() 195 netif_tx_stop_queue(netdev_get_tx_queue(queue->vif->dev, queue->id)); in xenvif_rx_queue_tail() 220 netif_tx_wake_queue(netdev_get_tx_queue(queue->vif->dev, queue->id)); in xenvif_rx_queue_maybe_wake() 322 copy_gop->dest.domid = queue->vif->domid; in xenvif_setup_copy_gop() [all …]
|
| D | common.h | 138 struct xenvif *vif; /* Parent VIF */ member 272 static inline struct xenbus_device *xenvif_to_xenbus_device(struct xenvif *vif) in xenvif_to_xenbus_device() argument 274 return to_xenbus_device(vif->dev->dev.parent); in xenvif_to_xenbus_device() 289 void xenvif_disconnect(struct xenvif *vif); 290 void xenvif_free(struct xenvif *vif); 295 int xenvif_schedulable(struct xenvif *vif); 310 void xenvif_carrier_off(struct xenvif *vif); 321 void xenvif_carrier_on(struct xenvif *vif); 352 bool xenvif_mcast_match(struct xenvif *vif, const u8 *addr); 353 void xenvif_mcast_addr_list_free(struct xenvif *vif);
|
| /linux-4.4.14/include/net/ |
| D | mac80211.h | 258 struct ieee80211_vif *vif; member 873 struct ieee80211_vif *vif; member 1392 static inline bool ieee80211_vif_is_mesh(struct ieee80211_vif *vif) in ieee80211_vif_is_mesh() argument 1395 return vif->type == NL80211_IFTYPE_MESH_POINT; in ieee80211_vif_is_mesh() 1424 struct wireless_dev *ieee80211_vif_to_wdev(struct ieee80211_vif *vif); 1744 struct ieee80211_vif *vif; member 3275 struct ieee80211_vif *vif); 3277 struct ieee80211_vif *vif, 3280 struct ieee80211_vif *vif); 3283 struct ieee80211_vif *vif, [all …]
|
| D | inetpeer.h | 21 int vif; member 81 iaddr->a4.vif = 0; in inetpeer_set_addr_v4() 109 int vif, int create) in inet_getpeer_v4() argument 114 daddr.a4.vif = vif; in inet_getpeer_v4()
|
| /linux-4.4.14/drivers/net/wireless/ath/wcn36xx/ |
| D | main.c | 173 static inline u8 get_sta_index(struct ieee80211_vif *vif, in get_sta_index() argument 176 return NL80211_IFTYPE_STATION == vif->type ? in get_sta_index() 339 struct ieee80211_vif *vif = NULL; in wcn36xx_config() local 349 vif = container_of((void *)tmp, in wcn36xx_config() 352 wcn36xx_smd_switch_channel(wcn, vif, ch); in wcn36xx_config() 385 struct ieee80211_vif *vif, in wcn36xx_set_key() argument 390 struct wcn36xx_vif *vif_priv = (struct wcn36xx_vif *)vif->drv_priv; in wcn36xx_set_key() 443 if (NL80211_IFTYPE_STATION == vif->type) in wcn36xx_set_key() 445 vif, in wcn36xx_set_key() 455 get_sta_index(vif, sta_priv)); in wcn36xx_set_key() [all …]
|
| D | pmc.c | 22 struct ieee80211_vif *vif) in wcn36xx_pmc_enter_bmps_state() argument 25 struct wcn36xx_vif *vif_priv = (struct wcn36xx_vif *)vif->drv_priv; in wcn36xx_pmc_enter_bmps_state() 27 ret = wcn36xx_smd_enter_bmps(wcn, vif); in wcn36xx_pmc_enter_bmps_state() 43 struct ieee80211_vif *vif) in wcn36xx_pmc_exit_bmps_state() argument 45 struct wcn36xx_vif *vif_priv = (struct wcn36xx_vif *)vif->drv_priv; in wcn36xx_pmc_exit_bmps_state() 51 wcn36xx_smd_exit_bmps(wcn, vif); in wcn36xx_pmc_exit_bmps_state() 57 struct ieee80211_vif *vif) in wcn36xx_enable_keep_alive_null_packet() argument 60 return wcn36xx_smd_keep_alive_req(wcn, vif, in wcn36xx_enable_keep_alive_null_packet()
|
| D | smd.h | 67 int wcn36xx_smd_add_sta_self(struct wcn36xx *wcn, struct ieee80211_vif *vif); 70 int wcn36xx_smd_join(struct wcn36xx *wcn, const u8 *bssid, u8 *vif, u8 ch); 74 int wcn36xx_smd_config_bss(struct wcn36xx *wcn, struct ieee80211_vif *vif, 77 int wcn36xx_smd_delete_bss(struct wcn36xx *wcn, struct ieee80211_vif *vif); 78 int wcn36xx_smd_config_sta(struct wcn36xx *wcn, struct ieee80211_vif *vif, 80 int wcn36xx_smd_send_beacon(struct wcn36xx *wcn, struct ieee80211_vif *vif, 84 struct ieee80211_vif *vif, int ch); 86 struct ieee80211_vif *vif, 106 int wcn36xx_smd_enter_bmps(struct wcn36xx *wcn, struct ieee80211_vif *vif); 107 int wcn36xx_smd_exit_bmps(struct wcn36xx *wcn, struct ieee80211_vif *vif); [all …]
|
| D | debug.c | 32 struct ieee80211_vif *vif = NULL; in read_file_bool_bmps() local 36 vif = container_of((void *)vif_priv, in read_file_bool_bmps() 39 if (NL80211_IFTYPE_STATION == vif->type) { in read_file_bool_bmps() 59 struct ieee80211_vif *vif = NULL; in write_file_bool_bmps() local 73 vif = container_of((void *)vif_priv, in write_file_bool_bmps() 76 if (NL80211_IFTYPE_STATION == vif->type) { in write_file_bool_bmps() 77 wcn36xx_enable_keep_alive_null_packet(wcn, vif); in write_file_bool_bmps() 78 wcn36xx_pmc_enter_bmps_state(wcn, vif); in write_file_bool_bmps() 86 vif = container_of((void *)vif_priv, in write_file_bool_bmps() 89 if (NL80211_IFTYPE_STATION == vif->type) in write_file_bool_bmps() [all …]
|
| D | smd.c | 121 static void wcn36xx_smd_set_bss_ht_params(struct ieee80211_vif *vif, in wcn36xx_smd_set_bss_ht_params() argument 134 bss_params->ht_oper_mode = vif->bss_conf.ht_operation_mode; in wcn36xx_smd_set_bss_ht_params() 136 !!(vif->bss_conf.ht_operation_mode & in wcn36xx_smd_set_bss_ht_params() 190 struct ieee80211_vif *vif, in wcn36xx_smd_set_sta_params() argument 194 struct wcn36xx_vif *priv_vif = (struct wcn36xx_vif *)vif->drv_priv; in wcn36xx_smd_set_sta_params() 196 if (vif->type == NL80211_IFTYPE_ADHOC || in wcn36xx_smd_set_sta_params() 197 vif->type == NL80211_IFTYPE_AP || in wcn36xx_smd_set_sta_params() 198 vif->type == NL80211_IFTYPE_MESH_POINT) { in wcn36xx_smd_set_sta_params() 213 if (NL80211_IFTYPE_STATION == vif->type) in wcn36xx_smd_set_sta_params() 214 memcpy(&sta_params->mac, vif->addr, ETH_ALEN); in wcn36xx_smd_set_sta_params() [all …]
|
| D | pmc.h | 28 struct ieee80211_vif *vif); 30 struct ieee80211_vif *vif); 32 struct ieee80211_vif *vif);
|
| D | txrx.c | 103 struct ieee80211_vif *vif = NULL; in get_vif_by_addr() local 105 vif = container_of((void *)vif_priv, in get_vif_by_addr() 108 if (memcmp(vif->addr, addr, ETH_ALEN) == 0) in get_vif_by_addr() 158 struct ieee80211_vif *vif = NULL; in wcn36xx_set_tx_data() local 169 __vif_priv = sta_priv->vif; in wcn36xx_set_tx_data() 170 vif = container_of((void *)__vif_priv, in wcn36xx_set_tx_data() 175 if (vif->type == NL80211_IFTYPE_STATION) { in wcn36xx_set_tx_data() 178 } else if (vif->type == NL80211_IFTYPE_AP || in wcn36xx_set_tx_data() 179 vif->type == NL80211_IFTYPE_ADHOC || in wcn36xx_set_tx_data() 180 vif->type == NL80211_IFTYPE_MESH_POINT) { in wcn36xx_set_tx_data()
|
| /linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
| D | p2p.c | 469 struct brcmf_if *pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_generate_bss_mac() 550 struct brcmf_cfg80211_vif *vif; in brcmf_p2p_deinit_discovery() local 555 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_deinit_discovery() 556 (void)brcmf_p2p_set_discover_state(vif->ifp, WL_P2P_DISC_ST_SCAN, 0, 0); in brcmf_p2p_deinit_discovery() 559 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_deinit_discovery() 560 (void)brcmf_fil_iovar_int_set(vif->ifp, "p2p_disc", 0); in brcmf_p2p_deinit_discovery() 574 struct brcmf_cfg80211_vif *vif; in brcmf_p2p_enable_discovery() local 578 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_enable_discovery() 579 if (!vif) { in brcmf_p2p_enable_discovery() 591 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_enable_discovery() [all …]
|
| D | cfg80211.c | 97 static bool check_vif_up(struct brcmf_cfg80211_vif *vif) in check_vif_up() argument 99 if (!test_bit(BRCMF_VIF_STATUS_READY, &vif->sme_state)) { in check_vif_up() 101 vif->sme_state); in check_vif_up() 390 struct brcmf_cfg80211_vif *vif, in brcmf_vif_change_validate() argument 398 if (pos == vif) in brcmf_vif_change_validate() 487 struct brcmf_cfg80211_vif *vif; in brcmf_cfg80211_update_proto_addr_mode() local 490 vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); in brcmf_cfg80211_update_proto_addr_mode() 491 ifp = vif->ifp; in brcmf_cfg80211_update_proto_addr_mode() 540 struct brcmf_cfg80211_vif *vif; in brcmf_ap_add_vif() local 548 vif = brcmf_alloc_vif(cfg, NL80211_IFTYPE_AP, false); in brcmf_ap_add_vif() [all …]
|
| D | btcoex.c | 87 struct brcmf_cfg80211_vif *vif; member 245 struct brcmf_if *ifp = btci->vif->ifp; in btcmf_btcoex_save_part1() 269 ifp = btci->vif->ifp; in brcmf_btcoex_restore_part1() 360 cfg80211_crit_proto_stopped(&btci->vif->wdev, GFP_KERNEL); in brcmf_btcoex_handler() 362 btci->vif = NULL; in brcmf_btcoex_handler() 425 struct brcmf_if *ifp = btci->vif->ifp; in brcmf_btcoex_dhcp_start() 466 int brcmf_btcoex_set_mode(struct brcmf_cfg80211_vif *vif, in brcmf_btcoex_set_mode() argument 469 struct brcmf_cfg80211_info *cfg = wiphy_priv(vif->wdev.wiphy); in brcmf_btcoex_set_mode() 481 btci->vif = vif; in brcmf_btcoex_set_mode() 489 vif == btci->vif) { in brcmf_btcoex_set_mode()
|
| D | cfg80211.h | 333 struct brcmf_cfg80211_vif *vif; member 442 struct brcmf_cfg80211_vif *vif; in cfg_to_ndev() local 443 vif = list_first_entry(&cfg->vif_list, struct brcmf_cfg80211_vif, list); in cfg_to_ndev() 444 return vif->wdev.netdev; in cfg_to_ndev() 455 return &ifp->vif->profile; in ndev_to_prof() 461 return ifp->vif; in ndev_to_vif() 481 void brcmf_free_vif(struct brcmf_cfg80211_vif *vif); 483 s32 brcmf_vif_set_mgmt_ie(struct brcmf_cfg80211_vif *vif, s32 pktflag, 485 s32 brcmf_vif_clear_mgmt_ies(struct brcmf_cfg80211_vif *vif); 493 struct brcmf_cfg80211_vif *vif);
|
| D | vendor.c | 34 struct brcmf_cfg80211_vif *vif; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local 47 vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); in brcmf_cfg80211_vndr_cmds_dcmd_handler() 48 ifp = vif->ifp; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
|
| D | p2p.h | 45 struct brcmf_cfg80211_vif *vif; member 165 struct brcmf_cfg80211_vif *vif);
|
| D | btcoex.h | 26 int brcmf_btcoex_set_mode(struct brcmf_cfg80211_vif *vif,
|
| D | core.h | 186 struct brcmf_cfg80211_vif *vif; member
|
| /linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
| D | mac80211.c | 341 struct ieee80211_vif *vif, in iwlagn_mac_set_rekey_data() argument 352 if (priv->contexts[IWL_RXON_CTX_BSS].vif != vif) in iwlagn_mac_set_rekey_data() 382 if (!ctx->vif || ctx->vif->type != NL80211_IFTYPE_STATION || in iwlagn_mac_suspend() 437 struct ieee80211_vif *vif; in iwlagn_mac_resume() local 467 vif = ctx->vif; in iwlagn_mac_resume() 496 ieee80211_report_wowlan_wakeup(vif, &wakeup, in iwlagn_mac_resume() 535 if (resume_data.valid && priv->contexts[IWL_RXON_CTX_BSS].vif) { in iwlagn_mac_resume() 560 ieee80211_report_wowlan_wakeup(vif, wakeup_report, GFP_KERNEL); in iwlagn_mac_resume() 575 ieee80211_resume_disconnect(vif); in iwlagn_mac_resume() 599 struct ieee80211_vif *vif, in iwlagn_mac_update_tkip_key() argument [all …]
|
| D | rxon.c | 43 if (!ctx->vif) { in iwl_connection_init_rx_config() 46 switch (ctx->vif->type) { in iwl_connection_init_rx_config() 69 ctx->vif->type); in iwl_connection_init_rx_config() 86 iwl_set_flags_for_band(priv, ctx, priv->band, ctx->vif); in iwl_connection_init_rx_config() 91 if (ctx->vif) in iwl_connection_init_rx_config() 92 memcpy(ctx->staging.node_addr, ctx->vif->addr, ETH_ALEN); in iwl_connection_init_rx_config() 201 struct ieee80211_vif *vif) in iwlagn_update_beacon() argument 206 priv->beacon_skb = ieee80211_beacon_get(priv->hw, vif); in iwlagn_update_beacon() 299 struct ieee80211_vif *vif = ctx->vif; in iwl_send_rxon_timing() local 310 beacon_int = vif ? vif->bss_conf.beacon_int : 0; in iwl_send_rxon_timing() [all …]
|
| D | lib.c | 119 struct ieee80211_vif *vif, bool add) in iwlagn_manage_ibss_station() argument 121 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_manage_ibss_station() 125 vif->bss_conf.bssid, in iwlagn_manage_ibss_station() 128 vif->bss_conf.bssid); in iwlagn_manage_ibss_station() 358 if (ctx->vif && ctx->vif->type == NL80211_IFTYPE_AP && in iwlagn_bt_adjust_rssi_monitor() 373 ieee80211_disable_rssi_reports(ctx->vif); in iwlagn_bt_adjust_rssi_monitor() 384 if (ctx->vif && ctx->vif->type == NL80211_IFTYPE_STATION && in iwlagn_bt_adjust_rssi_monitor() 406 if (ctx->vif) in iwlagn_bt_adjust_rssi_monitor() 407 ieee80211_disable_rssi_reports(ctx->vif); in iwlagn_bt_adjust_rssi_monitor() 415 ieee80211_enable_rssi_reports(found_ctx->vif, in iwlagn_bt_adjust_rssi_monitor() [all …]
|
| D | agn.h | 151 struct ieee80211_vif *vif, 162 struct ieee80211_vif *vif); 210 int iwlagn_tx_agg_start(struct iwl_priv *priv, struct ieee80211_vif *vif, 212 int iwlagn_tx_agg_oper(struct iwl_priv *priv, struct ieee80211_vif *vif, 214 int iwlagn_tx_agg_stop(struct iwl_priv *priv, struct ieee80211_vif *vif, 216 int iwlagn_tx_agg_flush(struct iwl_priv *priv, struct ieee80211_vif *vif, 259 struct ieee80211_vif *vif, 300 struct ieee80211_vif *vif, bool add); 364 struct ieee80211_vif *vif,
|
| D | tx.c | 296 if (info->control.vif) in iwlagn_tx_skb() 297 ctx = iwl_rxon_ctx_from_vif(info->control.vif); in iwlagn_tx_skb() 504 int iwlagn_tx_agg_stop(struct iwl_priv *priv, struct ieee80211_vif *vif, in iwlagn_tx_agg_stop() argument 590 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwlagn_tx_agg_stop() 595 int iwlagn_tx_agg_start(struct iwl_priv *priv, struct ieee80211_vif *vif, in iwlagn_tx_agg_start() argument 598 struct iwl_rxon_context *ctx = iwl_rxon_ctx_from_vif(vif); in iwlagn_tx_agg_start() 641 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwlagn_tx_agg_start() 654 int iwlagn_tx_agg_flush(struct iwl_priv *priv, struct ieee80211_vif *vif, in iwlagn_tx_agg_flush() argument 699 int iwlagn_tx_agg_oper(struct iwl_priv *priv, struct ieee80211_vif *vif, in iwlagn_tx_agg_oper() argument 703 struct iwl_rxon_context *ctx = iwl_rxon_ctx_from_vif(vif); in iwlagn_tx_agg_oper() [all …]
|
| D | scan.c | 472 struct ieee80211_vif *vif, in iwl_get_channel_for_reset_scan() argument 507 struct ieee80211_vif *vif, in iwl_get_channels_for_scan() argument 628 static int iwlagn_request_scan(struct iwl_priv *priv, struct ieee80211_vif *vif) in iwlagn_request_scan() argument 661 if (vif) in iwlagn_request_scan() 662 ctx = iwl_rxon_ctx_from_vif(vif); in iwlagn_request_scan() 690 interval = vif->bss_conf.beacon_int; in iwlagn_request_scan() 860 vif->addr, in iwlagn_request_scan() 885 iwl_get_channel_for_reset_scan(priv, vif, band, in iwlagn_request_scan() 890 iwl_get_channels_for_scan(priv, vif, band, in iwlagn_request_scan() 935 struct ieee80211_vif *vif, in iwl_scan_initiate() argument [all …]
|
| D | devices.c | 416 struct ieee80211_vif *vif = ctx->vif; in iwl5000_hw_channel_switch() local 448 vif->bss_conf.beacon_int * switch_count * TIME_UNIT; in iwl5000_hw_channel_switch() 577 struct ieee80211_vif *vif = ctx->vif; in iwl6000_hw_channel_switch() local 616 vif->bss_conf.beacon_int * switch_count * TIME_UNIT; in iwl6000_hw_channel_switch()
|
| D | sta.c | 584 else if (ctx && ctx->vif && ctx->vif->p2p) in iwl_sta_fill_lq() 1078 struct ieee80211_vif *vif, in iwlagn_key_sta_id() argument 1081 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_key_sta_id() 1091 if (vif->type == NL80211_IFTYPE_STATION && vif_priv->ctx) in iwlagn_key_sta_id() 1151 struct ieee80211_vif *vif, in iwl_update_tkip_key() argument 1155 u8 sta_id = iwlagn_key_sta_id(priv, vif, sta); in iwl_update_tkip_key() 1176 u8 sta_id = iwlagn_key_sta_id(priv, ctx->vif, sta); in iwl_remove_dynamic_key() 1226 u8 sta_id = iwlagn_key_sta_id(priv, ctx->vif, sta); in iwl_set_dynamic_key()
|
| D | dev.h | 486 struct ieee80211_vif *vif; member 917 iwl_rxon_ctx_from_vif(struct ieee80211_vif *vif) in iwl_rxon_ctx_from_vif() argument 919 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwl_rxon_ctx_from_vif()
|
| /linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
| D | beacon.c | 72 static void ath9k_beacon_setup(struct ath_softc *sc, struct ieee80211_vif *vif, in ath9k_beacon_setup() argument 85 if (vif->bss_conf.use_short_preamble) in ath9k_beacon_setup() 113 struct ieee80211_vif *vif) in ath9k_beacon_generate() argument 118 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_beacon_generate() 138 skb = ieee80211_beacon_get(hw, vif); in ath9k_beacon_generate() 151 if (vif->p2p) in ath9k_beacon_generate() 164 skb = ieee80211_get_buffered_bc(hw, vif); in ath9k_beacon_generate() 186 ath9k_beacon_setup(sc, vif, bf, info->control.rates[0].idx); in ath9k_beacon_generate() 189 ath_tx_cabq(hw, vif, skb); in ath9k_beacon_generate() 194 void ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif) in ath9k_beacon_assign_slot() argument [all …]
|
| D | htc_drv_beacon.c | 141 struct ieee80211_vif *vif; in ath9k_htc_send_buffered() local 148 vif = priv->beacon.bslot[slot]; in ath9k_htc_send_buffered() 150 skb = ieee80211_get_buffered_bc(priv->hw, vif); in ath9k_htc_send_buffered() 185 skb = ieee80211_get_buffered_bc(priv->hw, vif); in ath9k_htc_send_buffered() 195 struct ieee80211_vif *vif; in ath9k_htc_send_beacon() local 209 vif = priv->beacon.bslot[slot]; in ath9k_htc_send_beacon() 210 avp = (struct ath9k_htc_vif *)vif->drv_priv; in ath9k_htc_send_beacon() 218 beacon = ieee80211_beacon_get(priv->hw, vif); in ath9k_htc_send_beacon() 323 struct ieee80211_vif *vif) in ath9k_htc_assign_bslot() argument 326 struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *)vif->drv_priv; in ath9k_htc_assign_bslot() [all …]
|
| D | main.c | 346 struct ieee80211_vif *vif) in ath_node_attach() argument 353 an->vif = vif; in ath_node_attach() 915 u8 *mac, struct ieee80211_vif *vif) in ath9k_vif_iter() argument 917 struct ath_vif *avp = (struct ath_vif *)vif->drv_priv; in ath9k_vif_iter() 929 if (!vif->bss_conf.use_short_slot) in ath9k_vif_iter() 932 switch (vif->type) { in ath9k_vif_iter() 939 iter_data->primary_sta = vif; in ath9k_vif_iter() 946 if (vif->bss_conf.enable_beacon) in ath9k_vif_iter() 951 if (vif->bss_conf.enable_beacon) in ath9k_vif_iter() 977 if (!avp->vif->p2p || !iter_data->has_hw_macaddr) in ath9k_update_bssid_mask() [all …]
|
| D | htc_drv_main.c | 91 static void ath9k_htc_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif) in ath9k_htc_vif_iter() argument 94 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; in ath9k_htc_vif_iter() 96 if ((vif->type == NL80211_IFTYPE_AP || in ath9k_htc_vif_iter() 97 vif->type == NL80211_IFTYPE_MESH_POINT) && in ath9k_htc_vif_iter() 127 static void ath9k_htc_bssid_iter(void *data, u8 *mac, struct ieee80211_vif *vif) in ath9k_htc_bssid_iter() argument 141 struct ieee80211_vif *vif) in ath9k_htc_set_mac_bssid_mask() argument 154 if (vif) in ath9k_htc_set_mac_bssid_mask() 155 ath9k_htc_bssid_iter(&iter_data, vif->addr, vif); in ath9k_htc_set_mac_bssid_mask() 470 struct ieee80211_vif *vif, in ath9k_htc_add_station() argument 475 struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *) vif->drv_priv; in ath9k_htc_add_station() [all …]
|
| D | channel.c | 157 struct ieee80211_vif *vif; in ath_is_go_chanctx_present() local 166 vif = avp->vif; in ath_is_go_chanctx_present() 168 if (ieee80211_vif_type_p2p(vif) == NL80211_IFTYPE_P2P_GO) { in ath_is_go_chanctx_present() 263 struct ieee80211_vif *vif = avp->vif; in ath_chanctx_check_active() local 265 switch (vif->type) { in ath_chanctx_check_active() 474 void ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif, in ath_chanctx_event() argument 485 if (vif) in ath_chanctx_event() 486 avp = (struct ath_vif *) vif->drv_priv; in ath_chanctx_event() 558 ath_dbg(common, CHAN_CTX, "Preparing beacon for vif: %pM\n", vif->addr); in ath_chanctx_event() 891 struct ieee80211_vif *vif; in ath_offchannel_next() local [all …]
|
| D | ath9k.h | 254 struct ieee80211_vif *vif; /* interface with which we're associated */ member 451 struct ieee80211_vif *vif); 454 struct ieee80211_vif *vif); 466 void ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif, 502 struct ieee80211_vif *vif, in ath_chanctx_event() argument 514 struct ieee80211_vif *vif) in ath9k_p2p_remove_vif() argument 521 struct ieee80211_vif *vif) in ath9k_p2p_bss_info_changed() argument 570 void ath_tx_cabq(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 604 struct ieee80211_vif *vif; member 647 void ath9k_set_txpower(struct ath_softc *sc, struct ieee80211_vif *vif); [all …]
|
| D | htc.h | 366 struct ieee80211_vif *vif, 369 struct ieee80211_vif *vif, int sset); 371 struct ieee80211_vif *vif, 545 struct ieee80211_vif *vif); 547 struct ieee80211_vif *vif); 549 struct ieee80211_vif *vif); 552 struct ieee80211_vif *vif);
|
| D | htc_drv_txrx.c | 261 struct ieee80211_vif *vif, in ath9k_htc_tx_data() argument 312 (vif && vif->bss_conf.use_cts_prot)) in ath9k_htc_tx_data() 342 struct ieee80211_vif *vif = tx_info->control.vif; in ath9k_htc_tx_start() local 353 if (vif) { in ath9k_htc_tx_start() 354 avp = (struct ath9k_htc_vif *) vif->drv_priv; in ath9k_htc_tx_start() 377 ath9k_htc_tx_data(priv, vif, skb, in ath9k_htc_tx_start() 401 struct ieee80211_vif *vif, in ath9k_htc_check_tx_aggr() argument 413 sta = ieee80211_find_sta(vif, hdr->addr1); in ath9k_htc_check_tx_aggr() 444 struct ieee80211_vif *vif; in ath9k_htc_tx_process() local 462 vif = tx_info->control.vif; in ath9k_htc_tx_process() [all …]
|
| D | debug.h | 260 struct ieee80211_vif *vif, int sset); 262 struct ieee80211_vif *vif, 265 struct ieee80211_vif *vif, 268 struct ieee80211_vif *vif,
|
| D | xmit.c | 110 struct ath_vif *avp = (struct ath_vif *) tid->an->vif->drv_priv; in ath_tx_queue_tid() 134 ieee80211_send_bar(tid->an->vif, tid->an->sta->addr, tid->tidno, in ath_send_bar() 138 static void ath_set_rates(struct ieee80211_vif *vif, struct ieee80211_sta *sta, in ath_set_rates() argument 141 ieee80211_get_tx_rates(vif, sta, bf->bf_mpdu, bf->rates, in ath_set_rates() 1422 ath_set_rates(tid->an->vif, tid->an->sta, bf); in ath_tx_form_burst() 1453 ath_set_rates(tid->an->vif, tid->an->sta, bf); in ath_tx_sched_aggr() 1635 ath_set_rates(tid->an->vif, tid->an->sta, bf); in ath9k_release_buffered_frames() 2089 if (tx_info->control.vif && in setup_frame_info() 2090 tx_info->control.vif->bss_conf.use_short_preamble) in setup_frame_info() 2099 if (tx_info->control.vif) { in setup_frame_info() [all …]
|
| D | htc_drv_debug.c | 427 struct ieee80211_vif *vif, in ath9k_htc_get_et_strings() argument 436 struct ieee80211_vif *vif, int sset) in ath9k_htc_get_et_sset_count() argument 454 struct ieee80211_vif *vif, in ath9k_htc_get_et_stats() argument
|
| /linux-4.4.14/net/mac80211/ |
| D | iface.c | 52 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in __ieee80211_recalc_txpower() 67 if (power != sdata->vif.bss_conf.txpower) { in __ieee80211_recalc_txpower() 68 sdata->vif.bss_conf.txpower = power; in __ieee80211_recalc_txpower() 190 if (iter->vif.type == NL80211_IFTYPE_MONITOR && in ieee80211_verify_mac() 194 m = iter->vif.addr; in ieee80211_verify_mac() 219 if (sdata->vif.type == NL80211_IFTYPE_MONITOR && in ieee80211_change_mac() 230 memcpy(sdata->vif.addr, sa->sa_data, ETH_ALEN); in ieee80211_change_mac() 266 if ((sdata->vif.type == NL80211_IFTYPE_OCB && in ieee80211_check_concurrent_iface() 267 nsdata->vif.type != NL80211_IFTYPE_MONITOR) || in ieee80211_check_concurrent_iface() 268 (sdata->vif.type != NL80211_IFTYPE_MONITOR && in ieee80211_check_concurrent_iface() [all …]
|
| D | driver-ops.h | 18 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in get_bss_sdata() 38 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); in drv_get_et_strings() 50 local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data); in drv_get_et_stats() 62 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, in drv_get_et_sset_count() 143 sdata->vif.type != NL80211_IFTYPE_AP && in drv_bss_info_changed() 144 sdata->vif.type != NL80211_IFTYPE_ADHOC && in drv_bss_info_changed() 145 sdata->vif.type != NL80211_IFTYPE_MESH_POINT && in drv_bss_info_changed() 146 sdata->vif.type != NL80211_IFTYPE_OCB)) in drv_bss_info_changed() 149 if (WARN_ON_ONCE(sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE || in drv_bss_info_changed() 150 sdata->vif.type == NL80211_IFTYPE_MONITOR)) in drv_bss_info_changed() [all …]
|
| D | tx.c | 64 chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf); in ieee80211_duration() 149 if (tx->sdata->vif.bss_conf.basic_rates & BIT(i)) in ieee80211_duration() 189 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration() 199 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration() 237 if (tx->sdata->vif.type != NL80211_IFTYPE_STATION) in ieee80211_tx_h_dynamic_ps() 308 if (tx->sdata->vif.type == NL80211_IFTYPE_OCB) in ieee80211_tx_h_check_assoc() 311 if (tx->sdata->vif.type == NL80211_IFTYPE_WDS) in ieee80211_tx_h_check_assoc() 331 } else if (unlikely(tx->sdata->vif.type == NL80211_IFTYPE_AP && in ieee80211_tx_h_check_assoc() 358 if (sdata->vif.type == NL80211_IFTYPE_AP) in purge_old_ps_buffers() 360 else if (ieee80211_vif_is_mesh(&sdata->vif)) in purge_old_ps_buffers() [all …]
|
| D | driver-ops.c | 62 if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_AP_VLAN || in drv_add_interface() 63 (sdata->vif.type == NL80211_IFTYPE_MONITOR && in drv_add_interface() 69 ret = local->ops->add_interface(&local->hw, &sdata->vif); in drv_add_interface() 90 ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); in drv_change_interface() 104 local->ops->remove_interface(&local->hw, &sdata->vif); in drv_remove_interface() 126 ret = local->ops->sta_state(&local->hw, &sdata->vif, &sta->sta, in drv_sta_state() 150 (sdata->vif.type != NL80211_IFTYPE_ADHOC && in drv_sta_rc_update() 151 sdata->vif.type != NL80211_IFTYPE_MESH_POINT)); in drv_sta_rc_update() 155 local->ops->sta_rc_update(&local->hw, &sdata->vif, in drv_sta_rc_update() 180 ret = local->ops->conf_tx(&local->hw, &sdata->vif, in drv_conf_tx() [all …]
|
| D | debugfs_netdev.c | 215 IEEE80211_IF_FILE(txpower, vif.bss_conf.txpower, DEC); 226 sdata->vif.hw_queue[IEEE80211_AC_VO], in ieee80211_if_fmt_hw_queues() 227 sdata->vif.hw_queue[IEEE80211_AC_VI], in ieee80211_if_fmt_hw_queues() 228 sdata->vif.hw_queue[IEEE80211_AC_BE], in ieee80211_if_fmt_hw_queues() 229 sdata->vif.hw_queue[IEEE80211_AC_BK]); in ieee80211_if_fmt_hw_queues() 231 if (sdata->vif.type == NL80211_IFTYPE_AP) in ieee80211_if_fmt_hw_queues() 233 sdata->vif.cab_queue); in ieee80211_if_fmt_hw_queues() 260 if (sdata->vif.type != NL80211_IFTYPE_STATION && in ieee80211_set_smps() 261 sdata->vif.type != NL80211_IFTYPE_AP) in ieee80211_set_smps() 265 if (sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_set_smps() [all …]
|
| D | util.c | 131 struct ieee80211_vif *vif, in ieee80211_generic_frame_duration() argument 142 if (vif) { in ieee80211_generic_frame_duration() 143 sdata = vif_to_sdata(vif); in ieee80211_generic_frame_duration() 144 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_generic_frame_duration() 147 shift = ieee80211_vif_get_shift(vif); in ieee80211_generic_frame_duration() 158 struct ieee80211_vif *vif, size_t frame_len, in ieee80211_rts_duration() argument 176 if (vif) { in ieee80211_rts_duration() 177 sdata = vif_to_sdata(vif); in ieee80211_rts_duration() 178 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_rts_duration() 181 shift = ieee80211_vif_get_shift(vif); in ieee80211_rts_duration() [all …]
|
| D | chan.c | 72 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_vif_get_chanctx() 118 compat = &sdata->vif.bss_conf.chandef; in ieee80211_chanctx_non_reserved_chandef() 121 &sdata->vif.bss_conf.chandef, compat); in ieee80211_chanctx_non_reserved_chandef() 253 struct ieee80211_vif *vif = &sdata->vif; in ieee80211_get_chanctx_max_required_bw() local 259 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_get_chanctx_max_required_bw() 262 switch (vif->type) { in ieee80211_get_chanctx_max_required_bw() 273 width = max(vif->bss_conf.chandef.width, in ieee80211_get_chanctx_max_required_bw() 282 width = vif->bss_conf.chandef.width; in ieee80211_get_chanctx_max_required_bw() 296 if (sdata && rcu_access_pointer(sdata->vif.chanctx_conf) == conf) in ieee80211_get_chanctx_max_required_bw() 432 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_chanctx_radar_required() [all …]
|
| D | cfg.c | 74 if (sdata->vif.type == NL80211_IFTYPE_MONITOR && flags) { in ieee80211_change_iface() 177 cs = ieee80211_cs_get(local, params->cipher, sdata->vif.type); in ieee80211_add_key() 193 if (ieee80211_vif_is_mesh(&sdata->vif)) in ieee80211_add_key() 214 switch (sdata->vif.type) { in ieee80211_add_key() 451 int shift = ieee80211_vif_get_shift(&sta->sdata->vif); in sta_set_rate_info_tx() 718 sdata->vif.type); in ieee80211_start_ap() 728 vlan->vif.type); in ieee80211_start_ap() 731 sdata->vif.bss_conf.beacon_int = params->beacon_interval; in ieee80211_start_ap() 732 sdata->vif.bss_conf.dtim_period = params->dtim_period; in ieee80211_start_ap() 733 sdata->vif.bss_conf.enable_beacon = true; in ieee80211_start_ap() [all …]
|
| D | mesh.c | 91 if (sdata->vif.bss_conf.basic_rates != basic_rates) in mesh_matches_local() 94 ieee80211_ht_oper_to_chandef(sdata->vif.bss_conf.chandef.chan, in mesh_matches_local() 97 ieee80211_vht_oper_to_chandef(sdata->vif.bss_conf.chandef.chan, in mesh_matches_local() 100 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chandef, in mesh_matches_local() 396 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ds_params_ie() 422 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_cap_ie() 423 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie() 424 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie() 447 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ht_oper_ie() 459 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie() [all …]
|
| D | rx.c | 564 if (sdata->vif.type != NL80211_IFTYPE_MONITOR) in ieee80211_rx_monitor() 747 char *dev_addr = rx->sdata->vif.addr; in ieee80211_rx_mesh_check() 1145 if (ieee80211_vif_is_mesh(&rx->sdata->vif)) in ieee80211_rx_h_check() 1150 rx->sdata->vif.type != NL80211_IFTYPE_ADHOC && in ieee80211_rx_h_check() 1151 rx->sdata->vif.type != NL80211_IFTYPE_WDS && in ieee80211_rx_h_check() 1152 rx->sdata->vif.type != NL80211_IFTYPE_OCB && in ieee80211_rx_h_check() 1159 if (rx->sta && rx->sdata->vif.type == NL80211_IFTYPE_STATION && in ieee80211_rx_h_check() 1174 if (rx->sdata->vif.type == NL80211_IFTYPE_AP && in ieee80211_rx_h_check() 1227 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in sta_ps_start() 1228 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in sta_ps_start() [all …]
|
| D | agg-tx.c | 81 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request() 82 if (sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_send_addba_request() 83 sdata->vif.type == NL80211_IFTYPE_AP_VLAN || in ieee80211_send_addba_request() 84 sdata->vif.type == NL80211_IFTYPE_MESH_POINT) in ieee80211_send_addba_request() 85 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request() 86 else if (sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_send_addba_request() 88 else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_send_addba_request() 114 void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn) in ieee80211_send_bar() argument 116 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); in ieee80211_send_bar() 132 memcpy(bar->ta, sdata->vif.addr, ETH_ALEN); in ieee80211_send_bar() [all …]
|
| D | ht.c | 56 switch (sdata->vif.type) { in ieee80211_apply_htcap_overrides() 157 if (sdata->vif.type == NL80211_IFTYPE_STATION || in ieee80211_ht_cap_ie_to_sta_ht_cap() 158 sdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_ht_cap_ie_to_sta_ht_cap() 238 switch (sdata->vif.bss_conf.chandef.width) { in ieee80211_ht_cap_ie_to_sta_ht_cap() 375 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba() 376 if (sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_send_delba() 377 sdata->vif.type == NL80211_IFTYPE_AP_VLAN || in ieee80211_send_delba() 378 sdata->vif.type == NL80211_IFTYPE_MESH_POINT) in ieee80211_send_delba() 379 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba() 380 else if (sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_send_delba() [all …]
|
| D | sta_info.c | 96 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in __cleanup_single_sta() 97 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in __cleanup_single_sta() 99 else if (ieee80211_vif_is_mesh(&sdata->vif)) in __cleanup_single_sta() 127 if (ieee80211_vif_is_mesh(&sdata->vif)) in __cleanup_single_sta() 318 if (ieee80211_vif_is_mesh(&sdata->vif)) { in sta_info_alloc() 323 if (ieee80211_vif_is_mesh(&sdata->vif) && in sta_info_alloc() 382 if (sdata->vif.type == NL80211_IFTYPE_AP || in sta_info_alloc() 383 sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in sta_info_alloc() 434 if (WARN_ON(ether_addr_equal(sta->sta.addr, sdata->vif.addr) || in sta_info_insert_check() 464 if (sdata->vif.type == NL80211_IFTYPE_ADHOC) { in sta_info_insert_drv_state() [all …]
|
| D | agg-rx.c | 111 void ieee80211_stop_rx_ba_session(struct ieee80211_vif *vif, u16 ba_rx_bitmap, in ieee80211_stop_rx_ba_session() argument 114 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); in ieee80211_stop_rx_ba_session() 203 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_resp() 204 if (sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_send_addba_resp() 205 sdata->vif.type == NL80211_IFTYPE_AP_VLAN || in ieee80211_send_addba_resp() 206 sdata->vif.type == NL80211_IFTYPE_MESH_POINT) in ieee80211_send_addba_resp() 207 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_resp() 208 else if (sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_send_addba_resp() 210 else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_send_addba_resp() 388 void ieee80211_start_rx_ba_session_offl(struct ieee80211_vif *vif, in ieee80211_start_rx_ba_session_offl() argument [all …]
|
| D | mlme.c | 111 if (sdata->vif.driver_flags & IEEE80211_VIF_BEACON_FILTER) in ieee80211_sta_reset_beacon_monitor() 300 cfg80211_chandef_identical(chandef, &sdata->vif.bss_conf.chandef)) in ieee80211_determine_chantype() 368 if (sdata->vif.bss_conf.ht_operation_mode != ht_opmode) { in ieee80211_config_bw() 370 sdata->vif.bss_conf.ht_operation_mode = ht_opmode; in ieee80211_config_bw() 373 chan = sdata->vif.bss_conf.chandef.chan; in ieee80211_config_bw() 398 if (cfg80211_chandef_identical(&chandef, &sdata->vif.bss_conf.chandef)) in ieee80211_config_bw() 640 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_assoc() 649 shift = ieee80211_vif_get_shift(&sdata->vif); in ieee80211_send_assoc() 714 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_assoc() 925 skb = ieee80211_pspoll_get(&local->hw, &sdata->vif); in ieee80211_send_pspoll() [all …]
|
| D | offchannel.c | 131 if (sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE) in ieee80211_offchannel_stop_vifs() 134 if (sdata->vif.type != NL80211_IFTYPE_MONITOR) in ieee80211_offchannel_stop_vifs() 138 if (sdata->vif.bss_conf.enable_beacon) { in ieee80211_offchannel_stop_vifs() 141 sdata->vif.bss_conf.enable_beacon = false; in ieee80211_offchannel_stop_vifs() 146 if (sdata->vif.type == NL80211_IFTYPE_STATION && in ieee80211_offchannel_stop_vifs() 162 if (sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE) in ieee80211_offchannel_return() 165 if (sdata->vif.type != NL80211_IFTYPE_MONITOR) in ieee80211_offchannel_return() 172 if (sdata->vif.type == NL80211_IFTYPE_STATION && in ieee80211_offchannel_return() 178 sdata->vif.bss_conf.enable_beacon = true; in ieee80211_offchannel_return()
|
| D | ibss.c | 80 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_ibss_build_presp() 247 if (sdata->vif.bss_conf.ibss_joined) { in __ieee80211_sta_join_ibss() 248 sdata->vif.bss_conf.ibss_joined = false; in __ieee80211_sta_join_ibss() 249 sdata->vif.bss_conf.ibss_creator = false; in __ieee80211_sta_join_ibss() 250 sdata->vif.bss_conf.enable_beacon = false; in __ieee80211_sta_join_ibss() 326 sdata->vif.bss_conf.enable_beacon = true; in __ieee80211_sta_join_ibss() 327 sdata->vif.bss_conf.beacon_int = beacon_int; in __ieee80211_sta_join_ibss() 328 sdata->vif.bss_conf.basic_rates = basic_rates; in __ieee80211_sta_join_ibss() 329 sdata->vif.bss_conf.ssid_len = ifibss->ssid_len; in __ieee80211_sta_join_ibss() 330 memcpy(sdata->vif.bss_conf.ssid, ifibss->ssid, ifibss->ssid_len); in __ieee80211_sta_join_ibss() [all …]
|
| D | pm.c | 88 if (sdata->vif.type != NL80211_IFTYPE_STATION) in __ieee80211_suspend() 145 switch (sdata->vif.type) { in __ieee80211_suspend() 199 void ieee80211_report_wowlan_wakeup(struct ieee80211_vif *vif, in ieee80211_report_wowlan_wakeup() argument 203 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); in ieee80211_report_wowlan_wakeup()
|
| D | key.c | 66 if (sdata->vif.type != NL80211_IFTYPE_AP) in update_vlan_tailroom_need_count() 164 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_key_enable_hw_accel() 683 if (sdata->vif.type == NL80211_IFTYPE_AP) { in ieee80211_enable_keys() 705 if (sdata->vif.type == NL80211_IFTYPE_AP) { in ieee80211_reset_crypto_tx_tailroom() 714 struct ieee80211_vif *vif, in ieee80211_iter_keys() argument 716 struct ieee80211_vif *vif, in ieee80211_iter_keys() 729 if (vif) { in ieee80211_iter_keys() 730 sdata = vif_to_sdata(vif); in ieee80211_iter_keys() 732 iter(hw, &sdata->vif, in ieee80211_iter_keys() 739 iter(hw, &sdata->vif, in ieee80211_iter_keys() [all …]
|
| D | status.c | 65 info->control.vif = &sta->sdata->vif; in ieee80211_handle_filtered_frame() 176 ieee80211_send_bar(&sta->sdata->vif, addr, tid, tid_tx->failed_bar_ssn); in ieee80211_check_pending_bar() 215 if (sdata->vif.type == NL80211_IFTYPE_STATION) { in ieee80211_frame_acked() 225 } else if (sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_frame_acked() 226 sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_frame_acked() 703 if (sdata->vif.type == NL80211_IFTYPE_MONITOR) { in ieee80211_tx_monitor() 760 if (!ether_addr_equal(hdr->addr2, sta->sdata->vif.addr)) in ieee80211_tx_status() 763 shift = ieee80211_vif_get_shift(&sta->sdata->vif); in ieee80211_tx_status() 780 if (ieee80211_vif_is_mesh(&sta->sdata->vif) && in ieee80211_tx_status() 801 ieee80211_send_bar(&sta->sdata->vif, hdr->addr1, in ieee80211_tx_status() [all …]
|
| D | rate.c | 48 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_init() 76 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_update() 344 if (ieee80211_vif_is_mesh(&sta->sdata->vif)) in rate_control_send_low() 543 static void rate_fixup_ratelist(struct ieee80211_vif *vif, in rate_fixup_ratelist() argument 563 u32 basic_rates = vif->bss_conf.basic_rates; in rate_fixup_ratelist() 693 flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in rate_control_cap_mask() 749 chan_width = sta->sdata->vif.bss_conf.chandef.width; in rate_control_apply_mask_ratetbl() 786 chan_width = sdata->vif.bss_conf.chandef.width; in rate_control_apply_mask() 799 void ieee80211_get_tx_rates(struct ieee80211_vif *vif, in ieee80211_get_tx_rates() argument 812 if (!vif) in ieee80211_get_tx_rates() [all …]
|
| D | tdls.c | 157 if (!ieee80211_chandef_to_operating_class(&sdata->vif.bss_conf.chandef, in ieee80211_tdls_add_oper_classes() 202 init_addr = sdata->vif.addr; in ieee80211_tdls_add_link_ie() 206 rsp_addr = sdata->vif.addr; in ieee80211_tdls_add_link_ie() 429 sta->tdls_chandef = sdata->vif.bss_conf.chandef; in ieee80211_tdls_add_setup_start_ies() 557 sta->tdls_chandef = sdata->vif.bss_conf.chandef; in ieee80211_tdls_add_setup_cfm_ies() 605 &sdata->vif.bss_conf.chandef, prot, in ieee80211_tdls_add_setup_cfm_ies() 750 memcpy(tf->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_prep_tdls_encap_data() 832 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_prep_tdls_direct() 1197 if (sdata->vif.type != NL80211_IFTYPE_STATION || in ieee80211_tdls_mgmt() 1252 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in iee80211_tdls_recalc_chanctx() [all …]
|
| D | mesh_hwmp.c | 128 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_path_sel_frame_tx() 130 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in mesh_path_sel_frame_tx() 216 info->control.vif = &sdata->vif; in prepare_frame_for_deferred_tx() 265 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_path_error_tx() 267 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in mesh_path_error_tx() 417 if (ether_addr_equal(orig_addr, sdata->vif.addr)) { in hwmp_route_info_get() 550 if (ether_addr_equal(target_addr, sdata->vif.addr)) { in hwmp_preq_frame_process() 569 target_addr = sdata->vif.addr; in hwmp_preq_frame_process() 671 if (ether_addr_equal(orig_addr, sdata->vif.addr)) in hwmp_prep_frame_process() 793 if (ether_addr_equal(orig_addr, sdata->vif.addr)) in hwmp_rann_frame_process() [all …]
|
| D | main.c | 145 if (!rcu_access_pointer(sdata->vif.chanctx_conf)) in ieee80211_hw_conf_chan() 147 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in ieee80211_hw_conf_chan() 149 power = min(power, sdata->vif.bss_conf.txpower); in ieee80211_hw_conf_chan() 200 if (!changed || sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in ieee80211_bss_info_change_notify() 203 drv_bss_info_changed(local, sdata, &sdata->vif.bss_conf, changed); in ieee80211_bss_info_change_notify() 208 sdata->vif.bss_conf.use_cts_prot = false; in ieee80211_reset_erp_info() 209 sdata->vif.bss_conf.use_short_preamble = false; in ieee80211_reset_erp_info() 210 sdata->vif.bss_conf.use_short_slot = false; in ieee80211_reset_erp_info() 312 bss_conf = &sdata->vif.bss_conf; in ieee80211_ifa_changed() 315 if (sdata->vif.type != NL80211_IFTYPE_STATION) in ieee80211_ifa_changed() [all …]
|
| D | spectmgmt.c | 119 switch (sdata->vif.bss_conf.chandef.width) { in ieee80211_parse_ch_switch_ie() 123 sdata->vif.bss_conf.chandef.width; in ieee80211_parse_ch_switch_ie() 203 memcpy(msr_report->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_refuse_measurement_request()
|
| D | debugfs_key.c | 383 if (!sdata->vif.debugfs_dir) in ieee80211_debugfs_key_update_default() 397 sdata->vif.debugfs_dir, buf); in ieee80211_debugfs_key_update_default() 409 sdata->vif.debugfs_dir, buf); in ieee80211_debugfs_key_update_default() 418 if (!sdata->vif.debugfs_dir) in ieee80211_debugfs_key_add_mgmt_default() 427 sdata->vif.debugfs_dir, buf); in ieee80211_debugfs_key_add_mgmt_default()
|
| D | mesh_plink.c | 132 if (sdata->vif.bss_conf.use_short_slot != short_slot) { in mesh_set_short_slot_time() 133 sdata->vif.bss_conf.use_short_slot = short_slot; in mesh_set_short_slot_time() 136 sdata->vif.addr, short_slot); in mesh_set_short_slot_time() 158 switch (sdata->vif.bss_conf.chandef.width) { in mesh_set_ht_prot_mode() 191 sdata->vif.bss_conf.chandef.width > NL80211_CHAN_WIDTH_20) in mesh_set_ht_prot_mode() 196 if (sdata->vif.bss_conf.ht_operation_mode == ht_opmode) in mesh_set_ht_prot_mode() 199 sdata->vif.bss_conf.ht_operation_mode = ht_opmode; in mesh_set_ht_prot_mode() 244 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_plink_frame_tx() 245 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in mesh_plink_frame_tx()
|
| D | wme.c | 161 switch (sdata->vif.type) { in ieee80211_select_queue() 259 if (ieee80211_vif_is_mesh(&sdata->vif)) { in ieee80211_set_qos_hdr()
|
| D | ethtool.c | 103 if (sdata->vif.type == NL80211_IFTYPE_STATION) { in ieee80211_get_stats() 149 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_stats()
|
| D | vht.c | 36 if (sdata->vif.type != NL80211_IFTYPE_STATION) in ieee80211_apply_vhtcap_overrides() 163 if (sdata->vif.type == NL80211_IFTYPE_STATION && in ieee80211_vht_cap_ie_to_sta_vht_cap() 326 enum nl80211_chan_width bss_width = sdata->vif.bss_conf.chandef.width; in ieee80211_sta_cur_vht_bw()
|
| D | mesh_ps.c | 36 sdata->vif.addr); in mps_qos_null_get() 437 info->control.vif = &sdata->vif; in mpsp_qos_null_append()
|
| D | trace.h | 26 #define VIF_ASSIGN __entry->vif_type = sdata->vif.type; __entry->sdata = sdata; \ 27 __entry->p2p = sdata->vif.p2p; \ 115 memcpy(__entry->addr, sdata->vif.addr, ETH_ALEN); 1460 struct trace_vif_entry vif; member 1494 sdata = container_of(vifs[i].vif, 1496 vif); 1498 SWITCH_ENTRY_ASSIGN(vif.vif_type, vif->type); 1499 SWITCH_ENTRY_ASSIGN(vif.p2p, vif->p2p); 1500 strncpy(local_vifs[i].vif.vif_name, 1502 sizeof(local_vifs[i].vif.vif_name));
|
| D | ieee80211_i.h | 927 struct ieee80211_vif vif; member 933 return container_of(p, struct ieee80211_sub_if_data, vif); in vif_to_sdata() 966 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_sdata_band() 988 ieee80211_vif_get_shift(struct ieee80211_vif *vif) in ieee80211_vif_get_shift() argument 994 chanctx_conf = rcu_dereference(vif->chanctx_conf); in ieee80211_vif_get_shift() 1693 void ieee80211_start_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u16 tid); 1694 void ieee80211_stop_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u8 tid); 1796 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_tx_skb_tid()
|
| D | tkip.c | 171 tkip_mixing_phase1(tk, ctx, sdata->vif.addr, iv32); in ieee80211_compute_tkip_p1k() 290 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in ieee80211_tkip_decrypt_data()
|
| D | scan.c | 201 (ether_addr_equal(mgmt->da, sdata1->vif.addr) || in ieee80211_scan_rx() 204 (ether_addr_equal(mgmt->da, sdata2->vif.addr) || in ieee80211_scan_rx() 455 if (sdata->vif.type == NL80211_IFTYPE_STATION && in ieee80211_can_scan() 585 memcpy(local->scan_addr, sdata->vif.addr, ETH_ALEN); in __ieee80211_start_scan() 684 if (sdata->vif.type == NL80211_IFTYPE_STATION) { in ieee80211_scan_state_decision()
|
| /linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
| D | event.c | 35 struct ieee80211_vif *vif; in wlcore_event_rssi_trigger() local 48 vif = wl12xx_wlvif_to_vif(wlvif); in wlcore_event_rssi_trigger() 50 ieee80211_cqm_rssi_notify(vif, event, GFP_KERNEL); in wlcore_event_rssi_trigger() 58 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl1271_stop_ba_event() local 64 ieee80211_stop_rx_ba_session(vif, wl->links[hlid].ba_bitmap, in wl1271_stop_ba_event() 65 vif->bss_conf.bssid); in wl1271_stop_ba_event() 75 ieee80211_stop_rx_ba_session(vif, in wl1271_stop_ba_event() 137 struct ieee80211_vif *vif; in wlcore_event_channel_switch() local 151 vif = wl12xx_wlvif_to_vif(wlvif); in wlcore_event_channel_switch() 154 ieee80211_chswitch_done(vif, success); in wlcore_event_channel_switch() [all …]
|
| D | init.c | 185 struct ieee80211_vif *vif) in wl1271_ap_init_null_template() argument 187 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); in wl1271_ap_init_null_template() 204 memcpy(nullfunc->addr2, vif->addr, ETH_ALEN); in wl1271_ap_init_null_template() 205 memcpy(nullfunc->addr3, vif->addr, ETH_ALEN); in wl1271_ap_init_null_template() 218 struct ieee80211_vif *vif) in wl1271_ap_init_qos_null_template() argument 220 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); in wl1271_ap_init_qos_null_template() 237 memcpy(qosnull->addr2, vif->addr, ETH_ALEN); in wl1271_ap_init_qos_null_template() 238 memcpy(qosnull->addr3, vif->addr, ETH_ALEN); in wl1271_ap_init_qos_null_template() 373 struct ieee80211_vif *vif) in wl1271_sta_hw_init_post_mem() argument 375 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); in wl1271_sta_hw_init_post_mem() [all …]
|
| D | main.c | 53 struct ieee80211_vif *vif, 713 struct ieee80211_vif *vif) in wl12xx_vif_count_iter() argument 718 if (counter->cur_vif == vif) in wl12xx_vif_count_iter() 940 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wlcore_save_freed_pkts_addr() local 947 sta = ieee80211_find_sta(vif, addr); in wlcore_save_freed_pkts_addr() 987 struct ieee80211_vif *vif; in wl1271_recovery_work() local 1015 vif = wl12xx_wlvif_to_vif(wlvif); in wl1271_recovery_work() 1020 vif->bss_conf.bssid); in wl1271_recovery_work() 1023 __wl1271_op_remove_interface(wl, vif, false); in wl1271_recovery_work() 1258 struct ieee80211_vif *vif = info->control.vif; in wl1271_op_tx() local [all …]
|
| D | init.h | 35 int wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif); 37 int wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif);
|
| D | cmd.c | 513 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl12xx_cmd_role_start_sta() local 535 memcpy(cmd->sta.bssid, vif->bss_conf.bssid, ETH_ALEN); in wl12xx_cmd_role_start_sta() 625 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl12xx_cmd_role_start_ap() local 626 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; in wl12xx_cmd_role_start_ap() 762 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl12xx_cmd_role_start_ibss() local 764 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; in wl12xx_cmd_role_start_ibss() 785 memcpy(cmd->ibss.bssid, vif->bss_conf.bssid, ETH_ALEN); in wl12xx_cmd_role_start_ibss() 802 vif->bss_conf.bssid); in wl12xx_cmd_role_start_ibss() 1092 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl12xx_cmd_build_klv_null_data() local 1096 skb = ieee80211_nullfunc_get(wl->hw, vif); in wl12xx_cmd_build_klv_null_data() [all …]
|
| D | ps.c | 277 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl12xx_ps_link_start() local 291 sta = ieee80211_find_sta(vif, wl->links[hlid].addr); in wl12xx_ps_link_start() 312 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl12xx_ps_link_end() local 322 sta = ieee80211_find_sta(vif, wl->links[hlid].addr); in wl12xx_ps_link_end()
|
| D | testmode.h | 29 int wl1271_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
| D | scan.c | 93 struct ieee80211_vif *vif) in wlcore_started_vifs_iter() argument 95 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); in wlcore_started_vifs_iter() 340 int wlcore_scan(struct wl1271 *wl, struct ieee80211_vif *vif, in wlcore_scan() argument 344 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); in wlcore_scan()
|
| D | wlcore_i.h | 494 static inline struct wl12xx_vif *wl12xx_vif_to_data(struct ieee80211_vif *vif) in wl12xx_vif_to_data() argument 496 WARN_ON(!vif); in wl12xx_vif_to_data() 497 return (struct wl12xx_vif *)vif->drv_priv; in wl12xx_vif_to_data()
|
| D | hw_ops.h | 194 struct ieee80211_vif *vif, in wlcore_hw_set_key() argument 201 return wl->ops->set_key(wl, cmd, vif, sta, key_conf); in wlcore_hw_set_key()
|
| D | scan.h | 29 int wlcore_scan(struct wl1271 *wl, struct ieee80211_vif *vif,
|
| /linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
| D | mac.c | 86 struct ieee80211_vif *vif; in carl9170_set_slot_time() local 90 vif = carl9170_get_main_vif(ar); in carl9170_set_slot_time() 91 if (!vif) { in carl9170_set_slot_time() 97 vif->bss_conf.use_short_slot) in carl9170_set_slot_time() 108 struct ieee80211_vif *vif; in carl9170_set_mac_rates() local 112 vif = carl9170_get_main_vif(ar); in carl9170_set_mac_rates() 114 if (!vif) { in carl9170_set_mac_rates() 119 basic = (vif->bss_conf.basic_rates & 0xf); in carl9170_set_mac_rates() 120 basic |= (vif->bss_conf.basic_rates & 0xff0) << 4; in carl9170_set_mac_rates() 303 struct ieee80211_vif *vif; in carl9170_set_operating_mode() local [all …]
|
| D | main.c | 560 struct ieee80211_vif *vif) in carl9170_init_interface() argument 565 if (!vif) { in carl9170_init_interface() 570 memcpy(common->macaddr, vif->addr, ETH_ALEN); in carl9170_init_interface() 582 ar->disable_offload |= ((vif->type != NL80211_IFTYPE_STATION) && in carl9170_init_interface() 583 (vif->type != NL80211_IFTYPE_AP)); in carl9170_init_interface() 591 ar->disable_offload |= vif->p2p; in carl9170_init_interface() 600 struct ieee80211_vif *vif) in carl9170_op_add_interface() argument 602 struct carl9170_vif_info *vif_priv = (void *) vif->drv_priv; in carl9170_op_add_interface() 639 if (vif->type == NL80211_IFTYPE_STATION) in carl9170_op_add_interface() 648 if (main_vif->p2p && vif->p2p && in carl9170_op_add_interface() [all …]
|
| D | tx.c | 112 struct ieee80211_vif *vif; in __carl9170_get_tx_sta() local 121 vif = rcu_dereference(ar->vif_priv[vif_id].vif); in __carl9170_get_tx_sta() 122 if (unlikely(!vif)) in __carl9170_get_tx_sta() 135 return ieee80211_find_sta(vif, hdr->addr1); in __carl9170_get_tx_sta() 869 struct ieee80211_vif *vif, in carl9170_tx_get_rates() argument 880 ieee80211_get_tx_rates(vif, sta, skb, in carl9170_tx_get_rates() 989 if (likely(info->control.vif)) in carl9170_tx_prepare() 990 cvif = (void *) info->control.vif->drv_priv; in carl9170_tx_prepare() 1187 carl9170_tx_get_rates(ar, tid_info->vif, in carl9170_tx_ampdu() 1474 struct ieee80211_vif *vif; in carl9170_op_tx() local [all …]
|
| D | carl9170.h | 138 struct ieee80211_vif *vif; member 173 struct ieee80211_vif __rcu *vif; member 660 static inline bool is_main_vif(struct ar9170 *ar, struct ieee80211_vif *vif) in is_main_vif() argument 665 ret = (carl9170_get_main_vif(ar) == vif); in is_main_vif()
|
| D | rx.c | 164 struct ieee80211_vif *vif; in carl9170_handle_command_response() local 191 vif = carl9170_get_main_vif(ar); in carl9170_handle_command_response() 193 if (!vif) { in carl9170_handle_command_response() 198 switch (vif->type) { in carl9170_handle_command_response()
|
| D | debug.c | 448 struct ieee80211_vif *vif = carl9170_get_vif(iter); in carl9170_debugfs_vif_dump_read() local 450 " mac:%pM %s]\n", i, (carl9170_get_main_vif(ar) == vif ? in carl9170_debugfs_vif_dump_read() 451 "Master" : " Slave"), iter->id, vif->type, vif->addr, in carl9170_debugfs_vif_dump_read()
|
| /linux-4.4.14/drivers/net/wireless/rt2x00/ |
| D | rt2x00mac.c | 83 ieee80211_ctstoself_get(rt2x00dev->hw, tx_info->control.vif, in rt2x00mac_tx_rts_cts() 87 ieee80211_rts_get(rt2x00dev->hw, tx_info->control.vif, in rt2x00mac_tx_rts_cts() 199 struct ieee80211_vif *vif) in rt2x00mac_add_interface() argument 202 struct rt2x00_intf *intf = vif_to_intf(vif); in rt2x00mac_add_interface() 235 if (vif->type == NL80211_IFTYPE_AP) in rt2x00mac_add_interface() 252 rt2x00lib_config_intf(rt2x00dev, intf, vif->type, in rt2x00mac_add_interface() 253 vif->addr, NULL); in rt2x00mac_add_interface() 267 struct ieee80211_vif *vif) in rt2x00mac_remove_interface() argument 270 struct rt2x00_intf *intf = vif_to_intf(vif); in rt2x00mac_remove_interface() 278 (vif->type == NL80211_IFTYPE_AP && !rt2x00dev->intf_ap_count) || in rt2x00mac_remove_interface() [all …]
|
| D | rt2x00.h | 383 static inline struct rt2x00_intf* vif_to_intf(struct ieee80211_vif *vif) in vif_to_intf() argument 385 return (struct rt2x00_intf *)vif->drv_priv; in vif_to_intf() 626 struct ieee80211_vif *vif, 1401 struct ieee80211_vif *vif); 1424 struct ieee80211_vif *vif); 1426 struct ieee80211_vif *vif); 1436 struct ieee80211_vif *vif, struct ieee80211_sta *sta, 1441 int rt2x00mac_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 1443 int rt2x00mac_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 1446 struct ieee80211_vif *vif, [all …]
|
| D | rt2x00dev.c | 37 struct ieee80211_vif *vif) in rt2x00lib_get_bssidx() argument 45 return vif->addr[5] & (rt2x00dev->ops->max_ap_intf - 1); in rt2x00lib_get_bssidx() 130 struct ieee80211_vif *vif) in rt2x00lib_intf_scheduled_iter() argument 133 struct rt2x00_intf *intf = vif_to_intf(vif); in rt2x00lib_intf_scheduled_iter() 146 rt2x00queue_update_beacon(rt2x00dev, vif); in rt2x00lib_intf_scheduled_iter() 183 struct ieee80211_vif *vif) in rt2x00lib_bc_buffer_iter() argument 192 if (vif->type != NL80211_IFTYPE_AP) in rt2x00lib_bc_buffer_iter() 198 skb = ieee80211_get_buffered_bc(rt2x00dev->hw, vif); in rt2x00lib_bc_buffer_iter() 201 skb = ieee80211_get_buffered_bc(rt2x00dev->hw, vif); in rt2x00lib_bc_buffer_iter() 206 struct ieee80211_vif *vif) in rt2x00lib_beaconupdate_iter() argument [all …]
|
| D | rt2800lib.h | 184 int rt2800_sta_add(struct rt2x00_dev *rt2x00dev, struct ieee80211_vif *vif, 217 struct ieee80211_vif *vif, u16 queue_idx, 219 u64 rt2800_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif); 220 int rt2800_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
| D | rt2x00lib.h | 156 struct ieee80211_vif *vif); 165 struct ieee80211_vif *vif); 173 struct ieee80211_vif *vif);
|
| D | rt2x00queue.c | 193 struct rt2x00_intf *intf = vif_to_intf(tx_info->control.vif); in rt2x00queue_create_tx_descriptor_seq() 724 struct ieee80211_vif *vif) in rt2x00queue_clear_beacon() argument 726 struct rt2x00_intf *intf = vif_to_intf(vif); in rt2x00queue_clear_beacon() 747 struct ieee80211_vif *vif) in rt2x00queue_update_beacon() argument 749 struct rt2x00_intf *intf = vif_to_intf(vif); in rt2x00queue_update_beacon() 761 intf->beacon->skb = ieee80211_beacon_get(rt2x00dev->hw, vif); in rt2x00queue_update_beacon()
|
| /linux-4.4.14/drivers/net/wireless/cw1200/ |
| D | sta.h | 21 struct ieee80211_vif *vif); 23 struct ieee80211_vif *vif); 25 struct ieee80211_vif *vif, 33 int cw1200_conf_tx(struct ieee80211_hw *dev, struct ieee80211_vif *vif, 38 struct ieee80211_vif *vif, struct ieee80211_sta *sta, 43 void cw1200_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 99 int cw1200_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 101 int cw1200_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 103 void cw1200_sta_notify(struct ieee80211_hw *dev, struct ieee80211_vif *vif, 107 struct ieee80211_vif *vif, [all …]
|
| D | sta.c | 40 struct ieee80211_vif *vif, 176 if (!priv->vif->p2p && !atomic_read(&priv->tx_lock)) in __cw1200_cqm_bssloss_sm() 201 skb = ieee80211_nullfunc_get(priv->hw, priv->vif); in __cw1200_cqm_bssloss_sm() 209 struct ieee80211_vif *vif) in cw1200_add_interface() argument 215 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER | in cw1200_add_interface() 226 switch (vif->type) { in cw1200_add_interface() 231 priv->mode = vif->type; in cw1200_add_interface() 238 priv->vif = vif; in cw1200_add_interface() 239 memcpy(priv->mac_addr, vif->addr, ETH_ALEN); in cw1200_add_interface() 252 struct ieee80211_vif *vif) in cw1200_remove_interface() argument [all …]
|
| D | scan.h | 43 struct ieee80211_vif *vif,
|
| D | txrx.c | 819 if (memcmp(priv->vif->addr, pspoll->bssid, ETH_ALEN)) in cw1200_handle_pspoll() 823 sta = ieee80211_find_sta(priv->vif, pspoll->ta); in cw1200_handle_pspoll() 985 sta = ieee80211_find_sta(priv->vif, hdr->addr1); in cw1200_notify_buffered_tx() 1019 bool p2p = priv->vif && priv->vif->p2p; in cw1200_rx_cb() 1168 !arg->status && priv->vif && in cw1200_rx_cb() 1169 ether_addr_equal(ieee80211_get_SA(frame), priv->vif->bss_conf.bssid)) { in cw1200_rx_cb() 1189 (priv->vif->bss_conf.assoc || in cw1200_rx_cb() 1190 priv->vif->bss_conf.ibss_joined)) { in cw1200_rx_cb()
|
| D | pm.c | 219 if (!priv->vif->p2p && in cw1200_wow_suspend() 328 if (!priv->vif->p2p && priv->join_status == CW1200_JOIN_STATUS_STA) { in cw1200_wow_resume()
|
| D | scan.c | 55 struct ieee80211_vif *vif, in cw1200_hw_scan() argument 65 if (!priv->vif) in cw1200_hw_scan() 81 frame.skb = ieee80211_probereq_get(hw, priv->vif->addr, NULL, 0, in cw1200_hw_scan()
|
| /linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
| D | mac80211-ops.c | 74 ath5k_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in ath5k_add_interface() argument 78 struct ath5k_vif *avf = (void *)vif->drv_priv; in ath5k_add_interface() 82 if ((vif->type == NL80211_IFTYPE_AP || in ath5k_add_interface() 83 vif->type == NL80211_IFTYPE_ADHOC) in ath5k_add_interface() 95 (ah->nvifs && vif->type == NL80211_IFTYPE_ADHOC)) { in ath5k_add_interface() 101 switch (vif->type) { in ath5k_add_interface() 106 avf->opmode = vif->type; in ath5k_add_interface() 135 ah->bslot[avf->bslot] = vif; in ath5k_add_interface() 147 ath5k_hw_set_lladdr(ah, vif->addr); in ath5k_add_interface() 149 ath5k_update_bssid_mask_and_opmode(ah, vif); in ath5k_add_interface() [all …]
|
| D | base.h | 91 void ath5k_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif); 98 int ath5k_beacon_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif); 103 struct ieee80211_vif *vif);
|
| D | base.c | 478 void ath5k_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif) in ath5k_vif_iter() argument 482 struct ath5k_vif *avf = (void *)vif->drv_priv; in ath5k_vif_iter() 520 struct ieee80211_vif *vif) in ath5k_update_bssid_mask_and_opmode() argument 537 if (vif) in ath5k_update_bssid_mask_and_opmode() 538 ath5k_vif_iter(&iter_data, vif->addr, vif); in ath5k_update_bssid_mask_and_opmode() 757 ieee80211_get_tx_rates(info->control.vif, (control) ? control->sta : NULL, skb, bf->rates, in ath5k_txbuf_setup() 787 info->control.vif, pktlen, info)); in ath5k_txbuf_setup() 793 info->control.vif, pktlen, info)); in ath5k_txbuf_setup() 1893 ath5k_beacon_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in ath5k_beacon_update() argument 1900 if (WARN_ON(!vif)) { in ath5k_beacon_update() [all …]
|
| /linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
| D | main.c | 54 struct ieee80211_vif *vif) in mt7601u_add_interface() argument 57 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_add_interface() 78 struct ieee80211_vif *vif) in mt7601u_remove_interface() argument 81 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_remove_interface() 140 mt7601u_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in mt7601u_bss_info_changed() argument 215 mt7601u_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in mt7601u_sta_add() argument 220 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_sta_add() 246 mt7601u_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in mt7601u_sta_remove() argument 265 mt7601u_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in mt7601u_sta_notify() argument 272 struct ieee80211_vif *vif, in mt7601u_sw_scan() argument [all …]
|
| D | tx.c | 155 ieee80211_get_tx_rates(info->control.vif, sta, skb, in mt7601u_push_txwi() 202 struct ieee80211_vif *vif = info->control.vif; in mt7601u_tx() local 221 } else if (vif) { in mt7601u_tx() 222 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7601u_tx() 267 int mt7601u_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in mt7601u_conf_tx() argument
|
| /linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
| D | mac.c | 249 if (WARN_ON(arvif->vif->type != NL80211_IFTYPE_AP && in ath10k_install_peer_wep_keys() 250 arvif->vif->type != NL80211_IFTYPE_ADHOC)) in ath10k_install_peer_wep_keys() 264 switch (arvif->vif->type) { in ath10k_install_peer_wep_keys() 306 if (arvif->vif->type != NL80211_IFTYPE_ADHOC) in ath10k_install_peer_wep_keys() 448 if (!memcmp(peer->addr, arvif->vif->addr, ETH_ALEN)) in ath10k_mac_vif_update_wep_key() 569 int ath10k_mac_vif_chan(struct ieee80211_vif *vif, in ath10k_mac_vif_chan() argument 575 conf = rcu_dereference(vif->chanctx_conf); in ath10k_mac_vif_chan() 1303 arg.ssid = arvif->vif->bss_conf.ssid; in ath10k_vdev_start_restart() 1304 arg.ssid_len = arvif->vif->bss_conf.ssid_len; in ath10k_vdev_start_restart() 1415 struct ieee80211_vif *vif = arvif->vif; in ath10k_mac_setup_bcn_tmpl() local [all …]
|
| D | mac.h | 59 int ath10k_mac_vif_chan(struct ieee80211_vif *vif, 78 static inline struct ath10k_vif *ath10k_vif_to_arvif(struct ieee80211_vif *vif) in ath10k_vif_to_arvif() argument 80 return (struct ath10k_vif *)vif->drv_priv; in ath10k_vif_to_arvif() 83 static inline void ath10k_tx_h_seq_no(struct ieee80211_vif *vif, in ath10k_tx_h_seq_no() argument 88 struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif); in ath10k_tx_h_seq_no()
|
| D | debug.h | 85 struct ieee80211_vif *vif, 88 struct ieee80211_vif *vif, int sset); 90 struct ieee80211_vif *vif, 150 void ath10k_sta_add_debugfs(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
| D | testmode.h | 24 int ath10k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 40 struct ieee80211_vif *vif, in ath10k_tm_cmd() argument
|
| D | p2p.c | 133 struct ieee80211_vif *vif) in ath10k_p2p_noa_update_vdev_iter() argument 135 struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif); in ath10k_p2p_noa_update_vdev_iter()
|
| /linux-4.4.14/drivers/net/wireless/ |
| D | mac80211_hwsim.c | 185 static inline void hwsim_check_magic(struct ieee80211_vif *vif) in hwsim_check_magic() argument 187 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; in hwsim_check_magic() 190 vif, vp->magic, vif->addr, vif->type, vif->p2p); in hwsim_check_magic() 193 static inline void hwsim_set_magic(struct ieee80211_vif *vif) in hwsim_set_magic() argument 195 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; in hwsim_set_magic() 199 static inline void hwsim_clear_magic(struct ieee80211_vif *vif) in hwsim_clear_magic() argument 201 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; in hwsim_clear_magic() 608 static void hwsim_send_ps_poll(void *dat, u8 *mac, struct ieee80211_vif *vif) in hwsim_send_ps_poll() argument 611 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; in hwsim_send_ps_poll() 635 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_ps_poll() [all …]
|
| D | mwl8k.c | 311 struct ieee80211_vif *vif; member 1926 mwl8k_vif = MWL8K_VIF(tx_info->control.vif); in mwl8k_txq_xmit() 2282 struct ieee80211_vif *vif, in mwl8k_post_pervif_cmd() argument 2285 if (vif != NULL) in mwl8k_post_pervif_cmd() 2286 cmd->macid = MWL8K_VIF(vif)->macid; in mwl8k_post_pervif_cmd() 2949 struct ieee80211_vif *vif, u8 *beacon, int len) in mwl8k_cmd_set_beacon() argument 2963 rc = mwl8k_post_pervif_cmd(hw, vif, &cmd->header); in mwl8k_cmd_set_beacon() 3223 struct ieee80211_vif *vif, u32 legacy_rate_mask) in mwl8k_cmd_set_aid() argument 3235 cmd->aid = cpu_to_le16(vif->bss_conf.aid); in mwl8k_cmd_set_aid() 3236 memcpy(cmd->bssid, vif->bss_conf.bssid, ETH_ALEN); in mwl8k_cmd_set_aid() [all …]
|
| D | adm8211.c | 1257 struct ieee80211_vif *vif) in adm8211_get_tsft() argument 1311 struct ieee80211_vif *vif, in adm8211_bss_info_changed() argument 1391 struct ieee80211_vif *vif) in adm8211_add_interface() argument 1397 switch (vif->type) { in adm8211_add_interface() 1399 priv->mode = vif->type; in adm8211_add_interface() 1407 ADM8211_CSR_WRITE(PAR0, le32_to_cpu(*(__le32 *)vif->addr)); in adm8211_add_interface() 1408 ADM8211_CSR_WRITE(PAR1, le16_to_cpu(*(__le16 *)(vif->addr + 4))); in adm8211_add_interface() 1418 struct ieee80211_vif *vif) in adm8211_remove_interface() argument
|
| /linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/ |
| D | core.c | 236 struct ieee80211_vif *vif) in rtl_op_add_interface() argument 242 if (mac->vif) { in rtl_op_add_interface() 244 "vif has been set!! mac->vif = 0x%p\n", mac->vif); in rtl_op_add_interface() 248 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER; in rtl_op_add_interface() 253 switch (ieee80211_vif_type_p2p(vif)) { in rtl_op_add_interface() 311 "operation mode %d is not support!\n", vif->type); in rtl_op_add_interface() 318 "p2p role %x\n", vif->type); in rtl_op_add_interface() 323 mac->vif = vif; in rtl_op_add_interface() 324 mac->opmode = vif->type; in rtl_op_add_interface() 325 rtlpriv->cfg->ops->set_network_type(hw, vif->type); in rtl_op_add_interface() [all …]
|
| D | base.h | 127 int rtl_tx_agg_start(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 129 int rtl_tx_agg_stop(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
| /linux-4.4.14/net/ipv4/ |
| D | ipmr.c | 1273 struct vifctl vif; in ip_mroute_setsockopt() local 1319 if (optlen != sizeof(vif)) in ip_mroute_setsockopt() 1321 if (copy_from_user(&vif, optval, sizeof(vif))) in ip_mroute_setsockopt() 1323 if (vif.vifc_vifi >= MAXVIFS) in ip_mroute_setsockopt() 1327 ret = vif_add(net, mrt, &vif, in ip_mroute_setsockopt() 1330 ret = vif_delete(mrt, vif.vifc_vifi, 0, NULL); in ip_mroute_setsockopt() 1486 struct vif_device *vif; in ipmr_ioctl() local 1502 vif = &mrt->vif_table[vr.vifi]; in ipmr_ioctl() 1504 vr.icount = vif->pkt_in; in ipmr_ioctl() 1505 vr.ocount = vif->pkt_out; in ipmr_ioctl() [all …]
|
| D | ip_fragment.c | 81 int vif; /* L3 master device index */ member 104 int vif; member 134 qp->vif == arg->vif; in ip4_frag_match() 151 qp->vif = arg->vif; in ip4_frag_init() 154 inet_getpeer_v4(net->ipv4.peers, arg->iph->saddr, arg->vif, 1) : in ip4_frag_init() 254 u32 user, int vif) in ip_find() argument 262 arg.vif = vif; in ip_find() 660 int vif = l3mdev_master_ifindex_rcu(dev); in ip_defrag() local 667 qp = ip_find(net, ip_hdr(skb), user, vif); in ip_defrag()
|
| /linux-4.4.14/drivers/net/wireless/libertas_tf/ |
| D | main.c | 205 priv->vif = NULL; in lbtf_init_adapter() 257 if ((priv->vif->type == NL80211_IFTYPE_AP) && in lbtf_tx_work() 369 struct ieee80211_vif *vif) in lbtf_op_add_interface() argument 373 if (priv->vif != NULL) in lbtf_op_add_interface() 376 priv->vif = vif; in lbtf_op_add_interface() 377 switch (vif->type) { in lbtf_op_add_interface() 386 priv->vif = NULL; in lbtf_op_add_interface() 389 lbtf_set_mac_address(priv, (u8 *) vif->addr); in lbtf_op_add_interface() 395 struct ieee80211_vif *vif) in lbtf_op_remove_interface() argument 400 if (priv->vif->type == NL80211_IFTYPE_AP || in lbtf_op_remove_interface() [all …]
|
| /linux-4.4.14/drivers/staging/wilc1000/ |
| D | linux_wlan.c | 385 if (!memcmp(Bssid1, wilc->vif[i].bssid, ETH_ALEN) || in GetIfHandler() 386 !memcmp(Bssid, wilc->vif[i].bssid, ETH_ALEN)) in GetIfHandler() 387 return wilc->vif[i].ndev; in GetIfHandler() 395 if (!memcmp(Bssid1, wilc->vif[i].bssid, ETH_ALEN) || in GetIfHandler() 396 !memcmp(Bssid, wilc->vif[i].bssid, ETH_ALEN)) in GetIfHandler() 397 return wilc->vif[i].ndev; in GetIfHandler() 414 if (wilc->vif[i].ndev == wilc_netdev) { in linux_wlan_set_bssid() 415 memcpy(wilc->vif[i].bssid, pBSSID, 6); in linux_wlan_set_bssid() 431 if (memcmp(g_linux_wlan->vif[i].bssid, null_bssid, 6)) in linux_wlan_get_num_conn_ifcs() 485 if (netif_queue_stopped(wl->vif[0].ndev)) in linux_wlan_txq_task() [all …]
|
| D | wilc_wfi_cfgoperations.c | 630 if ((pstrWFIDrv->IFC_UP) && (dev == wl->vif[1].ndev)) { in CfgConnectResult() 635 else if ((!pstrWFIDrv->IFC_UP) && (dev == wl->vif[1].ndev)) { in CfgConnectResult() 1265 if (!g_gtk_keys_saved && netdev == wl->vif[0].ndev) { in add_key() 1301 if (!g_ptk_keys_saved && netdev == wl->vif[0].ndev) { in add_key() 1370 if (netdev == wl->vif[0].ndev) { in del_key() 2577 wl->vif[0].bssid, TID); in change_virtual_intf() 2590 host_int_set_wfi_drv_handler(wl->vif[0].hif_drv); in change_virtual_intf() 2591 host_int_set_MacAddress(wl->vif[0].hif_drv, in change_virtual_intf() 2592 wl->vif[0].src_addr); in change_virtual_intf() 2597 host_int_set_wep_default_key(wl->vif[0].hif_drv, in change_virtual_intf() [all …]
|
| D | wilc_wfi_netdevice.h | 166 struct wilc_vif vif[NUM_CONCURRENT_IFC]; member
|
| /linux-4.4.14/net/ipv6/ |
| D | ip6mr.c | 453 const struct mif_device *vif = v; in ip6mr_vif_seq_show() local 454 const char *name = vif->dev ? vif->dev->name : "none"; in ip6mr_vif_seq_show() 458 vif - mrt->vif6_table, in ip6mr_vif_seq_show() 459 name, vif->bytes_in, vif->pkt_in, in ip6mr_vif_seq_show() 460 vif->bytes_out, vif->pkt_out, in ip6mr_vif_seq_show() 461 vif->flags); in ip6mr_vif_seq_show() 1660 struct mif6ctl vif; in ip6_mroute_setsockopt() local 1689 if (optlen < sizeof(vif)) in ip6_mroute_setsockopt() 1691 if (copy_from_user(&vif, optval, sizeof(vif))) in ip6_mroute_setsockopt() 1693 if (vif.mif6c_mifi >= MAXMIFS) in ip6_mroute_setsockopt() [all …]
|
| /linux-4.4.14/drivers/net/wireless/rsi/ |
| D | rsi_91x_mac80211.c | 295 struct ieee80211_vif *vif) in rsi_mac80211_add_interface() argument 302 switch (vif->type) { in rsi_mac80211_add_interface() 306 adapter->vifs[0] = vif; in rsi_mac80211_add_interface() 313 vif->type); in rsi_mac80211_add_interface() 329 struct ieee80211_vif *vif) in rsi_mac80211_remove_interface() argument 335 if (vif->type == NL80211_IFTYPE_STATION) in rsi_mac80211_remove_interface() 338 if (!memcmp(adapter->vifs[0], vif, sizeof(struct ieee80211_vif))) in rsi_mac80211_remove_interface() 431 struct ieee80211_vif *vif = adapter->vifs[0]; in rsi_get_connected_channel() local 432 if (vif) { in rsi_get_connected_channel() 433 struct ieee80211_bss_conf *bss = &vif->bss_conf; in rsi_get_connected_channel() [all …]
|
| D | rsi_91x_pkt.c | 41 bss = &info->control.vif->bss_conf; in rsi_send_data_pkt() 160 bss = &info->control.vif->bss_conf; in rsi_send_mgmt_pkt()
|
| /linux-4.4.14/drivers/net/wireless/ti/wl1251/ |
| D | event.c | 131 if (wl->vif && wl->vif->type == NL80211_IFTYPE_STATION) in wl1251_event_process() 132 ieee80211_beacon_loss(wl->vif); in wl1251_event_process() 143 if (wl->vif && wl->rssi_thold) { in wl1251_event_process() 147 ieee80211_cqm_rssi_notify(wl->vif, in wl1251_event_process() 155 ieee80211_cqm_rssi_notify(wl->vif, in wl1251_event_process()
|
| D | main.c | 497 struct ieee80211_vif *vif) in wl1251_op_add_interface() argument 502 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER | in wl1251_op_add_interface() 507 vif->type, vif->addr); in wl1251_op_add_interface() 510 if (wl->vif) { in wl1251_op_add_interface() 515 wl->vif = vif; in wl1251_op_add_interface() 517 switch (vif->type) { in wl1251_op_add_interface() 529 if (!ether_addr_equal_unaligned(wl->mac_addr, vif->addr)) { in wl1251_op_add_interface() 530 memcpy(wl->mac_addr, vif->addr, ETH_ALEN); in wl1251_op_add_interface() 543 struct ieee80211_vif *vif) in wl1251_op_remove_interface() argument 549 wl->vif = NULL; in wl1251_op_remove_interface() [all …]
|
| /linux-4.4.14/drivers/net/wireless/p54/ |
| D | main.c | 38 struct ieee80211_vif *vif, in p54_sta_add_remove() argument 53 static void p54_sta_notify(struct ieee80211_hw *dev, struct ieee80211_vif *vif, in p54_sta_notify() argument 139 struct ieee80211_vif *vif) in p54_beacon_update() argument 145 beacon = ieee80211_beacon_get(priv->hw, vif); in p54_beacon_update() 227 struct ieee80211_vif *vif) in p54_add_interface() argument 232 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER; in p54_add_interface() 240 priv->vif = vif; in p54_add_interface() 242 switch (vif->type) { in p54_add_interface() 247 priv->mode = vif->type; in p54_add_interface() 254 memcpy(priv->mac_addr, vif->addr, ETH_ALEN); in p54_add_interface() [all …]
|
| /linux-4.4.14/drivers/net/wireless/iwlegacy/ |
| D | 4965.h | 84 int il4965_tx_agg_start(struct il_priv *il, struct ieee80211_vif *vif, 86 int il4965_tx_agg_stop(struct il_priv *il, struct ieee80211_vif *vif, 111 int il4965_request_scan(struct il_priv *il, struct ieee80211_vif *vif); 114 int il4965_manage_ibss_station(struct il_priv *il, struct ieee80211_vif *vif, 177 struct ieee80211_vif *vif, struct ieee80211_sta *sta, 180 struct ieee80211_vif *vif, 184 int il4965_mac_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 188 int il4965_mac_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 191 il4965_mac_channel_switch(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
| D | common.c | 1120 dtim_period = il->vif ? il->vif->bss_conf.dtim_period : 0; in il_build_powertable_cmd() 1494 struct ieee80211_vif *vif) in il_get_passive_dwell_time() argument 1510 value = il->vif ? il->vif->bss_conf.beacon_int : 0; in il_get_passive_dwell_time() 1533 il_scan_initiate(struct il_priv *il, struct ieee80211_vif *vif) in il_scan_initiate() argument 1561 ret = il->ops->request_scan(il, vif); in il_scan_initiate() 1574 il_mac_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in il_mac_hw_scan() argument 1597 il->scan_vif = vif; in il_mac_hw_scan() 1600 ret = il_scan_initiate(il, vif); in il_mac_hw_scan() 2462 il_mac_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in il_mac_sta_remove() argument 3646 struct ieee80211_vif *vif = il->vif; in il_send_rxon_timing() local [all …]
|
| D | 4965.c | 1482 struct ieee80211_vif *vif = il->vif; in il4965_hw_channel_switch() local 1485 if (WARN_ON_ONCE(vif == NULL)) in il4965_hw_channel_switch() 1517 vif->bss_conf.beacon_int * switch_count * TIME_UNIT; in il4965_hw_channel_switch() 1749 struct ieee80211_vif *vif = il->vif; in il4965_post_associate() local 1752 if (!vif || !il->is_open) in il4965_post_associate() 1774 il->staging.assoc_id = cpu_to_le16(vif->bss_conf.aid); in il4965_post_associate() 1776 D_ASSOC("assoc id %d beacon interval %d\n", vif->bss_conf.aid, in il4965_post_associate() 1777 vif->bss_conf.beacon_int); in il4965_post_associate() 1779 if (vif->bss_conf.use_short_preamble) in il4965_post_associate() 1785 if (vif->bss_conf.use_short_slot) in il4965_post_associate() [all …]
|
| D | common.h | 1118 struct ieee80211_vif *vif; member 1223 struct ieee80211_vif *vif; member 1584 int (*request_scan) (struct il_priv *il, struct ieee80211_vif *vif); 1591 struct ieee80211_vif *vif, bool add); 1702 int il_mac_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 1711 struct ieee80211_vif *vif); 1721 int il_mac_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif); 1723 struct ieee80211_vif *vif); 1724 int il_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 1726 void il_mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, [all …]
|
| D | 3945-mac.c | 1553 struct ieee80211_vif *vif) in il3945_get_channels_for_scan() argument 1567 passive_dwell = il_get_passive_dwell_time(il, band, vif); in il3945_get_channels_for_scan() 2528 il3945_request_scan(struct il_priv *il, struct ieee80211_vif *vif) in il3945_request_scan() argument 2567 interval = vif->bss_conf.beacon_int; in il3945_request_scan() 2642 vif->addr, il->scan_request->ie, in il3945_request_scan() 2652 (void *)&scan->data[len], vif); in il3945_request_scan() 2730 if (!il->vif || !il->is_open) in il3945_post_associate() 2733 D_ASSOC("Associated as %d to: %pM\n", il->vif->bss_conf.aid, in il3945_post_associate() 2752 il->staging.assoc_id = cpu_to_le16(il->vif->bss_conf.aid); in il3945_post_associate() 2754 D_ASSOC("assoc id %d beacon interval %d\n", il->vif->bss_conf.aid, in il3945_post_associate() [all …]
|
| D | 4965-mac.c | 768 il4965_get_channels_for_scan(struct il_priv *il, struct ieee80211_vif *vif, in il4965_get_channels_for_scan() argument 785 passive_dwell = il_get_passive_dwell_time(il, band, vif); in il4965_get_channels_for_scan() 862 il4965_request_scan(struct il_priv *il, struct ieee80211_vif *vif) in il4965_request_scan() argument 907 interval = vif->bss_conf.beacon_int; in il4965_request_scan() 1019 vif->addr, il->scan_request->ie, in il4965_request_scan() 1028 il4965_get_channels_for_scan(il, vif, band, is_active, n_probes, in il4965_request_scan() 1051 il4965_manage_ibss_station(struct il_priv *il, struct ieee80211_vif *vif, in il4965_manage_ibss_station() argument 1054 struct il_vif_priv *vif_priv = (void *)vif->drv_priv; in il4965_manage_ibss_station() 1057 return il4965_add_bssid_station(il, vif->bss_conf.bssid, in il4965_manage_ibss_station() 1060 vif->bss_conf.bssid); in il4965_manage_ibss_station() [all …]
|
| /linux-4.4.14/drivers/staging/vt6656/ |
| D | main_usb.c | 584 static int vnt_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in vnt_add_interface() argument 588 priv->vif = vif; in vnt_add_interface() 590 switch (vif->type) { in vnt_add_interface() 609 priv->op_mode = vif->type; in vnt_add_interface() 620 struct ieee80211_vif *vif) in vnt_remove_interface() argument 624 switch (vif->type) { in vnt_remove_interface() 692 struct ieee80211_vif *vif, struct ieee80211_bss_conf *conf, in vnt_bss_info_changed() argument 748 vnt_beacon_enable(priv, vif, conf); in vnt_bss_info_changed() 840 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in vnt_set_key() argument 847 if (vnt_set_keys(hw, sta, vif, key)) in vnt_set_key() [all …]
|
| D | wcmd.c | 127 if (!priv->vif) in vnt_run_command() 130 vnt_beacon_make(priv, priv->vif); in vnt_run_command()
|
| D | key.c | 122 struct ieee80211_vif *vif, struct ieee80211_key_conf *key) in vnt_set_keys() argument 124 struct ieee80211_bss_conf *conf = &vif->bss_conf; in vnt_set_keys()
|
| D | key.h | 53 struct ieee80211_vif *vif, struct ieee80211_key_conf *key);
|
| /linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
| D | mac80211_if.c | 490 brcms_ops_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in brcms_ops_add_interface() argument 495 if (vif->type != NL80211_IFTYPE_STATION && in brcms_ops_add_interface() 496 vif->type != NL80211_IFTYPE_AP && in brcms_ops_add_interface() 497 vif->type != NL80211_IFTYPE_ADHOC) { in brcms_ops_add_interface() 500 __func__, vif->type); in brcms_ops_add_interface() 507 if (vif->type == NL80211_IFTYPE_STATION) in brcms_ops_add_interface() 508 brcms_c_start_station(wl->wlc, vif->addr); in brcms_ops_add_interface() 509 else if (vif->type == NL80211_IFTYPE_AP) in brcms_ops_add_interface() 510 brcms_c_start_ap(wl->wlc, vif->addr, vif->bss_conf.bssid, in brcms_ops_add_interface() 511 vif->bss_conf.ssid, vif->bss_conf.ssid_len); in brcms_ops_add_interface() [all …]
|
| /linux-4.4.14/drivers/net/wireless/ti/wl18xx/ |
| D | tx.c | 32 void wl18xx_get_last_tx_rate(struct wl1271 *wl, struct ieee80211_vif *vif, in wl18xx_get_last_tx_rate() argument 64 if (fw_rate > CONF_HW_RATE_INDEX_MCS7_SGI && vif) { in wl18xx_get_last_tx_rate() 65 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); in wl18xx_get_last_tx_rate() 107 wl18xx_get_last_tx_rate(wl, info->control.vif, in wl18xx_tx_complete_packet()
|
| /linux-4.4.14/drivers/net/wireless/zd1211rw/ |
| D | zd_mac.c | 259 if (!mac->vif) in set_mac_and_bssid() 262 r = zd_write_mac_addr(&mac->chip, mac->vif->addr); in set_mac_and_bssid() 272 return zd_write_bssid(&mac->chip, mac->vif->addr); in set_mac_and_bssid() 413 if (mac->vif != NULL) { in zd_restore_settings() 414 beacon = ieee80211_beacon_get(mac->hw, mac->vif); in zd_restore_settings() 1114 struct ieee80211_vif *vif) in zd_op_add_interface() argument 1122 switch (vif->type) { in zd_op_add_interface() 1128 mac->type = vif->type; in zd_op_add_interface() 1134 mac->vif = vif; in zd_op_add_interface() 1140 struct ieee80211_vif *vif) in zd_op_remove_interface() argument [all …]
|
| /linux-4.4.14/drivers/staging/vt6655/ |
| D | device_main.c | 916 if (!(priv->vif->bss_conf.assoc && priv->uCurrRSSI)) in vnt_check_bb_vga() 993 while (isr && priv->vif) { in vnt_interrupt_process() 1014 priv->vif->bss_conf.enable_beacon) { in vnt_interrupt_process() 1016 (priv->vif->bss_conf.beacon_int - MAKE_BEACON_RESERVED) << 10); in vnt_interrupt_process() 1045 if (priv->vif->bss_conf.enable_beacon) in vnt_interrupt_process() 1046 vnt_beacon_make(priv, priv->vif); in vnt_interrupt_process() 1074 if (priv->vif) in vnt_interrupt_work() 1082 if (priv->vif) in vnt_interrupt() 1213 static int vnt_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in vnt_add_interface() argument 1217 priv->vif = vif; in vnt_add_interface() [all …]
|
| D | key.c | 114 struct ieee80211_vif *vif, struct ieee80211_key_conf *key) in vnt_set_keys() argument 116 struct ieee80211_bss_conf *conf = &vif->bss_conf; in vnt_set_keys()
|
| D | key.h | 67 struct ieee80211_vif *vif, struct ieee80211_key_conf *key);
|
| D | device.h | 119 struct ieee80211_vif *vif; member
|
| /linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
| D | leds.c | 36 if (!priv->vif || priv->vif->type == NL80211_IFTYPE_UNSPECIFIED) in led_turn_on() 74 if (!priv->vif || priv->vif->type == NL80211_IFTYPE_UNSPECIFIED) in led_turn_off()
|
| D | dev.c | 264 rts_dur = ieee80211_rts_duration(dev, priv->vif, in rtl8187_tx() 269 rts_dur = ieee80211_ctstoself_duration(dev, priv->vif, in rtl8187_tx() 304 ieee80211_generic_frame_duration(dev, priv->vif, in rtl8187_tx() 1056 static u64 rtl8187_get_tsf(struct ieee80211_hw *dev, struct ieee80211_vif *vif) in rtl8187_get_tsf() argument 1069 struct ieee80211_vif *vif = in rtl8187_beacon_work() local 1080 skb = ieee80211_beacon_get(dev, vif); in rtl8187_beacon_work() 1089 mgmt->u.beacon.timestamp = cpu_to_le64(rtl8187_get_tsf(dev, vif)); in rtl8187_beacon_work() 1102 usecs_to_jiffies(1024 * vif->bss_conf.beacon_int)); in rtl8187_beacon_work() 1107 struct ieee80211_vif *vif) in rtl8187_add_interface() argument 1115 if (priv->vif) in rtl8187_add_interface() [all …]
|
| /linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
| D | dev.c | 503 rts_duration = ieee80211_rts_duration(dev, priv->vif, in rtl8180_tx() 508 rts_duration = ieee80211_ctstoself_duration(dev, priv->vif, in rtl8180_tx() 528 duration = ieee80211_generic_frame_duration(dev, priv->vif, in rtl8180_tx() 1268 struct ieee80211_vif *vif) in rtl8180_get_tsf() argument 1280 struct ieee80211_vif *vif = in rtl8180_beacon_work() local 1291 skb = ieee80211_beacon_get(dev, vif); in rtl8180_beacon_work() 1300 mgmt->u.beacon.timestamp = cpu_to_le64(rtl8180_get_tsf(dev, vif)); in rtl8180_beacon_work() 1313 usecs_to_jiffies(1024 * vif->bss_conf.beacon_int)); in rtl8180_beacon_work() 1317 struct ieee80211_vif *vif) in rtl8180_add_interface() argument 1325 if (priv->vif) in rtl8180_add_interface() [all …]
|
| D | rtl8180.h | 107 struct ieee80211_vif *vif; member
|
| /linux-4.4.14/include/linux/usb/ |
| D | m66592.h | 39 unsigned vif:1; member
|
| /linux-4.4.14/arch/sh/boards/mach-x3proto/ |
| D | setup.c | 71 .vif = 1, 100 .vif = 1,
|
| /linux-4.4.14/drivers/net/wireless/ath/ar5523/ |
| D | ar5523.c | 1094 static void ar5523_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in ar5523_flush() argument 1104 struct ieee80211_vif *vif) in ar5523_add_interface() argument 1110 if (ar->vif) { in ar5523_add_interface() 1115 switch (vif->type) { in ar5523_add_interface() 1117 ar->vif = vif; in ar5523_add_interface() 1126 struct ieee80211_vif *vif) in ar5523_remove_interface() argument 1131 ar->vif = NULL; in ar5523_remove_interface() 1158 sta = ieee80211_find_sta(ar->vif, bss_conf->bssid); in ar5523_get_wlan_mode() 1195 sta = ieee80211_find_sta(ar->vif, bss_conf->bssid); in ar5523_create_rateset() 1238 struct ieee80211_vif *vif, in ar5523_create_connection() argument [all …]
|
| D | ar5523.h | 130 struct ieee80211_vif *vif; member
|
| /linux-4.4.14/drivers/net/wireless/ath/ |
| D | key.c | 474 struct ieee80211_vif *vif, in ath_key_config() argument 509 switch (vif->type) { in ath_key_config() 511 memcpy(gmac, vif->addr, ETH_ALEN); in ath_key_config() 535 if (vif->type != NL80211_IFTYPE_AP) { in ath_key_config() 554 vif->type == NL80211_IFTYPE_AP); in ath_key_config()
|
| /linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| D | fw.c | 604 mac->vif->bss_conf.beacon_int); in rtl92s_set_fw_pwrmode_cmd() 612 max_wakeup_period = mac->vif->bss_conf.beacon_int; in rtl92s_set_fw_pwrmode_cmd() 614 max_wakeup_period = mac->vif->bss_conf.beacon_int * in rtl92s_set_fw_pwrmode_cmd() 615 mac->vif->bss_conf.dtim_period; in rtl92s_set_fw_pwrmode_cmd() 647 mac->vif->bss_conf.beacon_int); in rtl92s_set_fw_joinbss_report_cmd()
|
| /linux-4.4.14/drivers/net/wireless/b43/ |
| D | main.c | 370 struct ieee80211_vif *vif, 940 struct ieee80211_vif *vif, in b43_op_update_tkip_key() argument 1842 beacon = ieee80211_beacon_get(wl->hw, wl->vif); in b43_update_templates() 3802 struct ieee80211_vif *vif, u16 _queue, in b43_op_conf_tx() argument 3849 static u64 b43_op_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in b43_op_get_tsf() argument 3869 struct ieee80211_vif *vif, u64 tsf) in b43_op_set_tsf() argument 4114 struct ieee80211_vif *vif, in b43_op_bss_info_changed() argument 4127 B43_WARN_ON(wl->vif != vif); in b43_op_bss_info_changed() 4173 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in b43_op_set_key() argument 4186 if ((vif->type == NL80211_IFTYPE_ADHOC || in b43_op_set_key() [all …]
|
| /linux-4.4.14/arch/sh/boards/mach-highlander/ |
| D | setup.c | 38 .vif = 1, 68 .vif = 1,
|
| /linux-4.4.14/drivers/net/wireless/b43legacy/ |
| D | main.c | 1058 dev->wl->vif, in b43legacy_write_probe_resp_plcp() 1124 dev->wl->vif, in b43legacy_generate_probe_resp() 1273 beacon = ieee80211_beacon_get(wl->hw, wl->vif); in b43legacy_update_templates() 2538 struct ieee80211_vif *vif, u16 queue, in b43legacy_op_conf_tx() argument 2838 struct ieee80211_vif *vif, in b43legacy_op_bss_info_changed() argument 2847 B43legacy_WARN_ON(wl->vif != vif); in b43legacy_op_bss_info_changed() 3409 struct ieee80211_vif *vif) in b43legacy_op_add_interface() argument 3418 if (vif->type != NL80211_IFTYPE_AP && in b43legacy_op_add_interface() 3419 vif->type != NL80211_IFTYPE_STATION && in b43legacy_op_add_interface() 3420 vif->type != NL80211_IFTYPE_WDS && in b43legacy_op_add_interface() [all …]
|
| D | xmit.c | 230 info->control.vif, in generate_txhdr_fw3() 322 info->control.vif, in generate_txhdr_fw3() 331 info->control.vif, in generate_txhdr_fw3()
|