/linux-6.3-rc2/drivers/net/wireless/silabs/wfx/ |
A D | sta.c | 118 while ((wvif = wvif_iterate(wdev, wvif)) != NULL) { in wfx_configure_filter() 233 wfx_hif_set_uapsd_info(wvif, wvif->uapsd_mask); in wfx_conf_tx() 245 while ((wvif = wvif_iterate(wdev, wvif)) != NULL) in wfx_set_rts_threshold() 297 wvif = NULL; in wfx_reset() 298 while ((wvif = wvif_iterate(wdev, wvif)) != NULL) in wfx_reset() 390 while ((wvif = wvif_iterate(wdev, wvif)) != NULL) in wfx_start_ap() 627 if (!wvif) { in wfx_set_tim() 766 wvif = NULL; in wfx_add_interface() 767 while ((wvif = wvif_iterate(wdev, wvif)) != NULL) { in wfx_add_interface() 797 wvif = NULL; in wfx_remove_interface() [all …]
|
A D | scan.c | 55 wfx_tx_lock_flush(wvif->wdev); in send_scan_req() 56 wvif->scan_abort = false; in send_scan_req() 60 wfx_tx_unlock(wvif->wdev); in send_scan_req() 65 wfx_hif_stop_scan(wvif); in send_scan_req() 68 wvif->scan_nb_chan_done); in send_scan_req() 83 wfx_tx_unlock(wvif->wdev); in send_scan_req() 98 mutex_lock(&wvif->scan_lock); in wfx_hw_scan_work() 101 wfx_reset(wvif); in wfx_hw_scan_work() 130 wvif->scan_req = hw_req; in wfx_hw_scan() 139 wvif->scan_abort = true; in wfx_cancel_hw_scan() [all …]
|
A D | hif_tx_mib.c | 23 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_CURRENT_TX_POWER_LEVEL, in wfx_hif_set_output_power() 38 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_BEACON_WAKEUP_PERIOD, in wfx_hif_set_beacon_wakeup_period() 59 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_RCPI_RSSI_THRESHOLD, in wfx_hif_set_rcpi_rssi_threshold() 83 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_DOT11_MAC_ADDRESS, in wfx_hif_set_macaddr() 110 ret = wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_BEACON_FILTER_TABLE, in wfx_hif_set_beacon_filter_table() 122 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_BEACON_FILTER_ENABLE, in wfx_hif_beacon_filter_control() 149 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_TEMPLATE_FRAME, in wfx_hif_set_template_frame() 175 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_BLOCK_ACK_POLICY, in wfx_hif_set_block_ack_policy() 191 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_SET_ASSOCIATION_MODE, in wfx_hif_set_association_mode() 225 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_KEEP_ALIVE_PERIOD, in wfx_hif_keep_alive_period() [all …]
|
A D | hif_tx_mib.h | 20 int wfx_hif_set_output_power(struct wfx_vif *wvif, int val); 21 int wfx_hif_set_beacon_wakeup_period(struct wfx_vif *wvif, 26 int wfx_hif_set_macaddr(struct wfx_vif *wvif, u8 *mac); 28 int wfx_hif_set_beacon_filter_table(struct wfx_vif *wvif, int tbl_len, 34 int wfx_hif_set_mfp(struct wfx_vif *wvif, bool capable, bool required); 39 int wfx_hif_keep_alive_period(struct wfx_vif *wvif, int period); 42 int wfx_hif_set_uapsd_info(struct wfx_vif *wvif, unsigned long val); 43 int wfx_hif_erp_use_protection(struct wfx_vif *wvif, bool enable); 44 int wfx_hif_slot_time(struct wfx_vif *wvif, int val); 45 int wfx_hif_wep_default_key_id(struct wfx_vif *wvif, int val); [all …]
|
A D | data_tx.c | 288 wfx_tx_lock(wvif->wdev); in wfx_tx_get_retry_policy_id() 387 struct wfx_vif *wvif; in wfx_tx() local 401 if (WARN_ON(!wvif)) in wfx_tx() 426 if (!wvif) { in wfx_skb_dtor() 475 struct wfx_vif *wvif; in wfx_tx_confirm_cb() local 487 WARN_ON(!wvif); in wfx_tx_confirm_cb() 488 if (!wvif) in wfx_tx_confirm_cb() 516 wfx_skb_dtor(wvif, skb); in wfx_tx_confirm_cb() 547 struct wfx_vif *wvif; in wfx_flush() local 556 wvif = NULL; in wfx_flush() [all …]
|
A D | queue.c | 86 WARN_ON(!wfx_tx_queue_empty(wvif, &wvif->tx_queue[i])); in wfx_tx_queues_check_empty() 108 wake_up(&wvif->wdev->tx_dequeue); in wfx_tx_queue_drop() 125 struct wfx_vif *wvif; in wfx_pending_drop() local 133 if (wvif) { in wfx_pending_drop() 147 struct wfx_vif *wvif; in wfx_pending_get() local 159 if (wvif) { in wfx_pending_get() 231 struct wfx_vif *wvif; in wfx_tx_queues_get_skb() local 236 wvif = NULL; in wfx_tx_queues_get_skb() 237 while ((wvif = wvif_iterate(wdev, wvif)) != NULL) { in wfx_tx_queues_get_skb() 249 wvif = NULL; in wfx_tx_queues_get_skb() [all …]
|
A D | hif_tx.h | 41 int wfx_hif_start(struct wfx_vif *wvif, const struct ieee80211_bss_conf *conf, 43 int wfx_hif_reset(struct wfx_vif *wvif, bool reset_stat); 44 int wfx_hif_join(struct wfx_vif *wvif, const struct ieee80211_bss_conf *conf, 46 int wfx_hif_map_link(struct wfx_vif *wvif, bool unmap, u8 *mac_addr, int sta_id, bool mfp); 49 int wfx_hif_set_pm(struct wfx_vif *wvif, bool ps, int dynamic_ps_timeout); 50 int wfx_hif_set_bss_params(struct wfx_vif *wvif, int aid, int beacon_lost_count); 51 int wfx_hif_set_edca_queue_params(struct wfx_vif *wvif, u16 queue, 53 int wfx_hif_beacon_transmit(struct wfx_vif *wvif, bool enable); 54 int wfx_hif_update_ie_beacon(struct wfx_vif *wvif, const u8 *ies, size_t ies_len); 55 int wfx_hif_scan(struct wfx_vif *wvif, struct cfg80211_scan_request *req80211, [all …]
|
A D | hif_tx.c | 167 ret = wfx_cmd_send(wvif->wdev, hif, NULL, 0, false); in wfx_hif_reset() 262 ret = wfx_cmd_send(wvif->wdev, hif, NULL, 0, false); in wfx_hif_scan() 267 int wfx_hif_stop_scan(struct wfx_vif *wvif) in wfx_hif_stop_scan() argument 277 ret = wfx_cmd_send(wvif->wdev, hif, NULL, 0, false); in wfx_hif_stop_scan() 309 ret = wfx_cmd_send(wvif->wdev, hif, NULL, 0, false); in wfx_hif_join() 325 ret = wfx_cmd_send(wvif->wdev, hif, NULL, 0, false); in wfx_hif_set_bss_params() 390 ret = wfx_cmd_send(wvif->wdev, hif, NULL, 0, false); in wfx_hif_set_edca_queue_params() 414 ret = wfx_cmd_send(wvif->wdev, hif, NULL, 0, false); in wfx_hif_set_pm() 439 ret = wfx_cmd_send(wvif->wdev, hif, NULL, 0, false); in wfx_hif_start() 454 ret = wfx_cmd_send(wvif->wdev, hif, NULL, 0, false); in wfx_hif_beacon_transmit() [all …]
|
A D | hif_rx.c | 103 if (!wvif) { in wfx_hif_receive_indication() 108 wfx_rx_cb(wvif, body, skb); in wfx_hif_receive_indication() 120 if (!wvif) { in wfx_hif_event_indication() 133 cancel_delayed_work(&wvif->beacon_loss_work); in wfx_hif_event_indication() 152 if (!wvif) { in wfx_hif_pm_mode_complete_indication() 156 complete(&wvif->set_pm_mode_complete); in wfx_hif_pm_mode_complete_indication() 167 if (!wvif) { in wfx_hif_scan_complete_indication() 182 if (!wvif) { in wfx_hif_join_complete_indication() 195 struct wfx_vif *wvif; in wfx_hif_suspend_resume_indication() local 198 wvif = wdev_to_wvif(wdev, hif->interface); in wfx_hif_suspend_resume_indication() [all …]
|
A D | data_rx.c | 16 static void wfx_rx_handle_ba(struct wfx_vif *wvif, struct ieee80211_mgmt *mgmt) in wfx_rx_handle_ba() argument 18 struct ieee80211_vif *vif = wvif_to_vif(wvif); in wfx_rx_handle_ba() 21 if (wfx_api_older_than(wvif->wdev, 3, 6)) in wfx_rx_handle_ba() 38 void wfx_rx_cb(struct wfx_vif *wvif, const struct wfx_hif_ind_rx *arg, struct sk_buff *skb) in wfx_rx_cb() argument 52 dev_warn(wvif->wdev->dev, "malformed SDU received\n"); in wfx_rx_cb() 70 dev_info(wvif->wdev->dev, "received frame without RSSI data\n"); in wfx_rx_cb() 84 wfx_rx_handle_ba(wvif, mgmt); in wfx_rx_cb() 88 ieee80211_rx_irqsafe(wvif->wdev->hw, skb); in wfx_rx_cb()
|
A D | queue.h | 29 void wfx_tx_queues_init(struct wfx_vif *wvif); 30 void wfx_tx_queues_check_empty(struct wfx_vif *wvif); 31 bool wfx_tx_queues_has_cab(struct wfx_vif *wvif); 32 void wfx_tx_queues_put(struct wfx_vif *wvif, struct sk_buff *skb); 35 bool wfx_tx_queue_empty(struct wfx_vif *wvif, struct wfx_queue *queue); 36 void wfx_tx_queue_drop(struct wfx_vif *wvif, struct wfx_queue *queue,
|
A D | key.c | 156 struct wfx_dev *wdev = wvif->wdev; in wfx_add_key() 157 int idx = wfx_alloc_key(wvif->wdev); in wfx_add_key() 159 struct ieee80211_vif *vif = wvif_to_vif(wvif); in wfx_add_key() 165 k.int_id = wvif->id; in wfx_add_key() 210 wfx_free_key(wvif->wdev, key->hw_key_idx); in wfx_remove_key() 211 return wfx_hif_remove_key(wvif->wdev, key->hw_key_idx); in wfx_remove_key() 218 struct wfx_vif *wvif = (struct wfx_vif *)vif->drv_priv; in wfx_set_key() local 220 mutex_lock(&wvif->wdev->conf_mutex); in wfx_set_key() 222 ret = wfx_add_key(wvif, sta, key); in wfx_set_key() 224 ret = wfx_remove_key(wvif, key); in wfx_set_key() [all …]
|
A D | wfx.h | 94 static inline struct ieee80211_vif *wvif_to_vif(struct wfx_vif *wvif) in wvif_to_vif() argument 96 return container_of((void *)wvif, struct ieee80211_vif, drv_priv); in wvif_to_vif() 133 struct wfx_vif *wvif; in wvif_count() local 136 wvif = wdev_to_wvif(wdev, i); in wvif_count() 137 if (wvif) in wvif_count()
|
A D | sta.h | 63 void wfx_suspend_resume_mc(struct wfx_vif *wvif, enum sta_notify_cmd cmd); 64 void wfx_event_report_rssi(struct wfx_vif *wvif, u8 raw_rcpi_rssi); 65 int wfx_update_pm(struct wfx_vif *wvif); 68 void wfx_reset(struct wfx_vif *wvif);
|
A D | traces.h | 449 struct wfx_vif *wvif; 459 wvif = NULL; 460 while ((wvif = wvif_iterate(wdev, wvif)) != NULL) { 462 j = wvif->id * IEEE80211_NUM_ACS + i; 464 queue = &wvif->tx_queue[i]; 469 __entry->vif_id = wvif->id;
|
A D | data_rx.h | 15 void wfx_rx_cb(struct wfx_vif *wvif, const struct wfx_hif_ind_rx *arg, struct sk_buff *skb);
|
A D | scan.h | 20 void wfx_scan_complete(struct wfx_vif *wvif, int nb_chan_done);
|
A D | data_tx.h | 41 void wfx_tx_policy_init(struct wfx_vif *wvif);
|