/Linux-v5.4/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 145 static bool __ath6kl_cfg80211_sscan_stop(struct ath6kl_vif *vif) in __ath6kl_cfg80211_sscan_stop() argument 147 struct ath6kl *ar = vif->ar; in __ath6kl_cfg80211_sscan_stop() 149 if (!test_and_clear_bit(SCHED_SCANNING, &vif->flags)) in __ath6kl_cfg80211_sscan_stop() 152 del_timer_sync(&vif->sched_scan_timer); in __ath6kl_cfg80211_sscan_stop() 157 ath6kl_wmi_enable_sched_scan_cmd(ar->wmi, vif->fw_vif_idx, false); in __ath6kl_cfg80211_sscan_stop() 162 static void ath6kl_cfg80211_sscan_disable(struct ath6kl_vif *vif) in ath6kl_cfg80211_sscan_disable() argument 164 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_sscan_disable() 167 stopped = __ath6kl_cfg80211_sscan_stop(vif); in ath6kl_cfg80211_sscan_disable() 175 static int ath6kl_set_wpa_version(struct ath6kl_vif *vif, in ath6kl_set_wpa_version() argument 181 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() 350 static void ath6kl_install_static_wep_keys(struct ath6kl_vif *vif) in ath6kl_install_static_wep_keys() argument 356 if (vif->wep_key_list[index].key_len) { in ath6kl_install_static_wep_keys() 358 if (index == vif->def_txkey_index) in ath6kl_install_static_wep_keys() 361 ath6kl_wmi_addkey_cmd(vif->ar->wmi, vif->fw_vif_idx, in ath6kl_install_static_wep_keys() [all …]
|
/Linux-v5.4/drivers/staging/wilc1000/ |
D | wilc_netdev.c | 21 struct wilc_vif *vif = netdev_priv(dev); in isr_uh_routine() local 22 struct wilc *wilc = vif->wilc; in isr_uh_routine() 34 struct wilc_vif *vif = netdev_priv(userdata); in isr_bh_routine() local 35 struct wilc *wilc = vif->wilc; in isr_bh_routine() 50 struct wilc_vif *vif = netdev_priv(dev); in init_irq() local 51 struct wilc *wl = vif->wilc; in init_irq() 76 struct wilc_vif *vif = netdev_priv(dev); in deinit_irq() local 77 struct wilc *wilc = vif->wilc; in deinit_irq() 108 if (wilc->vif[i]->mode == WILC_STATION_MODE) in get_if_handler() 110 wilc->vif[i]->bssid)) { in get_if_handler() [all …]
|
D | wilc_wfi_cfgoperations.c | 136 struct wilc_vif *vif = netdev_priv(dev); in cfg_connect_result() local 137 struct wilc *wl = vif->wilc; in cfg_connect_result() 141 vif->connecting = false; in cfg_connect_result() 151 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result() 176 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result() 194 if (wl->vif[i]) in wilc_get_wl_to_vif() 195 return wl->vif[i]; in wilc_get_wl_to_vif() 204 struct wilc_vif *vif; in set_channel() local 209 vif = wilc_get_wl_to_vif(wl); in set_channel() 210 if (IS_ERR(vif)) { in set_channel() [all …]
|
D | wilc_hif.c | 82 struct wilc_vif *vif; member 136 wilc_alloc_work(struct wilc_vif *vif, void (*work_fun)(struct work_struct *), in wilc_alloc_work() argument 148 msg->vif = vif; in wilc_alloc_work() 160 if (!msg->vif || !msg->vif->wilc || !msg->vif->wilc->hif_workqueue) in wilc_enqueue_work() 163 if (!queue_work(msg->vif->wilc->hif_workqueue, &msg->work)) in wilc_enqueue_work() 173 int wilc_get_vif_idx(struct wilc_vif *vif) in wilc_get_vif_idx() argument 175 return vif->idx + 1; in wilc_get_vif_idx() 190 return wilc->vif[index]; in wilc_get_vif_from_idx() 193 static int handle_scan_done(struct wilc_vif *vif, enum scan_event evt) in handle_scan_done() argument 198 struct host_if_drv *hif_drv = vif->hif_drv; in handle_scan_done() [all …]
|
D | wilc_hif.h | 173 int wilc_remove_wep_key(struct wilc_vif *vif, u8 index); 174 int wilc_set_wep_default_keyid(struct wilc_vif *vif, u8 index); 175 int wilc_add_wep_key_bss_sta(struct wilc_vif *vif, const u8 *key, u8 len, 177 int wilc_add_wep_key_bss_ap(struct wilc_vif *vif, const u8 *key, u8 len, 179 int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len, 182 s32 wilc_get_inactive_time(struct wilc_vif *vif, const u8 *mac, 184 int wilc_add_rx_gtk(struct wilc_vif *vif, const u8 *rx_gtk, u8 gtk_key_len, 188 int wilc_set_pmkid_info(struct wilc_vif *vif, struct wilc_pmkid_attr *pmkid); 189 int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr); 190 int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ies, [all …]
|
/Linux-v5.4/drivers/net/xen-netback/ |
D | interface.c | 73 int xenvif_schedulable(struct xenvif *vif) in xenvif_schedulable() argument 75 return netif_running(vif->dev) && in xenvif_schedulable() 76 test_bit(VIF_STATUS_CONNECTED, &vif->status) && in xenvif_schedulable() 77 !vif->disabled; in xenvif_schedulable() 100 if (unlikely(queue->vif->disabled)) { in xenvif_poll() 138 struct net_device *dev = queue->vif->dev; in xenvif_queue_stopped() 145 struct net_device *dev = queue->vif->dev; in xenvif_wake_queue() 153 struct xenvif *vif = netdev_priv(dev); in xenvif_select_queue() local 154 unsigned int size = vif->hash.size; in xenvif_select_queue() 159 num_queues = READ_ONCE(vif->num_queues); in xenvif_select_queue() [all …]
|
D | hash.c | 35 static void xenvif_add_hash(struct xenvif *vif, const u8 *tag, in xenvif_add_hash() argument 50 spin_lock_irqsave(&vif->hash.cache.lock, flags); in xenvif_add_hash() 54 list_for_each_entry_rcu(entry, &vif->hash.cache.list, link) { in xenvif_add_hash() 64 new->seq = atomic_inc_return(&vif->hash.cache.seq); in xenvif_add_hash() 65 list_add_rcu(&new->link, &vif->hash.cache.list); in xenvif_add_hash() 67 if (++vif->hash.cache.count > xenvif_hash_cache_size) { in xenvif_add_hash() 69 vif->hash.cache.count--; in xenvif_add_hash() 74 spin_unlock_irqrestore(&vif->hash.cache.lock, flags); in xenvif_add_hash() 80 static u32 xenvif_new_hash(struct xenvif *vif, const u8 *data, in xenvif_new_hash() argument 85 val = xen_netif_toeplitz_hash(vif->hash.key, in xenvif_new_hash() [all …]
|
D | xenbus.c | 19 static void xen_unregister_watchers(struct xenvif *vif); 92 dev_queue = netdev_get_tx_queue(queue->vif->dev, queue->id); in xenvif_read_io_ring() 163 struct xenvif *vif = m->private; in xenvif_ctrl_show() local 165 xenvif_dump_hash_info(vif, m); in xenvif_ctrl_show() 171 static void xenvif_debugfs_addif(struct xenvif *vif) in xenvif_debugfs_addif() argument 175 vif->xenvif_dbg_root = debugfs_create_dir(vif->dev->name, in xenvif_debugfs_addif() 177 for (i = 0; i < vif->num_queues; ++i) { in xenvif_debugfs_addif() 181 debugfs_create_file(filename, 0600, vif->xenvif_dbg_root, in xenvif_debugfs_addif() 182 &vif->queues[i], in xenvif_debugfs_addif() 186 if (vif->ctrl_irq) in xenvif_debugfs_addif() [all …]
|
/Linux-v5.4/drivers/net/wireless/ath/wil6210/ |
D | netdev.c | 27 struct wil6210_vif *vif; in wil_has_other_active_ifaces() local 31 vif = wil->vifs[i]; in wil_has_other_active_ifaces() 32 if (vif) { in wil_has_other_active_ifaces() 33 ndev_i = vif_to_ndev(vif); in wil_has_other_active_ifaces() 155 struct wil6210_vif *vif; in wil6210_netdev_poll_tx() local 161 vif = wil->vifs[txdata->mid]; in wil6210_netdev_poll_tx() 162 if (unlikely(!vif)) { in wil6210_netdev_poll_tx() 167 tx_done += wil_tx_complete(vif, i); in wil6210_netdev_poll_tx() 212 static void wil_vif_deinit(struct wil6210_vif *vif) in wil_vif_deinit() argument 214 del_timer_sync(&vif->scan_timer); in wil_vif_deinit() [all …]
|
D | p2p.c | 26 static int wil_p2p_start_listen(struct wil6210_vif *vif) in wil_p2p_start_listen() argument 28 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_start_listen() 29 struct wil_p2p_info *p2p = &vif->p2p; in wil_p2p_start_listen() 35 rc = wmi_p2p_cfg(vif, channel, P2P_DEFAULT_BI); in wil_p2p_start_listen() 41 rc = wmi_set_ssid(vif, strlen(P2P_WILDCARD_SSID), P2P_WILDCARD_SSID); in wil_p2p_start_listen() 47 rc = wmi_start_listen(vif); in wil_p2p_start_listen() 58 wmi_stop_discovery(vif); in wil_p2p_start_listen() 70 int wil_p2p_search(struct wil6210_vif *vif, in wil_p2p_search() argument 73 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_search() 75 struct wil_p2p_info *p2p = &vif->p2p; in wil_p2p_search() [all …]
|
D | cfg80211.c | 441 int wil_cid_fill_sinfo(struct wil6210_vif *vif, int cid, in wil_cid_fill_sinfo() argument 444 struct wil6210_priv *wil = vif_to_wil(vif); in wil_cid_fill_sinfo() 459 rc = wmi_call(wil, WMI_NOTIFY_REQ_CMDID, vif->mid, &cmd, sizeof(cmd), in wil_cid_fill_sinfo() 471 cid, vif->mid, le16_to_cpu(reply.evt.bf_mcs), in wil_cid_fill_sinfo() 512 if (test_bit(wil_vif_fwconnected, vif->status)) { in wil_cid_fill_sinfo() 528 struct wil6210_vif *vif = ndev_to_vif(ndev); in wil_cfg80211_get_station() local 532 int cid = wil_find_cid(wil, vif->mid, mac); in wil_cfg80211_get_station() 535 vif->mid); in wil_cfg80211_get_station() 539 rc = wil_cid_fill_sinfo(vif, cid, sinfo); in wil_cfg80211_get_station() 568 struct wil6210_vif *vif = ndev_to_vif(dev); in wil_cfg80211_dump_station() local [all …]
|
D | wmi.c | 777 static void wmi_evt_ready(struct wil6210_vif *vif, int id, void *d, int len) in wmi_evt_ready() argument 779 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_ready() 825 static void wmi_evt_rx_mgmt(struct wil6210_vif *vif, int id, void *d, int len) in wmi_evt_rx_mgmt() argument 827 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_rx_mgmt() 913 cfg80211_rx_mgmt(vif_to_radio_wdev(wil, vif), freq, signal, in wmi_evt_rx_mgmt() 919 static void wmi_evt_tx_mgmt(struct wil6210_vif *vif, int id, void *d, int len) in wmi_evt_tx_mgmt() argument 930 static void wmi_evt_scan_complete(struct wil6210_vif *vif, int id, in wmi_evt_scan_complete() argument 933 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_scan_complete() 936 if (vif->scan_request) { in wmi_evt_scan_complete() 946 vif->scan_request, info.aborted); in wmi_evt_scan_complete() [all …]
|
/Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/ |
D | cfg80211.c | 78 struct qtnf_vif *vif; in qtnf_validate_iface_combinations() local 90 vif = &mac->iflist[i]; in qtnf_validate_iface_combinations() 91 if (vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) in qtnf_validate_iface_combinations() 92 params.iftype_num[vif->wdev.iftype]++; in qtnf_validate_iface_combinations() 113 struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); in qtnf_change_virtual_intf() local 118 ret = qtnf_validate_iface_combinations(wiphy, vif, type); in qtnf_change_virtual_intf() 121 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf() 130 qtnf_scan_done(vif->mac, true); in qtnf_change_virtual_intf() 132 ret = qtnf_cmd_send_change_intf_type(vif, type, use4addr, mac_addr); in qtnf_change_virtual_intf() 135 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf() [all …]
|
D | event.c | 18 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_assoc() argument 34 mac->macid, vif->vifid, len, sizeof(*sta_assoc)); in qtnf_event_handle_sta_assoc() 38 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_sta_assoc() 40 mac->macid, vif->vifid); in qtnf_event_handle_sta_assoc() 51 pr_debug("VIF%u.%u: MAC:%pM FC:%x\n", mac->macid, vif->vifid, sta_addr, in qtnf_event_handle_sta_assoc() 54 qtnf_sta_list_add(vif, sta_addr); in qtnf_event_handle_sta_assoc() 58 sinfo->generation = vif->generation; in qtnf_event_handle_sta_assoc() 101 cfg80211_new_sta(vif->netdev, sta_assoc->sta_addr, sinfo, in qtnf_event_handle_sta_assoc() 110 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_deauth() argument 119 mac->macid, vif->vifid, len, in qtnf_event_handle_sta_deauth() [all …]
|
D | core.c | 75 struct qtnf_vif *vif; in qtnf_netdev_hard_start_xmit() local 78 vif = qtnf_netdev_get_priv(ndev); in qtnf_netdev_hard_start_xmit() 86 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { in qtnf_netdev_hard_start_xmit() 92 mac = vif->mac; in qtnf_netdev_hard_start_xmit() 108 vif->cons_tx_timeout_cnt = 0; in qtnf_netdev_hard_start_xmit() 118 struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); in qtnf_netdev_get_stats64() local 124 if (!vif->stats64) in qtnf_netdev_get_stats64() 132 stats64 = per_cpu_ptr(vif->stats64, cpu); in qtnf_netdev_get_stats64() 153 struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); in qtnf_netdev_tx_timeout() local 157 if (unlikely(!vif || !vif->mac || !vif->mac->bus)) in qtnf_netdev_tx_timeout() [all …]
|
D | commands.h | 16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype, 18 int qtnf_cmd_send_change_intf_type(struct qtnf_vif *vif, 22 int qtnf_cmd_send_del_intf(struct qtnf_vif *vif); 26 int qtnf_cmd_send_start_ap(struct qtnf_vif *vif, 28 int qtnf_cmd_send_stop_ap(struct qtnf_vif *vif); 29 int qtnf_cmd_send_register_mgmt(struct qtnf_vif *vif, u16 frame_type, bool reg); 30 int qtnf_cmd_send_frame(struct qtnf_vif *vif, u32 cookie, u16 flags, 32 int qtnf_cmd_send_mgmt_set_appie(struct qtnf_vif *vif, u8 frame_type, 34 int qtnf_cmd_get_sta_info(struct qtnf_vif *vif, const u8 *sta_mac, 38 int qtnf_cmd_send_add_key(struct qtnf_vif *vif, u8 key_index, bool pairwise, [all …]
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac-ctxt.c | 93 struct ieee80211_vif *vif; member 101 struct ieee80211_vif *vif) in iwl_mvm_mac_tsf_id_iter() argument 104 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_tsf_id_iter() 108 if (vif == data->vif) in iwl_mvm_mac_tsf_id_iter() 127 switch (data->vif->type) { in iwl_mvm_mac_tsf_id_iter() 137 if (vif->type != NL80211_IFTYPE_AP || in iwl_mvm_mac_tsf_id_iter() 142 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter() 143 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter() 148 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter() 149 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter() [all …]
|
D | mac80211.c | 212 struct ieee80211_vif *vif, 767 if ((info->control.vif->type == NL80211_IFTYPE_AP || in iwl_mvm_mac_tx() 768 info->control.vif->type == NL80211_IFTYPE_ADHOC) && in iwl_mvm_mac_tx() 774 if (!sta && info->control.vif->type == NL80211_IFTYPE_STATION && in iwl_mvm_mac_tx() 777 iwl_mvm_vif_from_mac80211(info->control.vif); in iwl_mvm_mac_tx() 906 iwl_mvm_ampdu_check_trigger(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_ampdu_check_trigger() argument 913 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), in iwl_mvm_ampdu_check_trigger() 951 struct ieee80211_vif *vif, in iwl_mvm_mac_ampdu_action() argument 974 if (iwl_mvm_vif_from_mac80211(vif)->ap_sta_id == in iwl_mvm_mac_ampdu_action() 977 u16 macid = iwl_mvm_vif_from_mac80211(vif)->id; in iwl_mvm_mac_ampdu_action() [all …]
|
D | power.c | 129 struct ieee80211_vif *vif, in iwl_mvm_beacon_filter_set_cqm_params() argument 132 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_beacon_filter_set_cqm_params() 134 if (vif->bss_conf.cqm_rssi_thold) { in iwl_mvm_beacon_filter_set_cqm_params() 136 cpu_to_le32(vif->bss_conf.cqm_rssi_hyst); in iwl_mvm_beacon_filter_set_cqm_params() 139 cpu_to_le32(-vif->bss_conf.cqm_rssi_thold); in iwl_mvm_beacon_filter_set_cqm_params() 182 struct ieee80211_vif *vif, in iwl_mvm_power_configure_uapsd() argument 185 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_configure_uapsd() 274 struct ieee80211_vif *vif) in iwl_mvm_p2p_standalone_iterator() argument 278 switch (ieee80211_vif_type_p2p(vif)) { in iwl_mvm_p2p_standalone_iterator() 284 if (vif->bss_conf.assoc) in iwl_mvm_p2p_standalone_iterator() [all …]
|
D | debugfs-vif.c | 66 struct ieee80211_vif *vif, in iwl_dbgfs_update_pm() argument 69 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_update_pm() 76 int dtimper = vif->bss_conf.dtim_period ?: 1; in iwl_dbgfs_update_pm() 77 int dtimper_msec = dtimper * vif->bss_conf.beacon_int; in iwl_dbgfs_update_pm() 127 static ssize_t iwl_dbgfs_pm_params_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_pm_params_write() argument 130 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_pm_params_write() 183 iwl_dbgfs_update_pm(mvm, vif, param, val); in iwl_dbgfs_pm_params_write() 194 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_tx_pwr_lmt_read() local 200 vif->bss_conf.txpower); in iwl_dbgfs_tx_pwr_lmt_read() 209 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_pm_params_read() local [all …]
|
D | sta.h | 435 struct ieee80211_vif *vif; member 490 struct ieee80211_vif *vif, 494 struct ieee80211_vif *vif, in iwl_mvm_update_sta() argument 503 struct ieee80211_vif *vif, 506 struct ieee80211_vif *vif, 509 struct ieee80211_vif *vif, 514 struct ieee80211_vif *vif, 519 struct ieee80211_vif *vif, 530 int iwl_mvm_sta_tx_agg_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, 532 int iwl_mvm_sta_tx_agg_oper(struct iwl_mvm *mvm, struct ieee80211_vif *vif, [all …]
|
/Linux-v5.4/include/net/ |
D | mac80211.h | 268 struct ieee80211_vif *vif; member 1030 struct ieee80211_vif *vif; member 1638 static inline bool ieee80211_vif_is_mesh(struct ieee80211_vif *vif) in ieee80211_vif_is_mesh() argument 1641 return vif->type == NL80211_IFTYPE_MESH_POINT; in ieee80211_vif_is_mesh() 1670 struct wireless_dev *ieee80211_vif_to_wdev(struct ieee80211_vif *vif); 2057 struct ieee80211_vif *vif; member 3768 struct ieee80211_vif *vif); 3770 struct ieee80211_vif *vif, 3773 struct ieee80211_vif *vif); 3776 struct ieee80211_vif *vif, [all …]
|
/Linux-v5.4/drivers/net/wireless/ath/wcn36xx/ |
D | main.c | 180 static inline u8 get_sta_index(struct ieee80211_vif *vif, in get_sta_index() argument 183 return NL80211_IFTYPE_STATION == vif->type ? in get_sta_index() 384 struct ieee80211_vif *vif = NULL; in wcn36xx_config() local 396 vif = wcn36xx_priv_to_vif(tmp); in wcn36xx_config() 397 wcn36xx_smd_switch_channel(wcn, vif, ch); in wcn36xx_config() 403 vif = wcn36xx_priv_to_vif(tmp); in wcn36xx_config() 405 if (vif->bss_conf.ps) /* ps allowed ? */ in wcn36xx_config() 406 wcn36xx_pmc_enter_bmps_state(wcn, vif); in wcn36xx_config() 408 wcn36xx_pmc_exit_bmps_state(wcn, vif); in wcn36xx_config() 425 struct ieee80211_vif *vif = NULL; in wcn36xx_configure_filter() local [all …]
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | p2p.c | 539 struct brcmf_cfg80211_vif *vif; in brcmf_p2p_deinit_discovery() local 544 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_deinit_discovery() 545 (void)brcmf_p2p_set_discover_state(vif->ifp, WL_P2P_DISC_ST_SCAN, 0, 0); in brcmf_p2p_deinit_discovery() 548 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_deinit_discovery() 549 (void)brcmf_fil_iovar_int_set(vif->ifp, "p2p_disc", 0); in brcmf_p2p_deinit_discovery() 564 struct brcmf_cfg80211_vif *vif; in brcmf_p2p_enable_discovery() local 568 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_enable_discovery() 569 if (!vif) { in brcmf_p2p_enable_discovery() 581 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_enable_discovery() 582 ret = brcmf_fil_iovar_int_set(vif->ifp, "p2p_disc", 1); in brcmf_p2p_enable_discovery() [all …]
|